From bf9cdb36cc79becab099c9f37eb80284fb203f45 Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Fri, 25 Oct 2013 19:22:45 +0000 Subject: Make GetRootWindow() return a Window instead of a RootWindow. Also adds a typedef from RootWindow to WindowEventDispatcher, the eventual name of this type. Adds a GetDispatcher() method that crawls up to the root Window and returns the WindowEventDispatcher. R=sky@chromium.org http://crbug.com/308843 Review URL: https://codereview.chromium.org/37733003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231077 0039d316-1c4b-4281-b951-d872f2087c98 --- ash/accelerators/accelerator_controller.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ash/accelerators/accelerator_controller.cc') diff --git a/ash/accelerators/accelerator_controller.cc b/ash/accelerators/accelerator_controller.cc index 4cc30ed..052baaa 100644 --- a/ash/accelerators/accelerator_controller.cc +++ b/ash/accelerators/accelerator_controller.cc @@ -284,7 +284,7 @@ bool HandleRotateScreen() { } bool HandleToggleRootWindowFullScreen() { - Shell::GetPrimaryRootWindow()->ToggleFullScreen(); + Shell::GetPrimaryRootWindow()->GetDispatcher()->ToggleFullScreen(); return true; } -- cgit v1.1