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

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

Issue 63033: Refactor AppModalDialogQueue and move JS Alert boxes into a MVC. (Closed)
Patch Set: whitespace Created 11 years, 8 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) 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_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 const std::wstring& filter) { } 288 const std::wstring& filter) { }
289 289
290 // A javascript message, confirmation or prompt should be shown. 290 // A javascript message, confirmation or prompt should be shown.
291 virtual void RunJavaScriptMessage(const std::wstring& message, 291 virtual void RunJavaScriptMessage(const std::wstring& message,
292 const std::wstring& default_prompt, 292 const std::wstring& default_prompt,
293 const GURL& frame_url, 293 const GURL& frame_url,
294 const int flags, 294 const int flags,
295 IPC::Message* reply_msg, 295 IPC::Message* reply_msg,
296 bool* did_suppress_message) { } 296 bool* did_suppress_message) { }
297 297
298 virtual void RunBeforeUnloadConfirm(const GURL& frame_url, 298 virtual void RunBeforeUnloadConfirm(const std::wstring& message,
299 const std::wstring& message,
300 IPC::Message* reply_msg) { } 299 IPC::Message* reply_msg) { }
301 300
302 // Display this RenderViewHost in a modal fashion. 301 // Display this RenderViewHost in a modal fashion.
303 virtual void RunModal(IPC::Message* reply_msg) { } 302 virtual void RunModal(IPC::Message* reply_msg) { }
304 303
305 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height, 304 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height,
306 const std::string& json_arguments, 305 const std::string& json_arguments,
307 IPC::Message* reply_msg) { } 306 IPC::Message* reply_msg) { }
308 307
309 // Password forms have been detected in the page. 308 // Password forms have been detected in the page.
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 422
424 // A find operation in the current page completed. 423 // A find operation in the current page completed.
425 virtual void OnFindReply(int request_id, 424 virtual void OnFindReply(int request_id,
426 int number_of_matches, 425 int number_of_matches,
427 const gfx::Rect& selection_rect, 426 const gfx::Rect& selection_rect,
428 int active_match_ordinal, 427 int active_match_ordinal,
429 bool final_update) { } 428 bool final_update) { }
430 }; 429 };
431 430
432 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 431 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.cc ('k') | chrome/browser/tab_contents/web_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698