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

Side by Side Diff: ash/wm/workspace/workspace_layout_manager.h

Issue 9784010: Fixes bug where maximized window wasn't getting resized when toggling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/wm/shelf_layout_manager_unittest.cc ('k') | ash/wm/workspace/workspace_layout_manager.cc » ('j') | no next file with comments »
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_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ 5 #ifndef ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_
6 #define ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ 6 #define ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ash/wm/base_layout_manager.h" 9 #include "ash/wm/base_layout_manager.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 30 matching lines...) Expand all
41 } 41 }
42 42
43 // Overridden from BaseLayoutManager: 43 // Overridden from BaseLayoutManager:
44 virtual void OnWindowResized() OVERRIDE; 44 virtual void OnWindowResized() OVERRIDE;
45 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE; 45 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE;
46 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE; 46 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE;
47 virtual void OnChildWindowVisibilityChanged(aura::Window* child, 47 virtual void OnChildWindowVisibilityChanged(aura::Window* child,
48 bool visibile) OVERRIDE; 48 bool visibile) OVERRIDE;
49 virtual void SetChildBounds(aura::Window* child, 49 virtual void SetChildBounds(aura::Window* child,
50 const gfx::Rect& requested_bounds) OVERRIDE; 50 const gfx::Rect& requested_bounds) OVERRIDE;
51 virtual void OnMonitorWorkAreaInsetsChanged() OVERRIDE;
52 51
53 // Overriden from aura::WindowObserver: 52 // Overriden from aura::WindowObserver:
54 virtual void OnWindowPropertyChanged(aura::Window* window, 53 virtual void OnWindowPropertyChanged(aura::Window* window,
55 const void* key, 54 const void* key,
56 intptr_t old) OVERRIDE; 55 intptr_t old) OVERRIDE;
57 56
58 private: 57 private:
59 void ShowStateChanged( 58 void ShowStateChanged(
60 aura::Window* window, 59 aura::Window* window,
61 ui::WindowShowState last_show_state); 60 ui::WindowShowState last_show_state);
62 61
63 // Owned by WorkspaceController. 62 // Owned by WorkspaceController.
64 WorkspaceManager* workspace_manager_; 63 WorkspaceManager* workspace_manager_;
65 64
66 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager); 65 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager);
67 }; 66 };
68 67
69 } // namespace internal 68 } // namespace internal
70 } // namespace ash 69 } // namespace ash
71 70
72 #endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ 71 #endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/wm/shelf_layout_manager_unittest.cc ('k') | ash/wm/workspace/workspace_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698