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