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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 | 91 |
92 // Called when the remote process has established its IPC connection. | 92 // Called when the remote process has established its IPC connection. |
93 // The |host| can be used when we need to send a message to it. | 93 // The |host| can be used when we need to send a message to it. |
94 void Connected(IPC::Sender* host); | 94 void Connected(IPC::Sender* host); |
95 // Called when the remote process has closed its IPC connection. | 95 // Called when the remote process has closed its IPC connection. |
96 void Disconnected(); | 96 void Disconnected(); |
97 | 97 |
98 // Called when we have a message from the remote process. | 98 // Called when we have a message from the remote process. |
99 bool OnMessageReceived(const IPC::Message& message); | 99 bool OnMessageReceived(const IPC::Message& message); |
100 | 100 |
| 101 void HandleOpenURLOnDesktop(const base::FilePath& shortcut, |
| 102 const base::string16& url); |
| 103 |
101 void HandleOpenFile(const base::string16& title, | 104 void HandleOpenFile(const base::string16& title, |
102 const base::FilePath& default_path, | 105 const base::FilePath& default_path, |
103 const base::string16& filter, | 106 const base::string16& filter, |
104 const OpenFileCompletion& on_success, | 107 const OpenFileCompletion& on_success, |
105 const FileSelectionCanceled& on_failure); | 108 const FileSelectionCanceled& on_failure); |
106 | 109 |
107 void HandleOpenMultipleFiles(const base::string16& title, | 110 void HandleOpenMultipleFiles(const base::string16& title, |
108 const base::FilePath& default_path, | 111 const base::FilePath& default_path, |
109 const base::string16& filter, | 112 const base::string16& filter, |
110 const OpenMultipleFilesCompletion& on_success, | 113 const OpenMultipleFilesCompletion& on_success, |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 | 221 |
219 // Tracking last click event for synthetically generated mouse events. | 222 // Tracking last click event for synthetically generated mouse events. |
220 scoped_ptr<ui::MouseEvent> last_mouse_click_event_; | 223 scoped_ptr<ui::MouseEvent> last_mouse_click_event_; |
221 | 224 |
222 DISALLOW_COPY_AND_ASSIGN(RemoteRootWindowHostWin); | 225 DISALLOW_COPY_AND_ASSIGN(RemoteRootWindowHostWin); |
223 }; | 226 }; |
224 | 227 |
225 } // namespace aura | 228 } // namespace aura |
226 | 229 |
227 #endif // UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ | 230 #endif // UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ |
OLD | NEW |