| 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 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 579 void OnMsgDomOperationResponse(const std::string& json_string, | 579 void OnMsgDomOperationResponse(const std::string& json_string, |
| 580 int automation_id); | 580 int automation_id); |
| 581 void OnMsgWebUISend(const GURL& source_url, | 581 void OnMsgWebUISend(const GURL& source_url, |
| 582 const std::string& message, | 582 const std::string& message, |
| 583 const std::string& content); | 583 const std::string& content); |
| 584 void OnMsgForwardMessageToExternalHost(const std::string& message, | 584 void OnMsgForwardMessageToExternalHost(const std::string& message, |
| 585 const std::string& origin, | 585 const std::string& origin, |
| 586 const std::string& target); | 586 const std::string& target); |
| 587 void OnMsgSetTooltipText(const std::wstring& tooltip_text, | 587 void OnMsgSetTooltipText(const std::wstring& tooltip_text, |
| 588 WebKit::WebTextDirection text_direction_hint); | 588 WebKit::WebTextDirection text_direction_hint); |
| 589 void OnMsgSelectionChanged(const std::string& text); | 589 void OnMsgSelectionChanged(const std::string& text, int start, int end); |
| 590 void OnMsgPasteFromSelectionClipboard(); | 590 void OnMsgPasteFromSelectionClipboard(); |
| 591 void OnMsgRunJavaScriptMessage(const std::wstring& message, | 591 void OnMsgRunJavaScriptMessage(const std::wstring& message, |
| 592 const std::wstring& default_prompt, | 592 const std::wstring& default_prompt, |
| 593 const GURL& frame_url, | 593 const GURL& frame_url, |
| 594 const int flags, | 594 const int flags, |
| 595 IPC::Message* reply_msg); | 595 IPC::Message* reply_msg); |
| 596 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, | 596 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, |
| 597 const std::wstring& message, | 597 const std::wstring& message, |
| 598 IPC::Message* reply_msg); | 598 IPC::Message* reply_msg); |
| 599 void OnMsgShowModalHTMLDialog(const GURL& url, int width, int height, | 599 void OnMsgShowModalHTMLDialog(const GURL& url, int width, int height, |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 726 // The termination status of the last render view that terminated. | 726 // The termination status of the last render view that terminated. |
| 727 base::TerminationStatus render_view_termination_status_; | 727 base::TerminationStatus render_view_termination_status_; |
| 728 | 728 |
| 729 // The enabled/disabled states of various commands. | 729 // The enabled/disabled states of various commands. |
| 730 std::map<RenderViewCommand, CommandState> command_states_; | 730 std::map<RenderViewCommand, CommandState> command_states_; |
| 731 | 731 |
| 732 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 732 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 733 }; | 733 }; |
| 734 | 734 |
| 735 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 735 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |