| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ |
| 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ |
| 7 | 7 |
| 8 #include "ui/aura/root_window_host.h" | 8 #include "ui/aura/root_window_host.h" |
| 9 #include "ui/views/views_export.h" | 9 #include "ui/views/views_export.h" |
| 10 #include "ui/views/widget/desktop_aura/desktop_root_window_host.h" | 10 #include "ui/views/widget/desktop_aura/desktop_root_window_host.h" |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 virtual void ToggleFullScreen() OVERRIDE; | 101 virtual void ToggleFullScreen() OVERRIDE; |
| 102 virtual gfx::Rect GetBounds() const OVERRIDE; | 102 virtual gfx::Rect GetBounds() const OVERRIDE; |
| 103 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 103 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
| 104 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; | 104 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; |
| 105 virtual void SetCapture() OVERRIDE; | 105 virtual void SetCapture() OVERRIDE; |
| 106 virtual void ReleaseCapture() OVERRIDE; | 106 virtual void ReleaseCapture() OVERRIDE; |
| 107 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; | 107 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; |
| 108 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; | 108 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; |
| 109 virtual bool ConfineCursorToRootWindow() OVERRIDE; | 109 virtual bool ConfineCursorToRootWindow() OVERRIDE; |
| 110 virtual void UnConfineCursor() OVERRIDE; | 110 virtual void UnConfineCursor() OVERRIDE; |
| 111 virtual void OnCursorVisibilityChanged(bool show) OVERRIDE; | 111 virtual void OnCursorEnableStateChanged(bool enabled) OVERRIDE; |
| 112 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; | 112 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; |
| 113 virtual void SetFocusWhenShown(bool focus_when_shown) OVERRIDE; | 113 virtual void SetFocusWhenShown(bool focus_when_shown) OVERRIDE; |
| 114 virtual bool CopyAreaToSkCanvas(const gfx::Rect& source_bounds, | 114 virtual bool CopyAreaToSkCanvas(const gfx::Rect& source_bounds, |
| 115 const gfx::Point& dest_offset, | 115 const gfx::Point& dest_offset, |
| 116 SkCanvas* canvas) OVERRIDE; | 116 SkCanvas* canvas) OVERRIDE; |
| 117 virtual bool GrabSnapshot( | 117 virtual bool GrabSnapshot( |
| 118 const gfx::Rect& snapshot_bounds, | 118 const gfx::Rect& snapshot_bounds, |
| 119 std::vector<unsigned char>* png_representation) OVERRIDE; | 119 std::vector<unsigned char>* png_representation) OVERRIDE; |
| 120 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; | 120 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; |
| 121 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; | 121 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 scoped_ptr<DesktopCursorClient> cursor_client_; | 227 scoped_ptr<DesktopCursorClient> cursor_client_; |
| 228 | 228 |
| 229 scoped_ptr<DesktopDragDropClientWin> drag_drop_client_; | 229 scoped_ptr<DesktopDragDropClientWin> drag_drop_client_; |
| 230 | 230 |
| 231 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); | 231 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); |
| 232 }; | 232 }; |
| 233 | 233 |
| 234 } // namespace views | 234 } // namespace views |
| 235 | 235 |
| 236 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ | 236 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ |
| OLD | NEW |