| 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 void OnTouchUp(int32 x, int32 y, uint64 timestamp, uint32 pointer_id); | 141 void OnTouchUp(int32 x, int32 y, uint64 timestamp, uint32 pointer_id); |
| 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 OnWindowSizeChanged(int32 width, int32 height); |
| 151 // RootWindowHost overrides: | 152 // RootWindowHost overrides: |
| 152 virtual void SetDelegate(RootWindowHostDelegate* delegate) OVERRIDE; | 153 virtual void SetDelegate(RootWindowHostDelegate* delegate) OVERRIDE; |
| 153 virtual RootWindow* GetRootWindow() OVERRIDE; | 154 virtual RootWindow* GetRootWindow() OVERRIDE; |
| 154 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 155 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
| 155 virtual void Show() OVERRIDE; | 156 virtual void Show() OVERRIDE; |
| 156 virtual void Hide() OVERRIDE; | 157 virtual void Hide() OVERRIDE; |
| 157 virtual void ToggleFullScreen() OVERRIDE; | 158 virtual void ToggleFullScreen() OVERRIDE; |
| 158 virtual gfx::Rect GetBounds() const OVERRIDE; | 159 virtual gfx::Rect GetBounds() const OVERRIDE; |
| 159 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 160 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
| 160 virtual gfx::Insets GetInsets() const OVERRIDE; | 161 virtual gfx::Insets GetInsets() const OVERRIDE; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 OpenMultipleFilesCompletion multi_file_open_completion_callback_; | 199 OpenMultipleFilesCompletion multi_file_open_completion_callback_; |
| 199 SaveFileCompletion file_saveas_completion_callback_; | 200 SaveFileCompletion file_saveas_completion_callback_; |
| 200 SelectFolderCompletion select_folder_completion_callback_; | 201 SelectFolderCompletion select_folder_completion_callback_; |
| 201 | 202 |
| 202 DISALLOW_COPY_AND_ASSIGN(RemoteRootWindowHostWin); | 203 DISALLOW_COPY_AND_ASSIGN(RemoteRootWindowHostWin); |
| 203 }; | 204 }; |
| 204 | 205 |
| 205 } // namespace aura | 206 } // namespace aura |
| 206 | 207 |
| 207 #endif // UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ | 208 #endif // UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ |
| OLD | NEW |