From ab0a50979b9eb4dfa3320eff7e187e41efedf7a9 Mon Sep 17 00:00:00 2001 From: Jocelyn Turcotte Date: Fri, 8 Aug 2014 14:30:41 +0200 Subject: Update Chromium to beta version 37.0.2062.68 Change-Id: I188e3b5aff1bec75566014291b654eb19f5bc8ca Reviewed-by: Andras Becsi --- chromium/ui/views/corewm/shadow_controller.h | 71 ---------------------------- 1 file changed, 71 deletions(-) delete mode 100644 chromium/ui/views/corewm/shadow_controller.h (limited to 'chromium/ui/views/corewm/shadow_controller.h') diff --git a/chromium/ui/views/corewm/shadow_controller.h b/chromium/ui/views/corewm/shadow_controller.h deleted file mode 100644 index 2a7e29c88e5..00000000000 --- a/chromium/ui/views/corewm/shadow_controller.h +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef UI_VIEWS_COREWM_SHADOW_CONTROLLER_H_ -#define UI_VIEWS_COREWM_SHADOW_CONTROLLER_H_ - -#include - -#include "base/basictypes.h" -#include "base/compiler_specific.h" -#include "base/memory/ref_counted.h" -#include "ui/aura/client/activation_change_observer.h" -#include "ui/views/views_export.h" - -namespace aura { -class Window; -namespace client { -class ActivationClient; -} -} -namespace gfx { -class Rect; -} - -namespace views { -namespace corewm { - -class Shadow; - -// ShadowController observes changes to windows and creates and updates drop -// shadows as needed. ShadowController itself is light weight and per -// ActivationClient. ShadowController delegates to its implementation class, -// which observes all window creation. -class VIEWS_EXPORT ShadowController : - public aura::client::ActivationChangeObserver { - public: - class VIEWS_EXPORT TestApi { - public: - explicit TestApi(ShadowController* controller) : controller_(controller) {} - ~TestApi() {} - - Shadow* GetShadowForWindow(aura::Window* window); - - private: - ShadowController* controller_; // not owned - - DISALLOW_COPY_AND_ASSIGN(TestApi); - }; - - explicit ShadowController(aura::client::ActivationClient* activation_client); - virtual ~ShadowController(); - - // aura::client::ActivationChangeObserver overrides: - virtual void OnWindowActivated(aura::Window* gained_active, - aura::Window* lost_active) OVERRIDE; - - private: - class Impl; - - aura::client::ActivationClient* activation_client_; - - scoped_refptr impl_; - - DISALLOW_COPY_AND_ASSIGN(ShadowController); -}; - -} // namespace corewm -} // namespace views - -#endif // UI_VIEWS_COREWM_SHADOW_CONTROLLER_H_ -- cgit v1.2.3