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

Side by Side Diff: ash/hostwm/host_window_manager.h

Issue 10789018: aura: Add X11 host window management. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Keep ash switches alphabetized. Created 8 years, 5 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.
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 ASH_HOSTWM_HOST_WINDOW_MANAGER_H_
6 #define ASH_HOSTWM_HOST_WINDOW_MANAGER_H_
7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "ui/aura/hostwm/host_window_manager_client.h"
11
12 #include <map>
13
14 namespace aura {
15 class RootWindow;
16 }
17
18 namespace views {
19 class Widget;
20 }
21
22 namespace ash {
23 class HostWindowContainer;
24
25 namespace internal {
26
27 class HostWindowManager : public aura::client::HostWindowManagerClient {
28 public:
29 HostWindowManager() {}
30 virtual ~HostWindowManager() {}
31
32 // Overridden from aura::client::HostWindowManagerClient:
33 virtual gfx::NativeWindow OnHostWindowCreated(
34 const gfx::Rect& bounds, bool decorated) OVERRIDE;
35 virtual void OnHostWindowDestroyed(gfx::NativeWindow window) OVERRIDE;
36 virtual void OnHostWindowMovedOrResized(
37 gfx::NativeWindow window, const gfx::Rect& bounds) OVERRIDE;
38 virtual void OnHostWindowMovedOrResizedConstrained(
39 gfx::NativeWindow window, const gfx::Rect& bounds) OVERRIDE;
40 virtual void OnHostWindowVisibilityChanged(
41 gfx::NativeWindow window, bool visible) OVERRIDE;
42 virtual aura::RootWindow* GetRootWindow() OVERRIDE;
43
44 private:
45 DISALLOW_COPY_AND_ASSIGN(HostWindowManager);
46 };
47
48 } // namespace internal
49 } // namespace ash
50
51 #endif // ASH_HOSTWM_HOST_WINDOW_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698