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

Side by Side Diff: ui/aura/desktop.h

Issue 8555025: aura: Draw drop shadows under browsers and menus. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor changes 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
« no previous file with comments | « ui/aura/client/shadow_types.h ('k') | ui/aura/desktop.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) 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_DESKTOP_H_ 5 #ifndef UI_AURA_DESKTOP_H_
6 #define UI_AURA_DESKTOP_H_ 6 #define UI_AURA_DESKTOP_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 // Activates the topmost window. Does nothing if the topmost window is already 103 // Activates the topmost window. Does nothing if the topmost window is already
104 // active. 104 // active.
105 void ActivateTopmostWindow(); 105 void ActivateTopmostWindow();
106 106
107 // Deactivates |window| and activates the topmost window. Does nothing if 107 // Deactivates |window| and activates the topmost window. Does nothing if
108 // |window| is not a topmost window, or there are no other suitable windows to 108 // |window| is not a topmost window, or there are no other suitable windows to
109 // activate. 109 // activate.
110 void Deactivate(Window* window); 110 void Deactivate(Window* window);
111 111
112 // Invoked when |window| is initialized.
113 void WindowInitialized(Window* window);
114
112 // Invoked when |window| is being destroyed. 115 // Invoked when |window| is being destroyed.
113 void WindowDestroying(Window* window); 116 void WindowDestroying(Window* window);
114 117
115 // Returns the desktop's dispatcher. The result should only be passed to 118 // Returns the desktop's dispatcher. The result should only be passed to
116 // MessageLoopForUI::RunWithDispatcher() or 119 // MessageLoopForUI::RunWithDispatcher() or
117 // MessageLoopForUI::RunAllPendingWithDispatcher(), or used to dispatch 120 // MessageLoopForUI::RunAllPendingWithDispatcher(), or used to dispatch
118 // an event by |Dispatch(const NativeEvent&)| on it. It must never be stored. 121 // an event by |Dispatch(const NativeEvent&)| on it. It must never be stored.
119 MessageLoop::Dispatcher* GetDispatcher(); 122 MessageLoop::Dispatcher* GetDispatcher();
120 123
121 // Add/remove observer. 124 // Add/remove observer.
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 Window* mouse_moved_handler_; 223 Window* mouse_moved_handler_;
221 Window* focused_window_; 224 Window* focused_window_;
222 Window* touch_event_handler_; 225 Window* touch_event_handler_;
223 226
224 DISALLOW_COPY_AND_ASSIGN(Desktop); 227 DISALLOW_COPY_AND_ASSIGN(Desktop);
225 }; 228 };
226 229
227 } // namespace aura 230 } // namespace aura
228 231
229 #endif // UI_AURA_DESKTOP_H_ 232 #endif // UI_AURA_DESKTOP_H_
OLDNEW
« no previous file with comments | « ui/aura/client/shadow_types.h ('k') | ui/aura/desktop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698