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

Side by Side Diff: ui/aura/test/test_windows.h

Issue 11421006: Desktop aura: Break aura::Window::SetParent in two. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-add parent finding thing to web_contents_view_aura.cc. I guess it was necessary after all? Created 8 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) 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_TEST_TEST_WINDOWS_H_ 5 #ifndef UI_AURA_TEST_TEST_WINDOWS_H_
6 #define UI_AURA_TEST_TEST_WINDOWS_H_ 6 #define UI_AURA_TEST_TEST_WINDOWS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 15 matching lines...) Expand all
26 int id, 26 int id,
27 const gfx::Rect& bounds, 27 const gfx::Rect& bounds,
28 Window* parent); 28 Window* parent);
29 Window* CreateTestWindowWithDelegateAndType(WindowDelegate* delegate, 29 Window* CreateTestWindowWithDelegateAndType(WindowDelegate* delegate,
30 client::WindowType type, 30 client::WindowType type,
31 int id, 31 int id,
32 const gfx::Rect& bounds, 32 const gfx::Rect& bounds,
33 Window* parent); 33 Window* parent);
34 34
35 // Creates a transient child window of |parent|. 35 // Creates a transient child window of |parent|.
36 Window* CreateTransientChild(int id, Window* parent); 36 Window* CreateTransientChild(int id, Window* parent, RootWindow* context);
37 37
38 // Returns true if |upper| is above |lower| in the window stacking order. 38 // Returns true if |upper| is above |lower| in the window stacking order.
39 bool WindowIsAbove(Window* upper, Window* lower); 39 bool WindowIsAbove(Window* upper, Window* lower);
40 40
41 // Returns true if |upper|'s layer is above |lower|'s layer in the layer 41 // Returns true if |upper|'s layer is above |lower|'s layer in the layer
42 // stacking order. 42 // stacking order.
43 bool LayerIsAbove(Window* upper, Window* lower); 43 bool LayerIsAbove(Window* upper, Window* lower);
44 44
45 // Returns a string containing the id of each of the child windows (bottommost 45 // Returns a string containing the id of each of the child windows (bottommost
46 // first) of |parent|. The format of the string is "id1 id2 id...". 46 // first) of |parent|. The format of the string is "id1 id2 id...".
47 std::string ChildWindowIDsAsString(aura::Window* parent); 47 std::string ChildWindowIDsAsString(aura::Window* parent);
48 48
49 } // namespace test 49 } // namespace test
50 } // namespace aura 50 } // namespace aura
51 51
52 #endif // UI_AURA_TEST_TEST_WINDOWS_H_ 52 #endif // UI_AURA_TEST_TEST_WINDOWS_H_
OLDNEW
« no previous file with comments | « ui/aura/test/aura_test_base.cc ('k') | ui/aura/test/test_windows.cc » ('j') | ui/aura/window.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698