Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Side by Side Diff: ui/aura/remote_root_window_host_win.h

Issue 23592024: Make the metro viewer responsible for relaunching browser in desktop mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a few nits. Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/plugins/plugin_infobar_delegates.cc ('k') | ui/aura/remote_root_window_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698