OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_AURA_WINDOW_TREE_HOST_OZONE_H_ | 5 #ifndef UI_AURA_WINDOW_TREE_HOST_OZONE_H_ |
6 #define UI_AURA_WINDOW_TREE_HOST_OZONE_H_ | 6 #define UI_AURA_WINDOW_TREE_HOST_OZONE_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "ui/aura/window_tree_host.h" | 9 #include "ui/aura/window_tree_host.h" |
10 #include "ui/events/event_source.h" | 10 #include "ui/events/event_source.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 // ui::PlatformWindowDelegate: | 28 // ui::PlatformWindowDelegate: |
29 virtual void OnBoundsChanged(const gfx::Rect&) OVERRIDE; | 29 virtual void OnBoundsChanged(const gfx::Rect&) OVERRIDE; |
30 virtual void OnDamageRect(const gfx::Rect& damaged_region) OVERRIDE; | 30 virtual void OnDamageRect(const gfx::Rect& damaged_region) OVERRIDE; |
31 virtual void DispatchEvent(ui::Event* event) OVERRIDE; | 31 virtual void DispatchEvent(ui::Event* event) OVERRIDE; |
32 virtual void OnCloseRequest() OVERRIDE; | 32 virtual void OnCloseRequest() OVERRIDE; |
33 virtual void OnClosed() OVERRIDE; | 33 virtual void OnClosed() OVERRIDE; |
34 virtual void OnWindowStateChanged(ui::PlatformWindowState new_state) OVERRIDE; | 34 virtual void OnWindowStateChanged(ui::PlatformWindowState new_state) OVERRIDE; |
35 virtual void OnLostCapture() OVERRIDE; | 35 virtual void OnLostCapture() OVERRIDE; |
36 virtual void OnAcceleratedWidgetAvailable( | 36 virtual void OnAcceleratedWidgetAvailable( |
37 gfx::AcceleratedWidget widget) OVERRIDE; | 37 gfx::AcceleratedWidget widget) OVERRIDE; |
| 38 virtual void OnActivationChanged(bool active) OVERRIDE; |
38 | 39 |
39 // WindowTreeHost: | 40 // WindowTreeHost: |
40 virtual ui::EventSource* GetEventSource() OVERRIDE; | 41 virtual ui::EventSource* GetEventSource() OVERRIDE; |
41 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 42 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
42 virtual void Show() OVERRIDE; | 43 virtual void Show() OVERRIDE; |
43 virtual void Hide() OVERRIDE; | 44 virtual void Hide() OVERRIDE; |
44 virtual gfx::Rect GetBounds() const OVERRIDE; | 45 virtual gfx::Rect GetBounds() const OVERRIDE; |
45 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 46 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
46 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; | 47 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; |
47 virtual void SetCapture() OVERRIDE; | 48 virtual void SetCapture() OVERRIDE; |
(...skipping 11 matching lines...) Expand all Loading... |
59 | 60 |
60 // The identifier used to create a compositing surface. | 61 // The identifier used to create a compositing surface. |
61 gfx::AcceleratedWidget widget_; | 62 gfx::AcceleratedWidget widget_; |
62 | 63 |
63 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostOzone); | 64 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostOzone); |
64 }; | 65 }; |
65 | 66 |
66 } // namespace aura | 67 } // namespace aura |
67 | 68 |
68 #endif // UI_AURA_WINDOW_TREE_HOST_OZONE_H_ | 69 #endif // UI_AURA_WINDOW_TREE_HOST_OZONE_H_ |
OLD | NEW |