| OLD | NEW |
| 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_H__ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H__ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H__ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H__ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 const std::string& content); | 491 const std::string& content); |
| 492 #endif | 492 #endif |
| 493 void OnMsgGoToEntryAtOffset(int offset); | 493 void OnMsgGoToEntryAtOffset(int offset); |
| 494 void OnMsgSetTooltipText(const std::wstring& tooltip_text); | 494 void OnMsgSetTooltipText(const std::wstring& tooltip_text); |
| 495 void OnMsgRunFileChooser(bool multiple_files, | 495 void OnMsgRunFileChooser(bool multiple_files, |
| 496 const std::wstring& title, | 496 const std::wstring& title, |
| 497 const std::wstring& default_file, | 497 const std::wstring& default_file, |
| 498 const std::wstring& filter); | 498 const std::wstring& filter); |
| 499 void OnMsgRunJavaScriptMessage(const std::wstring& message, | 499 void OnMsgRunJavaScriptMessage(const std::wstring& message, |
| 500 const std::wstring& default_prompt, | 500 const std::wstring& default_prompt, |
| 501 const GURL& frame_url, |
| 501 const int flags, | 502 const int flags, |
| 502 IPC::Message* reply_msg); | 503 IPC::Message* reply_msg); |
| 503 void OnMsgRunBeforeUnloadConfirm(const std::wstring& message, | 504 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, |
| 505 const std::wstring& message, |
| 504 IPC::Message* reply_msg); | 506 IPC::Message* reply_msg); |
| 505 void OnMsgShowModalHTMLDialog(const GURL& url, int width, int height, | 507 void OnMsgShowModalHTMLDialog(const GURL& url, int width, int height, |
| 506 const std::string& json_arguments, | 508 const std::string& json_arguments, |
| 507 IPC::Message* reply_msg); | 509 IPC::Message* reply_msg); |
| 508 void OnMsgPasswordFormsSeen(const std::vector<PasswordForm>& forms); | 510 void OnMsgPasswordFormsSeen(const std::vector<PasswordForm>& forms); |
| 509 void OnMsgAutofillFormSubmitted(const AutofillForm& forms); | 511 void OnMsgAutofillFormSubmitted(const AutofillForm& forms); |
| 510 void OnMsgStartDragging(const WebDropData& drop_data); | 512 void OnMsgStartDragging(const WebDropData& drop_data); |
| 511 void OnUpdateDragCursor(bool is_drop_target); | 513 void OnUpdateDragCursor(bool is_drop_target); |
| 512 void OnTakeFocus(bool reverse); | 514 void OnTakeFocus(bool reverse); |
| 513 void OnMsgPageHasOSDD(int32 page_id, const GURL& doc_url, bool autodetected); | 515 void OnMsgPageHasOSDD(int32 page_id, const GURL& doc_url, bool autodetected); |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 636 virtual ~RenderViewHostFactory() {} | 638 virtual ~RenderViewHostFactory() {} |
| 637 | 639 |
| 638 virtual RenderViewHost* CreateRenderViewHost( | 640 virtual RenderViewHost* CreateRenderViewHost( |
| 639 SiteInstance* instance, | 641 SiteInstance* instance, |
| 640 RenderViewHostDelegate* delegate, | 642 RenderViewHostDelegate* delegate, |
| 641 int routing_id, | 643 int routing_id, |
| 642 base::WaitableEvent* modal_dialog_event) = 0; | 644 base::WaitableEvent* modal_dialog_event) = 0; |
| 643 }; | 645 }; |
| 644 | 646 |
| 645 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H__ | 647 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H__ |
| OLD | NEW |