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

Side by Side Diff: chrome/browser/render_view_host_delegate.h

Issue 9477: Continue with crosssite navigations if alerts are suppressed... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_RENDER_VIEW_HOST_DELEGATE_H__ 5 #ifndef CHROME_BROWSER_RENDER_VIEW_HOST_DELEGATE_H__
6 #define CHROME_BROWSER_RENDER_VIEW_HOST_DELEGATE_H__ 6 #define CHROME_BROWSER_RENDER_VIEW_HOST_DELEGATE_H__
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 virtual void GetHistoryListCount(int* back_list_count, 261 virtual void GetHistoryListCount(int* back_list_count,
262 int* forward_list_count) { } 262 int* forward_list_count) { }
263 263
264 // A file chooser should be shown. 264 // A file chooser should be shown.
265 virtual void RunFileChooser(const std::wstring& default_file) { } 265 virtual void RunFileChooser(const std::wstring& default_file) { }
266 266
267 // A javascript message, confirmation or prompt should be shown. 267 // A javascript message, confirmation or prompt should be shown.
268 virtual void RunJavaScriptMessage(const std::wstring& message, 268 virtual void RunJavaScriptMessage(const std::wstring& message,
269 const std::wstring& default_prompt, 269 const std::wstring& default_prompt,
270 const int flags, 270 const int flags,
271 IPC::Message* reply_msg) { } 271 IPC::Message* reply_msg,
272 bool* did_suppress_message) { }
272 273
273 virtual void RunBeforeUnloadConfirm(const std::wstring& message, 274 virtual void RunBeforeUnloadConfirm(const std::wstring& message,
274 IPC::Message* reply_msg) { } 275 IPC::Message* reply_msg) { }
275 276
276 // Display this RenderViewHost in a modal fashion. 277 // Display this RenderViewHost in a modal fashion.
277 virtual void RunModal(IPC::Message* reply_msg) { } 278 virtual void RunModal(IPC::Message* reply_msg) { }
278 279
279 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height, 280 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height,
280 const std::string& json_arguments, 281 const std::string& json_arguments,
281 IPC::Message* reply_msg) { } 282 IPC::Message* reply_msg) { }
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 const webkit_glue::WebApplicationInfo& app_info) { } 366 const webkit_glue::WebApplicationInfo& app_info) { }
366 367
367 // Notification the user has pressed enter or space while focus was on the 368 // Notification the user has pressed enter or space while focus was on the
368 // page. This is used to avoid uninitiated user downloads (aka carpet 369 // page. This is used to avoid uninitiated user downloads (aka carpet
369 // bombing), see DownloadRequestManager for details. 370 // bombing), see DownloadRequestManager for details.
370 virtual void OnEnterOrSpace() { } 371 virtual void OnEnterOrSpace() { }
371 }; 372 };
372 373
373 #endif // CHROME_BROWSER_RENDER_VIEW_HOST_DELEGATE_H__ 374 #endif // CHROME_BROWSER_RENDER_VIEW_HOST_DELEGATE_H__
374 375
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698