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

Side by Side Diff: wm/foreign_test_window.h

Issue 11485006: Add window manager component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Push gfx::AcceleratedWidget usage into platform specific code. Created 7 years, 10 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 | « wm/OWNERS ('k') | wm/foreign_test_window.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WM_FOREIGN_TEST_WINDOW_H_
6 #define WM_FOREIGN_TEST_WINDOW_H_
7
8 #include "base/basictypes.h"
9 #include "base/callback.h"
10 #include "base/compiler_specific.h"
11 #include "base/memory/scoped_ptr.h"
12
13 namespace aura {
14 class RootWindow;
15 }
16
17 namespace wm {
18 class ForeignTestWindowHost;
19
20 // This class implements a foreign window to use for testing purposes.
21 class ForeignTestWindow {
22 public:
23 struct CreateParams {
24 explicit CreateParams(aura::RootWindow* root_window);
25
26 aura::RootWindow* root_window;
27 };
28 explicit ForeignTestWindow(const CreateParams& params);
29 virtual ~ForeignTestWindow();
30
31 void Show();
32 void Hide();
33 void Destroy();
34 void Sync();
35
36 private:
37 ForeignTestWindowHost* host_;
38
39 DISALLOW_COPY_AND_ASSIGN(ForeignTestWindow);
40 };
41
42 } // namespace wm
43
44 #endif // WM_FOREIGN_TEST_WINDOW_H_
OLDNEW
« no previous file with comments | « wm/OWNERS ('k') | wm/foreign_test_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698