| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_OZONE_PLATFORM_DRI_DRI_WINDOW_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRI_DRI_WINDOW_H_ |
| 6 #define UI_OZONE_PLATFORM_DRI_DRI_WINDOW_H_ | 6 #define UI_OZONE_PLATFORM_DRI_DRI_WINDOW_H_ |
| 7 | 7 |
| 8 #include "ui/events/platform/platform_event_dispatcher.h" | 8 #include "ui/events/platform/platform_event_dispatcher.h" |
| 9 #include "ui/gfx/geometry/rect.h" | 9 #include "ui/gfx/geometry/rect.h" |
| 10 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 virtual void Hide() OVERRIDE; | 27 virtual void Hide() OVERRIDE; |
| 28 virtual void Close() OVERRIDE; | 28 virtual void Close() OVERRIDE; |
| 29 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 29 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
| 30 virtual gfx::Rect GetBounds() OVERRIDE; | 30 virtual gfx::Rect GetBounds() OVERRIDE; |
| 31 virtual void SetCapture() OVERRIDE; | 31 virtual void SetCapture() OVERRIDE; |
| 32 virtual void ReleaseCapture() OVERRIDE; | 32 virtual void ReleaseCapture() OVERRIDE; |
| 33 virtual void ToggleFullscreen() OVERRIDE; | 33 virtual void ToggleFullscreen() OVERRIDE; |
| 34 virtual void Maximize() OVERRIDE; | 34 virtual void Maximize() OVERRIDE; |
| 35 virtual void Minimize() OVERRIDE; | 35 virtual void Minimize() OVERRIDE; |
| 36 virtual void Restore() OVERRIDE; | 36 virtual void Restore() OVERRIDE; |
| 37 virtual void SetCursor(PlatformCursor cursor) OVERRIDE; |
| 38 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; |
| 37 | 39 |
| 38 // PlatformEventDispatcher: | 40 // PlatformEventDispatcher: |
| 39 virtual bool CanDispatchEvent(const PlatformEvent& event) OVERRIDE; | 41 virtual bool CanDispatchEvent(const PlatformEvent& event) OVERRIDE; |
| 40 virtual uint32_t DispatchEvent(const PlatformEvent& event) OVERRIDE; | 42 virtual uint32_t DispatchEvent(const PlatformEvent& event) OVERRIDE; |
| 41 | 43 |
| 42 private: | 44 private: |
| 43 PlatformWindowDelegate* delegate_; | 45 PlatformWindowDelegate* delegate_; |
| 44 gfx::Rect bounds_; | 46 gfx::Rect bounds_; |
| 45 gfx::AcceleratedWidget widget_; | 47 gfx::AcceleratedWidget widget_; |
| 46 | 48 |
| 47 DISALLOW_COPY_AND_ASSIGN(DriWindow); | 49 DISALLOW_COPY_AND_ASSIGN(DriWindow); |
| 48 }; | 50 }; |
| 49 | 51 |
| 50 } // namespace ui | 52 } // namespace ui |
| 51 | 53 |
| 52 #endif // UI_OZONE_PLATFORM_DRI_DRI_WINDOW_H_ | 54 #endif // UI_OZONE_PLATFORM_DRI_DRI_WINDOW_H_ |
| OLD | NEW |