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

Side by Side Diff: ui/aura/client/stacking_client.h

Issue 11829040: Fix the content_browsertests everywhere maybe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to ToT Created 7 years, 11 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 | « content/shell/shell_stacking_client_ash.cc ('k') | ui/aura/client/stacking_client.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 UI_AURA_CLIENT_STACKING_CLIENT_H_ 5 #ifndef UI_AURA_CLIENT_STACKING_CLIENT_H_
6 #define UI_AURA_CLIENT_STACKING_CLIENT_H_ 6 #define UI_AURA_CLIENT_STACKING_CLIENT_H_
7 7
8 #include "ui/aura/aura_export.h" 8 #include "ui/aura/aura_export.h"
9 9
10 namespace gfx { 10 namespace gfx {
(...skipping 17 matching lines...) Expand all
28 // immediately added. 28 // immediately added.
29 // 29 //
30 // TODO(erg): Remove |context|, and maybe after oshima's patch lands, 30 // TODO(erg): Remove |context|, and maybe after oshima's patch lands,
31 // |bounds|. 31 // |bounds|.
32 virtual Window* GetDefaultParent( 32 virtual Window* GetDefaultParent(
33 Window* context, 33 Window* context,
34 Window* window, 34 Window* window,
35 const gfx::Rect& bounds) = 0; 35 const gfx::Rect& bounds) = 0;
36 }; 36 };
37 37
38 // Set/Get the default stacking client.
39 AURA_EXPORT void SetStackingClient(StackingClient* stacking_client);
40 StackingClient* GetStackingClient();
41
42 // Set/Get a stacking client for a specific window. Setting the stacking client 38 // Set/Get a stacking client for a specific window. Setting the stacking client
43 // sets the stacking client on the window's RootWindow, not the window itself. 39 // sets the stacking client on the window's RootWindow, not the window itself.
44 // Likewise getting obtains it from the window's RootWindow. If |window| is 40 // Likewise getting obtains it from the window's RootWindow. If |window| is
45 // non-NULL it must be in a RootWindow. If |window| is NULL, the default 41 // non-NULL it must be in a RootWindow. If |window| is NULL, the default
46 // stacking client is used. 42 // stacking client is used.
47 AURA_EXPORT void SetStackingClient(Window* window, 43 AURA_EXPORT void SetStackingClient(Window* window,
48 StackingClient* stacking_client); 44 StackingClient* stacking_client);
49 StackingClient* GetStackingClient(Window* window); 45 StackingClient* GetStackingClient(Window* window);
50 46
51 } // namespace client 47 } // namespace client
52 } // namespace aura 48 } // namespace aura
53 49
54 #endif // UI_AURA_CLIENT_STACKING_CLIENT_H_ 50 #endif // UI_AURA_CLIENT_STACKING_CLIENT_H_
OLDNEW
« no previous file with comments | « content/shell/shell_stacking_client_ash.cc ('k') | ui/aura/client/stacking_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698