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

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

Issue 8895003: Aura: Add --aura-laptop-mode to fill the workspace with a single window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, fix unit test build Created 9 years 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_ROOT_WINDOW_LAYOUT_MANAGER_H_ 5 #ifndef UI_AURA_SHELL_ROOT_WINDOW_LAYOUT_MANAGER_H_
6 #define UI_AURA_SHELL_ROOT_WINDOW_LAYOUT_MANAGER_H_ 6 #define UI_AURA_SHELL_ROOT_WINDOW_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 28 matching lines...) Expand all
39 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE; 39 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE;
40 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE; 40 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE;
41 virtual void OnChildWindowVisibilityChanged(aura::Window* child, 41 virtual void OnChildWindowVisibilityChanged(aura::Window* child,
42 bool visible) OVERRIDE; 42 bool visible) OVERRIDE;
43 virtual void SetChildBounds(aura::Window* child, 43 virtual void SetChildBounds(aura::Window* child,
44 const gfx::Rect& requested_bounds) OVERRIDE; 44 const gfx::Rect& requested_bounds) OVERRIDE;
45 45
46 private: 46 private:
47 aura::Window* owner_; 47 aura::Window* owner_;
48 48
49 // May be NULL if we're not painting a background.
49 views::Widget* background_widget_; 50 views::Widget* background_widget_;
50 51
51 DISALLOW_COPY_AND_ASSIGN(RootWindowLayoutManager); 52 DISALLOW_COPY_AND_ASSIGN(RootWindowLayoutManager);
52 }; 53 };
53 54
54 } // namespace internal 55 } // namespace internal
55 } // namespace aura_shell 56 } // namespace aura_shell
56 57
57 #endif // UI_AURA_SHELL_ROOT_WINDOW_LAYOUT_MANAGER_H_ 58 #endif // UI_AURA_SHELL_ROOT_WINDOW_LAYOUT_MANAGER_H_
OLDNEW
« no previous file with comments | « ui/aura_shell/laptop_mode_layout_manager.cc ('k') | ui/aura_shell/root_window_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698