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

Side by Side Diff: wm/host/foreign_test_window_host.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/host/DEPS ('k') | wm/host/foreign_test_window_host.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_HOST_FOREIGN_TEST_WINDOW_HOST_H_
6 #define WM_HOST_FOREIGN_TEST_WINDOW_HOST_H_
7
8 namespace aura {
9 class RootWindow;
10 }
11
12 namespace wm {
13
14 class ForeignTestWindowHost {
15 public:
16 virtual ~ForeignTestWindowHost() {}
17
18 // Creates a new ForeignTestWindowHost. Caller owns return value and must
19 // call Destroy() to delete instance.
20 static ForeignTestWindowHost* Create(aura::RootWindow* root_window);
21
22 // This is guaranteed to run all tasks up to the last Sync() call.
23 static void RunAllPendingInMessageLoop();
24
25 // These functions should only be called on a thread with an IO message loop.
26 virtual void Initialize() = 0;
27 virtual void Delete() = 0;
28 virtual void Show() = 0;
29 virtual void Hide() = 0;
30 virtual void Destroy() = 0;
31 virtual void Sync() = 0;
32 };
33
34 } // namespace wm
35
36 #endif // WM_HOST_FOREIGN_TEST_WINDOW_HOST_H_
OLDNEW
« no previous file with comments | « wm/host/DEPS ('k') | wm/host/foreign_test_window_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698