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_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ | 5 #ifndef UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ |
6 #define UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ | 6 #define UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 42 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
43 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; | 43 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; |
44 virtual void SetCapture() OVERRIDE; | 44 virtual void SetCapture() OVERRIDE; |
45 virtual void ReleaseCapture() OVERRIDE; | 45 virtual void ReleaseCapture() OVERRIDE; |
46 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; | 46 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; |
47 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; | 47 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; |
48 virtual bool ConfineCursorToRootWindow() OVERRIDE; | 48 virtual bool ConfineCursorToRootWindow() OVERRIDE; |
49 virtual void UnConfineCursor() OVERRIDE; | 49 virtual void UnConfineCursor() OVERRIDE; |
50 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; | 50 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; |
51 virtual void SetFocusWhenShown(bool focus_when_shown) OVERRIDE; | 51 virtual void SetFocusWhenShown(bool focus_when_shown) OVERRIDE; |
| 52 virtual bool CopyAreaToSkCanvas(const gfx::Rect& source_bounds, |
| 53 const gfx::Point& dest_offset, |
| 54 SkCanvas* canvas) OVERRIDE; |
52 virtual bool GrabSnapshot( | 55 virtual bool GrabSnapshot( |
53 const gfx::Rect& snapshot_bounds, | 56 const gfx::Rect& snapshot_bounds, |
54 std::vector<unsigned char>* png_representation) OVERRIDE; | 57 std::vector<unsigned char>* png_representation) OVERRIDE; |
55 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; | 58 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; |
56 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; | 59 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; |
57 virtual void PrepareForShutdown() OVERRIDE; | 60 virtual void PrepareForShutdown() OVERRIDE; |
58 | 61 |
59 RootWindowHostDelegate* delegate_; | 62 RootWindowHostDelegate* delegate_; |
60 scoped_ptr<ui::ViewProp> prop_; | 63 scoped_ptr<ui::ViewProp> prop_; |
61 | 64 |
62 DISALLOW_COPY_AND_ASSIGN(RemoteRootWindowHostWin); | 65 DISALLOW_COPY_AND_ASSIGN(RemoteRootWindowHostWin); |
63 }; | 66 }; |
64 | 67 |
65 } // namespace aura | 68 } // namespace aura |
66 | 69 |
67 #endif // UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ | 70 #endif // UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ |
OLD | NEW |