Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(806)

Side by Side Diff: ash/root_window_controller.h

Issue 11117012: ash: Fix event processing in modal windows in login/lock screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ash/root_window_controller.cc » ('j') | ash/root_window_controller.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_ROOT_WINDOW_CONTROLLER_H_ 5 #ifndef ASH_ROOT_WINDOW_CONTROLLER_H_
6 #define ASH_ROOT_WINDOW_CONTROLLER_H_ 6 #define ASH_ROOT_WINDOW_CONTROLLER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 } 50 }
51 51
52 WorkspaceController* workspace_controller() { 52 WorkspaceController* workspace_controller() {
53 return workspace_controller_.get(); 53 return workspace_controller_.get();
54 } 54 }
55 55
56 ScreenDimmer* screen_dimmer() { 56 ScreenDimmer* screen_dimmer() {
57 return screen_dimmer_.get(); 57 return screen_dimmer_.get();
58 } 58 }
59 59
60 SystemModalContainerLayoutManager* GetSystemModalLayoutManager(); 60 // Returns the layout-manager for the appropriate modal-container. If the
61 // window is inside the lockscreen modal container, then the layout manager
62 // for that is returned. Otherwise the layout manager for the default modal
63 // container is returned.
64 // If no window is specified (i.e. |window| is NULL), then the lockscreen
65 // modal container is used if the screen is currently locked. Otherwise, the
66 // default modal container is used.
67 SystemModalContainerLayoutManager* GetSystemModalLayoutManager(
68 aura::Window* window);
61 69
62 aura::Window* GetContainer(int container_id); 70 aura::Window* GetContainer(int container_id);
63 71
64 void InitLayoutManagers(); 72 void InitLayoutManagers();
65 void CreateContainers(); 73 void CreateContainers();
66 74
67 // Initializes |background_|. |is_first_run_after_boot| determines the 75 // Initializes |background_|. |is_first_run_after_boot| determines the
68 // background's initial color. 76 // background's initial color.
69 void CreateSystemBackground(bool is_first_run_after_boot); 77 void CreateSystemBackground(bool is_first_run_after_boot);
70 78
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 scoped_ptr<ToplevelWindowEventHandler> modal_container_handler_; 117 scoped_ptr<ToplevelWindowEventHandler> modal_container_handler_;
110 scoped_ptr<ToplevelWindowEventHandler> lock_modal_container_handler_; 118 scoped_ptr<ToplevelWindowEventHandler> lock_modal_container_handler_;
111 119
112 DISALLOW_COPY_AND_ASSIGN(RootWindowController); 120 DISALLOW_COPY_AND_ASSIGN(RootWindowController);
113 }; 121 };
114 122
115 } // namespace internal 123 } // namespace internal
116 } // ash 124 } // ash
117 125
118 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ 126 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | ash/root_window_controller.cc » ('j') | ash/root_window_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698