diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-09 04:18:26 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-09 04:18:26 +0000 |
commit | 41baaed86e5d839be5ae6f2dcaf579cf50f52b76 (patch) | |
tree | a4c315f0722aebe5a6835cc0b704c8e10779428a /ash/high_contrast | |
parent | a6aef3040058ef7c87746f6fd39f1a37c52b94c6 (diff) | |
download | chromium_src-41baaed86e5d839be5ae6f2dcaf579cf50f52b76.zip chromium_src-41baaed86e5d839be5ae6f2dcaf579cf50f52b76.tar.gz chromium_src-41baaed86e5d839be5ae6f2dcaf579cf50f52b76.tar.bz2 |
Remove some uses of RootWindow in Ash.
Adds a window() accessor to RootWindow. This is redundant now but necessary for when RootWindow is no longer a RootWindow. A subsequent CL will sever that relationship.
R=sky@chromium.org
http://crbug.com/308843
Review URL: https://codereview.chromium.org/67083004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234082 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/high_contrast')
-rw-r--r-- | ash/high_contrast/high_contrast_controller.cc | 2 | ||||
-rw-r--r-- | ash/high_contrast/high_contrast_controller.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ash/high_contrast/high_contrast_controller.cc b/ash/high_contrast/high_contrast_controller.cc index 72fe036..487c41b 100644 --- a/ash/high_contrast/high_contrast_controller.cc +++ b/ash/high_contrast/high_contrast_controller.cc @@ -25,7 +25,7 @@ void HighContrastController::SetEnabled(bool enabled) { } } -void HighContrastController::OnRootWindowAdded(aura::RootWindow* root_window) { +void HighContrastController::OnRootWindowAdded(aura::Window* root_window) { UpdateDisplay(root_window); } diff --git a/ash/high_contrast/high_contrast_controller.h b/ash/high_contrast/high_contrast_controller.h index e42e46c..49aca61 100644 --- a/ash/high_contrast/high_contrast_controller.h +++ b/ash/high_contrast/high_contrast_controller.h @@ -25,7 +25,7 @@ class ASH_EXPORT HighContrastController { void SetEnabled(bool enabled); // Update high contrast mode on the just added display. - void OnRootWindowAdded(aura::RootWindow* root_window); + void OnRootWindowAdded(aura::Window* root_window); private: // Update high contrast mode on the passed display. |