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

Unified Diff: ash/wm/base_layout_manager.h

Issue 9515003: Fix the full screen switching browser window dipping below launcher bar issue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/wm/base_layout_manager.cc » ('j') | ash/wm/shelf_layout_manager.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/base_layout_manager.h
diff --git a/ash/wm/base_layout_manager.h b/ash/wm/base_layout_manager.h
index 624874bdc62108377274aaea4060c59112cee241..69b80adabaed27150ec56327b2c9ab46368a84d2 100644
--- a/ash/wm/base_layout_manager.h
+++ b/ash/wm/base_layout_manager.h
@@ -50,6 +50,9 @@ class ASH_EXPORT BaseLayoutManager : public aura::LayoutManager,
// RootWindowObserver overrides:
virtual void OnRootWindowResized(const gfx::Size& new_size) OVERRIDE;
+ // RootWindowObserver overrides:
+ virtual void OnScreenWorkAreaInsetsChanged() OVERRIDE;
+
// WindowObserver overrides:
virtual void OnWindowPropertyChanged(aura::Window* window,
const void* key,
@@ -59,6 +62,10 @@ class ASH_EXPORT BaseLayoutManager : public aura::LayoutManager,
// Update window bounds based on a change in show state.
void UpdateBoundsFromShowState(aura::Window* window);
+ // Adjusts the window sizes when the screen changes its size or its
+ // work_area_insets_.
+ void AdjustWindowSizesForScreenChange();
+
// Set of windows we're listening to.
WindowSet windows_;
« no previous file with comments | « no previous file | ash/wm/base_layout_manager.cc » ('j') | ash/wm/shelf_layout_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698