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

Side by Side Diff: ui/aura/hostwm/host_window_manager_client.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 UI_AURA_HOSTWM_HOST_WINDOW_MANAGER_CLIENT_H_
6 #define UI_AURA_HOSTWM_HOST_WINDOW_MANAGER_CLIENT_H_
7
8 #include "ui/aura/aura_export.h"
9 #include "ui/gfx/rect.h"
10 #include "ui/gfx/native_widget_types.h"
11
12 namespace aura {
13 class RootWindow;
14 namespace client {
15
16 class AURA_EXPORT HostWindowManagerClient {
17 public:
18 virtual gfx::NativeWindow OnHostWindowCreated(
19 const gfx::Rect& bounds, bool decorated) = 0;
20 virtual void OnHostWindowDestroyed(gfx::NativeWindow window) = 0;
21 virtual void OnHostWindowMovedOrResized(
22 gfx::NativeWindow window, const gfx::Rect& bounds) = 0;
23 virtual void OnHostWindowMovedOrResizedConstrained(
24 gfx::NativeWindow window, const gfx::Rect& bounds) = 0;
25 virtual void OnHostWindowVisibilityChanged(
26 gfx::NativeWindow window, bool visible) = 0;
27 virtual RootWindow* GetRootWindow() = 0;
28
29 protected:
30 virtual ~HostWindowManagerClient() {}
31 };
32
33 } // namespace client
34 } // namespace aura
35
36 #endif // UI_AURA_HOSTWM_HOST_WINDOW_MANAGER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698