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

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

Issue 8555025: aura: Draw drop shadows under browsers and menus. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 25 matching lines...) Expand all
36 36
37 void set_background_widget(views::Widget* background_widget) { 37 void set_background_widget(views::Widget* background_widget) {
38 background_widget_ = background_widget; 38 background_widget_ = background_widget;
39 } 39 }
40 40
41 // Overridden from aura::LayoutManager: 41 // Overridden from aura::LayoutManager:
42 virtual void OnWindowResized() OVERRIDE; 42 virtual void OnWindowResized() OVERRIDE;
43 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE; 43 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE;
44 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE; 44 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE;
45 virtual void OnChildWindowVisibilityChanged(aura::Window* child, 45 virtual void OnChildWindowVisibilityChanged(aura::Window* child,
46 bool visibile) OVERRIDE; 46 bool visible) OVERRIDE;
47 virtual void SetChildBounds(aura::Window* child, 47 virtual void SetChildBounds(aura::Window* child,
48 const gfx::Rect& requested_bounds) OVERRIDE; 48 const gfx::Rect& requested_bounds) OVERRIDE;
49 49
50 private: 50 private:
51 aura::Window* owner_; 51 aura::Window* owner_;
52 52
53 views::Widget* background_widget_; 53 views::Widget* background_widget_;
54 54
55 ShelfLayoutController* shelf_; 55 ShelfLayoutController* shelf_;
56 56
57 DISALLOW_COPY_AND_ASSIGN(DesktopLayoutManager); 57 DISALLOW_COPY_AND_ASSIGN(DesktopLayoutManager);
58 }; 58 };
59 59
60 } // namespace internal 60 } // namespace internal
61 } // namespace aura_shell 61 } // namespace aura_shell
62 62
63 #endif // UI_AURA_SHELL_DESKTOP_LAYOUT_MANAGER_H_ 63 #endif // UI_AURA_SHELL_DESKTOP_LAYOUT_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698