OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
582 void OnMsgDOMUISend(const GURL& source_url, | 582 void OnMsgDOMUISend(const GURL& source_url, |
583 const std::string& message, | 583 const std::string& message, |
584 const std::string& content); | 584 const std::string& content); |
585 void OnMsgForwardMessageToExternalHost(const std::string& message, | 585 void OnMsgForwardMessageToExternalHost(const std::string& message, |
586 const std::string& origin, | 586 const std::string& origin, |
587 const std::string& target); | 587 const std::string& target); |
588 void OnMsgSetTooltipText(const std::wstring& tooltip_text, | 588 void OnMsgSetTooltipText(const std::wstring& tooltip_text, |
589 WebKit::WebTextDirection text_direction_hint); | 589 WebKit::WebTextDirection text_direction_hint); |
590 void OnMsgSelectionChanged(const std::string& text); | 590 void OnMsgSelectionChanged(const std::string& text); |
591 void OnMsgPasteFromSelectionClipboard(); | 591 void OnMsgPasteFromSelectionClipboard(); |
| 592 void OnMsgRegisterProtocolHandler(const std::string& protocol, |
| 593 const std::string& url, |
| 594 const std::string& title); |
592 void OnMsgRunJavaScriptMessage(const std::wstring& message, | 595 void OnMsgRunJavaScriptMessage(const std::wstring& message, |
593 const std::wstring& default_prompt, | 596 const std::wstring& default_prompt, |
594 const GURL& frame_url, | 597 const GURL& frame_url, |
595 const int flags, | 598 const int flags, |
596 IPC::Message* reply_msg); | 599 IPC::Message* reply_msg); |
597 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, | 600 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, |
598 const std::wstring& message, | 601 const std::wstring& message, |
599 IPC::Message* reply_msg); | 602 IPC::Message* reply_msg); |
600 void OnMsgShowModalHTMLDialog(const GURL& url, int width, int height, | 603 void OnMsgShowModalHTMLDialog(const GURL& url, int width, int height, |
601 const std::string& json_arguments, | 604 const std::string& json_arguments, |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
730 // The termination status of the last render view that terminated. | 733 // The termination status of the last render view that terminated. |
731 base::TerminationStatus render_view_termination_status_; | 734 base::TerminationStatus render_view_termination_status_; |
732 | 735 |
733 // The enabled/disabled states of various commands. | 736 // The enabled/disabled states of various commands. |
734 std::map<RenderViewCommand, CommandState> command_states_; | 737 std::map<RenderViewCommand, CommandState> command_states_; |
735 | 738 |
736 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 739 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
737 }; | 740 }; |
738 | 741 |
739 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 742 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |