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/callback.h" | 10 #include "base/callback.h" |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 | 139 |
140 // RootWindowHost overrides: | 140 // RootWindowHost overrides: |
141 virtual void SetDelegate(RootWindowHostDelegate* delegate) OVERRIDE; | 141 virtual void SetDelegate(RootWindowHostDelegate* delegate) OVERRIDE; |
142 virtual RootWindow* GetRootWindow() OVERRIDE; | 142 virtual RootWindow* GetRootWindow() OVERRIDE; |
143 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 143 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
144 virtual void Show() OVERRIDE; | 144 virtual void Show() OVERRIDE; |
145 virtual void Hide() OVERRIDE; | 145 virtual void Hide() OVERRIDE; |
146 virtual void ToggleFullScreen() OVERRIDE; | 146 virtual void ToggleFullScreen() OVERRIDE; |
147 virtual gfx::Rect GetBounds() const OVERRIDE; | 147 virtual gfx::Rect GetBounds() const OVERRIDE; |
148 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 148 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
| 149 virtual gfx::Insets GetInsets() const OVERRIDE; |
| 150 virtual void SetInsets(const gfx::Insets& insets) OVERRIDE; |
149 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; | 151 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; |
150 virtual void SetCapture() OVERRIDE; | 152 virtual void SetCapture() OVERRIDE; |
151 virtual void ReleaseCapture() OVERRIDE; | 153 virtual void ReleaseCapture() OVERRIDE; |
152 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; | 154 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; |
153 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; | 155 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; |
154 virtual bool ConfineCursorToRootWindow() OVERRIDE; | 156 virtual bool ConfineCursorToRootWindow() OVERRIDE; |
155 virtual void UnConfineCursor() OVERRIDE; | 157 virtual void UnConfineCursor() OVERRIDE; |
156 virtual void OnCursorVisibilityChanged(bool show) OVERRIDE; | 158 virtual void OnCursorVisibilityChanged(bool show) OVERRIDE; |
157 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; | 159 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; |
158 virtual void SetFocusWhenShown(bool focus_when_shown) OVERRIDE; | 160 virtual void SetFocusWhenShown(bool focus_when_shown) OVERRIDE; |
(...skipping 28 matching lines...) Expand all Loading... |
187 OpenFileCompletion file_open_completion_callback_; | 189 OpenFileCompletion file_open_completion_callback_; |
188 OpenMultipleFilesCompletion multi_file_open_completion_callback_; | 190 OpenMultipleFilesCompletion multi_file_open_completion_callback_; |
189 SaveFileCompletion file_saveas_completion_callback_; | 191 SaveFileCompletion file_saveas_completion_callback_; |
190 | 192 |
191 DISALLOW_COPY_AND_ASSIGN(RemoteRootWindowHostWin); | 193 DISALLOW_COPY_AND_ASSIGN(RemoteRootWindowHostWin); |
192 }; | 194 }; |
193 | 195 |
194 } // namespace aura | 196 } // namespace aura |
195 | 197 |
196 #endif // UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ | 198 #endif // UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ |
OLD | NEW |