| 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 6 #define CONTENT_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 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 586 void OnMsgDomOperationResponse(const std::string& json_string, | 586 void OnMsgDomOperationResponse(const std::string& json_string, |
| 587 int automation_id); | 587 int automation_id); |
| 588 void OnMsgWebUISend(const GURL& source_url, | 588 void OnMsgWebUISend(const GURL& source_url, |
| 589 const std::string& message, | 589 const std::string& message, |
| 590 const std::string& content); | 590 const std::string& content); |
| 591 void OnMsgForwardMessageToExternalHost(const std::string& message, | 591 void OnMsgForwardMessageToExternalHost(const std::string& message, |
| 592 const std::string& origin, | 592 const std::string& origin, |
| 593 const std::string& target); | 593 const std::string& target); |
| 594 void OnMsgSetTooltipText(const std::wstring& tooltip_text, | 594 void OnMsgSetTooltipText(const std::wstring& tooltip_text, |
| 595 WebKit::WebTextDirection text_direction_hint); | 595 WebKit::WebTextDirection text_direction_hint); |
| 596 void OnMsgSelectionChanged(const std::string& text); | 596 void OnMsgSelectionChanged(const std::string& text, int start, int end); |
| 597 void OnMsgPasteFromSelectionClipboard(); | 597 void OnMsgPasteFromSelectionClipboard(); |
| 598 void OnMsgRunJavaScriptMessage(const std::wstring& message, | 598 void OnMsgRunJavaScriptMessage(const std::wstring& message, |
| 599 const std::wstring& default_prompt, | 599 const std::wstring& default_prompt, |
| 600 const GURL& frame_url, | 600 const GURL& frame_url, |
| 601 const int flags, | 601 const int flags, |
| 602 IPC::Message* reply_msg); | 602 IPC::Message* reply_msg); |
| 603 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, | 603 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, |
| 604 const std::wstring& message, | 604 const std::wstring& message, |
| 605 IPC::Message* reply_msg); | 605 IPC::Message* reply_msg); |
| 606 void OnMsgShowModalHTMLDialog(const GURL& url, int width, int height, | 606 void OnMsgShowModalHTMLDialog(const GURL& url, int width, int height, |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 732 // The termination status of the last render view that terminated. | 732 // The termination status of the last render view that terminated. |
| 733 base::TerminationStatus render_view_termination_status_; | 733 base::TerminationStatus render_view_termination_status_; |
| 734 | 734 |
| 735 // The enabled/disabled states of various commands. | 735 // The enabled/disabled states of various commands. |
| 736 std::map<RenderViewCommand, CommandState> command_states_; | 736 std::map<RenderViewCommand, CommandState> command_states_; |
| 737 | 737 |
| 738 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 738 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 739 }; | 739 }; |
| 740 | 740 |
| 741 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 741 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |