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

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: Rebase and add proper use_wm flag support 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
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
danakj 2013/02/21 01:33:15 2013 for all everything now
reveman 2013/02/22 01:26:44 Done.
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 #include "ui/gfx/native_widget_types.h"
13
14 namespace wm {
15 class ForeignTestWindowHost;
16
17 // This class implements a foreign window to use for testing purposes.
18 class ForeignTestWindow {
19 public:
20 struct CreateParams {
21 explicit CreateParams(gfx::AcceleratedWidget parent);
22
23 gfx::AcceleratedWidget parent;
24 };
25 explicit ForeignTestWindow(const CreateParams& params);
26 virtual ~ForeignTestWindow();
27
28 void Show();
29 void Hide();
30 void Destroy();
31 void Sync();
32
33 private:
34 ForeignTestWindowHost* host_;
35
36 DISALLOW_COPY_AND_ASSIGN(ForeignTestWindow);
37 };
38
39 } // namespace wm
40
41 #endif // WM_FOREIGN_TEST_WINDOW_H_
OLDNEW
« no previous file with comments | « wm/OWNERS ('k') | wm/foreign_test_window.cc » ('j') | wm/foreign_window.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698