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

Side by Side Diff: ui/aura_shell/desktop_layout_manager.h

Issue 8400063: Move maximize/fullscreen/restore to shell (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove OVERRIDE from .cc Created 9 years, 1 month 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 UI_AURA_SHELL_DESKTOP_LAYOUT_MANAGER_H_ 5 #ifndef UI_AURA_SHELL_DESKTOP_LAYOUT_MANAGER_H_
6 #define UI_AURA_SHELL_DESKTOP_LAYOUT_MANAGER_H_ 6 #define UI_AURA_SHELL_DESKTOP_LAYOUT_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 30 matching lines...) Expand all
41 void set_status_area_widget(views::Widget* status_area_widget) { 41 void set_status_area_widget(views::Widget* status_area_widget) {
42 status_area_widget_ = status_area_widget; 42 status_area_widget_ = status_area_widget;
43 } 43 }
44 44
45 // Overridden from aura::LayoutManager: 45 // Overridden from aura::LayoutManager:
46 virtual void OnWindowResized() OVERRIDE; 46 virtual void OnWindowResized() OVERRIDE;
47 virtual void OnWindowAdded(aura::Window* child) OVERRIDE; 47 virtual void OnWindowAdded(aura::Window* child) OVERRIDE;
48 virtual void OnWillRemoveWindow(aura::Window* child) OVERRIDE; 48 virtual void OnWillRemoveWindow(aura::Window* child) OVERRIDE;
49 virtual void OnChildWindowVisibilityChanged(aura::Window* child, 49 virtual void OnChildWindowVisibilityChanged(aura::Window* child,
50 bool visibile) OVERRIDE; 50 bool visibile) OVERRIDE;
51 virtual void CalculateBoundsForChild(aura::Window* child, 51 virtual void SetChildBounds(aura::Window* child,
52 gfx::Rect* requested_bounds) OVERRIDE; 52 const gfx::Rect& requested_bounds) OVERRIDE;
53 53
54 private: 54 private:
55 aura::Window* owner_; 55 aura::Window* owner_;
56 56
57 views::Widget* background_widget_; 57 views::Widget* background_widget_;
58 views::Widget* launcher_widget_; 58 views::Widget* launcher_widget_;
59 views::Widget* status_area_widget_; 59 views::Widget* status_area_widget_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(DesktopLayoutManager); 61 DISALLOW_COPY_AND_ASSIGN(DesktopLayoutManager);
62 }; 62 };
63 63
64 } // namespace internal 64 } // namespace internal
65 } // namespace aura_shell 65 } // namespace aura_shell
66 66
67 #endif // UI_AURA_SHELL_DESKTOP_LAYOUT_MANAGER_H_ 67 #endif // UI_AURA_SHELL_DESKTOP_LAYOUT_MANAGER_H_
OLDNEW
« no previous file with comments | « ui/aura_shell/default_container_layout_manager_unittest.cc ('k') | ui/aura_shell/desktop_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698