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

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

Issue 8247012: Positions the launcher in the bottom left corner. Adds ShellDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix TestDesktopDelegate Created 9 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
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_DESKTOP_DELEGATE_H_ 5 #ifndef UI_AURA_TEST_TEST_DESKTOP_DELEGATE_H_
6 #define UI_AURA_TEST_TEST_DESKTOP_DELEGATE_H_ 6 #define UI_AURA_TEST_TEST_DESKTOP_DELEGATE_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 10 matching lines...) Expand all
21 public: 21 public:
22 TestDesktopDelegate(); 22 TestDesktopDelegate();
23 virtual ~TestDesktopDelegate(); 23 virtual ~TestDesktopDelegate();
24 24
25 Window* default_container() { return default_container_.get(); } 25 Window* default_container() { return default_container_.get(); }
26 26
27 private: 27 private:
28 // Overridden from DesktopDelegate: 28 // Overridden from DesktopDelegate:
29 virtual void AddChildToDefaultParent(Window* window) OVERRIDE; 29 virtual void AddChildToDefaultParent(Window* window) OVERRIDE;
30 virtual Window* GetTopmostWindowToActivate(Window* ignore) const OVERRIDE; 30 virtual Window* GetTopmostWindowToActivate(Window* ignore) const OVERRIDE;
31 virtual void WindowAdded(Window* window) OVERRIDE;
32 virtual void WillRemoveWindow(Window* window) OVERRIDE;
31 33
32 scoped_ptr<ToplevelWindowContainer> default_container_; 34 scoped_ptr<ToplevelWindowContainer> default_container_;
33 35
34 DISALLOW_COPY_AND_ASSIGN(TestDesktopDelegate); 36 DISALLOW_COPY_AND_ASSIGN(TestDesktopDelegate);
35 }; 37 };
36 38
37 } // namespace test 39 } // namespace test
38 } // namespace aura 40 } // namespace aura
39 41
40 #endif // UI_AURA_TEST_TEST_DESKTOP_DELEGATE_H_ 42 #endif // UI_AURA_TEST_TEST_DESKTOP_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698