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

Unified Diff: ash/root_window_controller.h

Issue 149493008: Use active window if on current workspace for fullscreen mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update fullscreen state tracking in workspace and only consider switchable containers for active no… Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/root_window_controller.cc » ('j') | ash/shelf/shelf_layout_manager_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/root_window_controller.h
diff --git a/ash/root_window_controller.h b/ash/root_window_controller.h
index aa1ec2bc5a0b27692a69123bb258557a64f8a465..5e017aca2fdfbc9df4c9efa21afceec59432061a 100644
--- a/ash/root_window_controller.h
+++ b/ash/root_window_controller.h
@@ -110,7 +110,12 @@ class ASH_EXPORT RootWindowController : public ShellObserver {
virtual ~RootWindowController();
aura::Window* root_window() { return dispatcher()->window(); }
+ const aura::Window* root_window() const { return dispatcher()->window(); }
+
aura::WindowEventDispatcher* dispatcher() { return root_window_.get(); }
+ const aura::WindowEventDispatcher* dispatcher() const {
+ return root_window_.get();
+ }
RootWindowLayoutManager* root_window_layout() { return root_window_layout_; }
« no previous file with comments | « no previous file | ash/root_window_controller.cc » ('j') | ash/shelf/shelf_layout_manager_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698