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

Side by Side Diff: ash/test/ash_test_base.h

Issue 36473003: Rename StackingClient -> WindowTreeClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: done. Created 7 years, 2 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 | « ash/shell_unittest.cc ('k') | ash/test/ash_test_base.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 ASH_TEST_ASH_TEST_BASE_H_ 5 #ifndef ASH_TEST_ASH_TEST_BASE_H_
6 #define ASH_TEST_ASH_TEST_BASE_H_ 6 #define ASH_TEST_ASH_TEST_BASE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 aura::WindowDelegate* delegate, 80 aura::WindowDelegate* delegate,
81 int id, 81 int id,
82 const gfx::Rect& bounds); 82 const gfx::Rect& bounds);
83 aura::Window* CreateTestWindowInShellWithDelegateAndType( 83 aura::Window* CreateTestWindowInShellWithDelegateAndType(
84 aura::WindowDelegate* delegate, 84 aura::WindowDelegate* delegate,
85 aura::client::WindowType type, 85 aura::client::WindowType type,
86 int id, 86 int id,
87 const gfx::Rect& bounds); 87 const gfx::Rect& bounds);
88 88
89 // Attach |window| to the current shell's root window. 89 // Attach |window| to the current shell's root window.
90 void SetDefaultParentByPrimaryRootWindow(aura::Window* window); 90 void ParentWindowInPrimaryRootWindow(aura::Window* window);
91 91
92 // Returns the EventGenerator that uses screen coordinates and works 92 // Returns the EventGenerator that uses screen coordinates and works
93 // across multiple displays. It createse a new generator if it 93 // across multiple displays. It createse a new generator if it
94 // hasn't been created yet. 94 // hasn't been created yet.
95 aura::test::EventGenerator& GetEventGenerator(); 95 aura::test::EventGenerator& GetEventGenerator();
96 96
97 protected: 97 protected:
98 enum UserSessionBlockReason { 98 enum UserSessionBlockReason {
99 FIRST_BLOCK_REASON, 99 FIRST_BLOCK_REASON,
100 BLOCKED_BY_LOCK_SCREEN = FIRST_BLOCK_REASON, 100 BLOCKED_BY_LOCK_SCREEN = FIRST_BLOCK_REASON,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 virtual ~NoSessionAshTestBase() {} 156 virtual ~NoSessionAshTestBase() {}
157 157
158 private: 158 private:
159 DISALLOW_COPY_AND_ASSIGN(NoSessionAshTestBase); 159 DISALLOW_COPY_AND_ASSIGN(NoSessionAshTestBase);
160 }; 160 };
161 161
162 } // namespace test 162 } // namespace test
163 } // namespace ash 163 } // namespace ash
164 164
165 #endif // ASH_TEST_ASH_TEST_BASE_H_ 165 #endif // ASH_TEST_ASH_TEST_BASE_H_
OLDNEW
« no previous file with comments | « ash/shell_unittest.cc ('k') | ash/test/ash_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698