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

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

Issue 8894018: Move the concept of Activation to the Shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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/test/test_activation_client.cc ('k') | ui/aura/test/test_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) 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_TEST_TEST_STACKING_CLIENT_H_ 5 #ifndef UI_AURA_TEST_TEST_STACKING_CLIENT_H_
6 #define UI_AURA_TEST_TEST_STACKING_CLIENT_H_ 6 #define UI_AURA_TEST_TEST_STACKING_CLIENT_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 11 matching lines...) Expand all
22 // about it -- the c'tor passes ownership of the TestStackingClient to the 22 // about it -- the c'tor passes ownership of the TestStackingClient to the
23 // static Desktop object. 23 // static Desktop object.
24 TestStackingClient(); 24 TestStackingClient();
25 virtual ~TestStackingClient(); 25 virtual ~TestStackingClient();
26 26
27 Window* default_container() { return default_container_.get(); } 27 Window* default_container() { return default_container_.get(); }
28 28
29 private: 29 private:
30 // Overridden from StackingClient: 30 // Overridden from StackingClient:
31 virtual void AddChildToDefaultParent(Window* window) OVERRIDE; 31 virtual void AddChildToDefaultParent(Window* window) OVERRIDE;
32 virtual bool CanActivateWindow(Window* window) const OVERRIDE;
33 virtual Window* GetTopmostWindowToActivate(Window* ignore) const OVERRIDE;
34 32
35 scoped_ptr<Window> default_container_; 33 scoped_ptr<Window> default_container_;
36 34
37 DISALLOW_COPY_AND_ASSIGN(TestStackingClient); 35 DISALLOW_COPY_AND_ASSIGN(TestStackingClient);
38 }; 36 };
39 37
40 } // namespace test 38 } // namespace test
41 } // namespace aura 39 } // namespace aura
42 40
43 #endif // UI_AURA_TEST_TEST_STACKING_CLIENT_H_ 41 #endif // UI_AURA_TEST_TEST_STACKING_CLIENT_H_
OLDNEW
« no previous file with comments | « ui/aura/test/test_activation_client.cc ('k') | ui/aura/test/test_stacking_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698