OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
504 const std::string& target); | 504 const std::string& target); |
505 #ifdef CHROME_PERSONALIZATION | 505 #ifdef CHROME_PERSONALIZATION |
506 void OnPersonalizationEvent(const std::string& message, | 506 void OnPersonalizationEvent(const std::string& message, |
507 const std::string& content); | 507 const std::string& content); |
508 #endif | 508 #endif |
509 void OnMsgGoToEntryAtOffset(int offset); | 509 void OnMsgGoToEntryAtOffset(int offset); |
510 void OnMsgSetTooltipText(const std::wstring& tooltip_text); | 510 void OnMsgSetTooltipText(const std::wstring& tooltip_text); |
511 void OnMsgSelectionChanged(const std::string& text); | 511 void OnMsgSelectionChanged(const std::string& text); |
512 void OnMsgPasteFromSelectionClipboard(); | 512 void OnMsgPasteFromSelectionClipboard(); |
513 void OnMsgRunFileChooser(bool multiple_files, | 513 void OnMsgRunFileChooser(bool multiple_files, |
514 const std::wstring& title, | 514 const string16& title, |
515 const std::wstring& default_file, | 515 const FilePath& default_file); |
516 const std::wstring& filter); | |
517 void OnMsgRunJavaScriptMessage(const std::wstring& message, | 516 void OnMsgRunJavaScriptMessage(const std::wstring& message, |
518 const std::wstring& default_prompt, | 517 const std::wstring& default_prompt, |
519 const GURL& frame_url, | 518 const GURL& frame_url, |
520 const int flags, | 519 const int flags, |
521 IPC::Message* reply_msg); | 520 IPC::Message* reply_msg); |
522 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, | 521 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, |
523 const std::wstring& message, | 522 const std::wstring& message, |
524 IPC::Message* reply_msg); | 523 IPC::Message* reply_msg); |
525 void OnMsgShowModalHTMLDialog(const GURL& url, int width, int height, | 524 void OnMsgShowModalHTMLDialog(const GURL& url, int width, int height, |
526 const std::string& json_arguments, | 525 const std::string& json_arguments, |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
647 | 646 |
648 bool are_javascript_messages_suppressed_; | 647 bool are_javascript_messages_suppressed_; |
649 | 648 |
650 // Handles processing IPC messages request extension functions be executed. | 649 // Handles processing IPC messages request extension functions be executed. |
651 ExtensionFunctionDispatcher extension_function_dispatcher_; | 650 ExtensionFunctionDispatcher extension_function_dispatcher_; |
652 | 651 |
653 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 652 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
654 }; | 653 }; |
655 | 654 |
656 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 655 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |