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

Unified Diff: ash/wm/workspace/workspace_layout_manager.h

Issue 9764008: Makes the launcher auto-hide for maximized windows. This turned out to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add null checks and cleanup Created 8 years, 9 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
Index: ash/wm/workspace/workspace_layout_manager.h
diff --git a/ash/wm/workspace/workspace_layout_manager.h b/ash/wm/workspace/workspace_layout_manager.h
index b1ddf94ee2b8f3e0dc80be7efdc85d10db001c8b..f1b8309d3ed571e9030b45e9180eac75c890444c 100644
--- a/ash/wm/workspace/workspace_layout_manager.h
+++ b/ash/wm/workspace/workspace_layout_manager.h
@@ -11,6 +11,7 @@
#include "base/compiler_specific.h"
#include "ui/aura/layout_manager.h"
#include "ui/aura/window_observer.h"
+#include "ui/base/ui_base_types.h"
namespace aura {
class MouseEvent;
@@ -47,7 +48,6 @@ class ASH_EXPORT WorkspaceLayoutManager : public BaseLayoutManager {
bool visibile) OVERRIDE;
virtual void SetChildBounds(aura::Window* child,
const gfx::Rect& requested_bounds) OVERRIDE;
- virtual void OnRootWindowResized(const gfx::Size& new_size) OVERRIDE;
virtual void OnMonitorWorkAreaInsetsChanged() OVERRIDE;
// Overriden from aura::WindowObserver:
@@ -56,6 +56,10 @@ class ASH_EXPORT WorkspaceLayoutManager : public BaseLayoutManager {
intptr_t old) OVERRIDE;
private:
+ void ShowStateChanged(
+ aura::Window* window,
+ ui::WindowShowState last_show_state);
+
// Owned by WorkspaceController.
WorkspaceManager* workspace_manager_;

Powered by Google App Engine
This is Rietveld 408576698