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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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; |
122 virtual void PrepareForShutdown() OVERRIDE; | 122 virtual void PrepareForShutdown() OVERRIDE; |
| 123 virtual void SetHostWindowProperty(const std::string& name, |
| 124 int value) OVERRIDE; |
123 | 125 |
124 // Overridden from HWNDMessageHandlerDelegate: | 126 // Overridden from HWNDMessageHandlerDelegate: |
125 virtual bool IsWidgetWindow() const OVERRIDE; | 127 virtual bool IsWidgetWindow() const OVERRIDE; |
126 virtual bool IsUsingCustomFrame() const OVERRIDE; | 128 virtual bool IsUsingCustomFrame() const OVERRIDE; |
127 virtual void SchedulePaint() OVERRIDE; | 129 virtual void SchedulePaint() OVERRIDE; |
128 virtual void EnableInactiveRendering() OVERRIDE; | 130 virtual void EnableInactiveRendering() OVERRIDE; |
129 virtual bool IsInactiveRenderingDisabled() OVERRIDE; | 131 virtual bool IsInactiveRenderingDisabled() OVERRIDE; |
130 virtual bool CanResize() const OVERRIDE; | 132 virtual bool CanResize() const OVERRIDE; |
131 virtual bool CanMaximize() const OVERRIDE; | 133 virtual bool CanMaximize() const OVERRIDE; |
132 virtual bool CanActivate() const OVERRIDE; | 134 virtual bool CanActivate() const OVERRIDE; |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 scoped_ptr<DesktopCursorClient> cursor_client_; | 230 scoped_ptr<DesktopCursorClient> cursor_client_; |
229 | 231 |
230 scoped_ptr<DesktopDragDropClientWin> drag_drop_client_; | 232 scoped_ptr<DesktopDragDropClientWin> drag_drop_client_; |
231 | 233 |
232 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); | 234 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); |
233 }; | 235 }; |
234 | 236 |
235 } // namespace views | 237 } // namespace views |
236 | 238 |
237 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ | 239 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ |
OLD | NEW |