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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 uint32 flags); | 120 uint32 flags); |
121 void OnKeyUp(uint32 vkey, | 121 void OnKeyUp(uint32 vkey, |
122 uint32 repeat_count, | 122 uint32 repeat_count, |
123 uint32 scan_code, | 123 uint32 scan_code, |
124 uint32 flags); | 124 uint32 flags); |
125 void OnChar(uint32 key_code, | 125 void OnChar(uint32 key_code, |
126 uint32 repeat_count, | 126 uint32 repeat_count, |
127 uint32 scan_code, | 127 uint32 scan_code, |
128 uint32 flags); | 128 uint32 flags); |
129 void OnVisibilityChanged(bool visible); | 129 void OnVisibilityChanged(bool visible); |
130 void OnTouchDown(int32 x, int32 y, uint64 timestamp); | 130 void OnTouchDown(int32 x, int32 y, uint64 timestamp, uint32 pointer_id); |
131 void OnTouchUp(int32 x, int32 y, uint64 timestamp); | 131 void OnTouchUp(int32 x, int32 y, uint64 timestamp, uint32 pointer_id); |
132 void OnTouchMoved(int32 x, int32 y, uint64 timestamp); | 132 void OnTouchMoved(int32 x, int32 y, uint64 timestamp, uint32 pointer_id); |
133 void OnFileSaveAsDone(bool success, | 133 void OnFileSaveAsDone(bool success, |
134 string16 filename, | 134 string16 filename, |
135 int filter_index); | 135 int filter_index); |
136 void OnFileOpenDone(bool success, string16 filename); | 136 void OnFileOpenDone(bool success, string16 filename); |
137 void OnMultiFileOpenDone(bool success, | 137 void OnMultiFileOpenDone(bool success, |
138 const std::vector<base::FilePath>& files); | 138 const std::vector<base::FilePath>& files); |
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; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 OpenFileCompletion file_open_completion_callback_; | 189 OpenFileCompletion file_open_completion_callback_; |
190 OpenMultipleFilesCompletion multi_file_open_completion_callback_; | 190 OpenMultipleFilesCompletion multi_file_open_completion_callback_; |
191 SaveFileCompletion file_saveas_completion_callback_; | 191 SaveFileCompletion file_saveas_completion_callback_; |
192 | 192 |
193 DISALLOW_COPY_AND_ASSIGN(RemoteRootWindowHostWin); | 193 DISALLOW_COPY_AND_ASSIGN(RemoteRootWindowHostWin); |
194 }; | 194 }; |
195 | 195 |
196 } // namespace aura | 196 } // namespace aura |
197 | 197 |
198 #endif // UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ | 198 #endif // UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ |
OLD | NEW |