| 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 void OnTouchMoved(int32 x, int32 y, uint64 timestamp, uint32 pointer_id); | 142 void OnTouchMoved(int32 x, int32 y, uint64 timestamp, uint32 pointer_id); |
| 143 void OnFileSaveAsDone(bool success, | 143 void OnFileSaveAsDone(bool success, |
| 144 const base::FilePath& filename, | 144 const base::FilePath& filename, |
| 145 int filter_index); | 145 int filter_index); |
| 146 void OnFileOpenDone(bool success, const base::FilePath& filename); | 146 void OnFileOpenDone(bool success, const base::FilePath& filename); |
| 147 void OnMultiFileOpenDone(bool success, | 147 void OnMultiFileOpenDone(bool success, |
| 148 const std::vector<base::FilePath>& files); | 148 const std::vector<base::FilePath>& files); |
| 149 void OnSelectFolderDone(bool success, const base::FilePath& folder); | 149 void OnSelectFolderDone(bool success, const base::FilePath& folder); |
| 150 void OnWindowActivated(bool active); | 150 void OnWindowActivated(bool active); |
| 151 void OnSetCursorPosAck(); | 151 void OnSetCursorPosAck(); |
| 152 void OnWindowSizeChanged(uint32 width, uint32 height); |
| 153 |
| 152 // RootWindowHost overrides: | 154 // RootWindowHost overrides: |
| 153 virtual void SetDelegate(RootWindowHostDelegate* delegate) OVERRIDE; | 155 virtual void SetDelegate(RootWindowHostDelegate* delegate) OVERRIDE; |
| 154 virtual RootWindow* GetRootWindow() OVERRIDE; | 156 virtual RootWindow* GetRootWindow() OVERRIDE; |
| 155 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 157 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
| 156 virtual void Show() OVERRIDE; | 158 virtual void Show() OVERRIDE; |
| 157 virtual void Hide() OVERRIDE; | 159 virtual void Hide() OVERRIDE; |
| 158 virtual void ToggleFullScreen() OVERRIDE; | 160 virtual void ToggleFullScreen() OVERRIDE; |
| 159 virtual gfx::Rect GetBounds() const OVERRIDE; | 161 virtual gfx::Rect GetBounds() const OVERRIDE; |
| 160 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 162 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
| 161 virtual gfx::Insets GetInsets() const OVERRIDE; | 163 virtual gfx::Insets GetInsets() const OVERRIDE; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 // Set to true if we need to ignore mouse messages until the SetCursorPos | 205 // Set to true if we need to ignore mouse messages until the SetCursorPos |
| 204 // operation is acked by the viewer. | 206 // operation is acked by the viewer. |
| 205 bool ignore_mouse_moves_until_set_cursor_ack_; | 207 bool ignore_mouse_moves_until_set_cursor_ack_; |
| 206 | 208 |
| 207 DISALLOW_COPY_AND_ASSIGN(RemoteRootWindowHostWin); | 209 DISALLOW_COPY_AND_ASSIGN(RemoteRootWindowHostWin); |
| 208 }; | 210 }; |
| 209 | 211 |
| 210 } // namespace aura | 212 } // namespace aura |
| 211 | 213 |
| 212 #endif // UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ | 214 #endif // UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ |
| OLD | NEW |