| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_PLATFORM_H_ | 5 #ifndef UI_AURA_WINDOW_TREE_HOST_PLATFORM_H_ |
| 6 #define UI_AURA_WINDOW_TREE_HOST_PLATFORM_H_ | 6 #define UI_AURA_WINDOW_TREE_HOST_PLATFORM_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "ui/aura/aura_export.h" | 10 #include "ui/aura/aura_export.h" |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 // ui::PlatformWindowDelegate: | 45 // ui::PlatformWindowDelegate: |
| 46 void OnBoundsChanged(const gfx::Rect& new_bounds) override; | 46 void OnBoundsChanged(const gfx::Rect& new_bounds) override; |
| 47 void OnDamageRect(const gfx::Rect& damaged_region) override; | 47 void OnDamageRect(const gfx::Rect& damaged_region) override; |
| 48 void DispatchEvent(ui::Event* event) override; | 48 void DispatchEvent(ui::Event* event) override; |
| 49 void OnCloseRequest() override; | 49 void OnCloseRequest() override; |
| 50 void OnClosed() override; | 50 void OnClosed() override; |
| 51 void OnWindowStateChanged(ui::PlatformWindowState new_state) override; | 51 void OnWindowStateChanged(ui::PlatformWindowState new_state) override; |
| 52 void OnLostCapture() override; | 52 void OnLostCapture() override; |
| 53 void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget, | 53 void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget, |
| 54 float device_pixel_ratio) override; | 54 float device_pixel_ratio) override; |
| 55 void OnAcceleratedWidgetDestroyed() override; |
| 55 void OnActivationChanged(bool active) override; | 56 void OnActivationChanged(bool active) override; |
| 56 | 57 |
| 57 gfx::AcceleratedWidget widget_; | 58 gfx::AcceleratedWidget widget_; |
| 58 scoped_ptr<ui::PlatformWindow> window_; | 59 scoped_ptr<ui::PlatformWindow> window_; |
| 59 gfx::NativeCursor current_cursor_; | 60 gfx::NativeCursor current_cursor_; |
| 60 bool has_capture_; | 61 bool has_capture_; |
| 61 gfx::Rect bounds_; | 62 gfx::Rect bounds_; |
| 62 | 63 |
| 63 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostPlatform); | 64 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostPlatform); |
| 64 }; | 65 }; |
| 65 | 66 |
| 66 } // namespace aura | 67 } // namespace aura |
| 67 | 68 |
| 68 #endif // UI_AURA_WINDOW_TREE_HOST_PLATFORM_H_ | 69 #endif // UI_AURA_WINDOW_TREE_HOST_PLATFORM_H_ |
| OLD | NEW |