| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 struct ViewHostMsg_ShowPopup_Params; | 46 struct ViewHostMsg_ShowPopup_Params; |
| 47 struct ViewMsg_Navigate_Params; | 47 struct ViewMsg_Navigate_Params; |
| 48 struct WebDropData; | 48 struct WebDropData; |
| 49 struct WebPreferences; | 49 struct WebPreferences; |
| 50 struct UserMetricsAction; | 50 struct UserMetricsAction; |
| 51 | 51 |
| 52 namespace gfx { | 52 namespace gfx { |
| 53 class Point; | 53 class Point; |
| 54 } // namespace gfx | 54 } // namespace gfx |
| 55 | 55 |
| 56 namespace ui { |
| 57 class Range; |
| 58 } // namespace ui |
| 59 |
| 56 namespace webkit_glue { | 60 namespace webkit_glue { |
| 57 struct CustomContextMenuContext; | 61 struct CustomContextMenuContext; |
| 58 struct WebAccessibility; | 62 struct WebAccessibility; |
| 59 } // namespace webkit_glue | 63 } // namespace webkit_glue |
| 60 | 64 |
| 61 namespace WebKit { | 65 namespace WebKit { |
| 62 struct WebMediaPlayerAction; | 66 struct WebMediaPlayerAction; |
| 63 } // namespace WebKit | 67 } // namespace WebKit |
| 64 | 68 |
| 65 namespace net { | 69 namespace net { |
| (...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 555 void OnMsgDomOperationResponse(const std::string& json_string, | 559 void OnMsgDomOperationResponse(const std::string& json_string, |
| 556 int automation_id); | 560 int automation_id); |
| 557 void OnMsgWebUISend(const GURL& source_url, | 561 void OnMsgWebUISend(const GURL& source_url, |
| 558 const std::string& message, | 562 const std::string& message, |
| 559 const std::string& content); | 563 const std::string& content); |
| 560 void OnMsgForwardMessageToExternalHost(const std::string& message, | 564 void OnMsgForwardMessageToExternalHost(const std::string& message, |
| 561 const std::string& origin, | 565 const std::string& origin, |
| 562 const std::string& target); | 566 const std::string& target); |
| 563 void OnMsgSetTooltipText(const std::wstring& tooltip_text, | 567 void OnMsgSetTooltipText(const std::wstring& tooltip_text, |
| 564 WebKit::WebTextDirection text_direction_hint); | 568 WebKit::WebTextDirection text_direction_hint); |
| 565 void OnMsgSelectionChanged(const std::string& text); | 569 void OnMsgSelectionChanged(const std::string& text, const ui::Range& range); |
| 566 void OnMsgPasteFromSelectionClipboard(); | 570 void OnMsgPasteFromSelectionClipboard(); |
| 567 void OnMsgRunJavaScriptMessage(const std::wstring& message, | 571 void OnMsgRunJavaScriptMessage(const std::wstring& message, |
| 568 const std::wstring& default_prompt, | 572 const std::wstring& default_prompt, |
| 569 const GURL& frame_url, | 573 const GURL& frame_url, |
| 570 const int flags, | 574 const int flags, |
| 571 IPC::Message* reply_msg); | 575 IPC::Message* reply_msg); |
| 572 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, | 576 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, |
| 573 const std::wstring& message, | 577 const std::wstring& message, |
| 574 IPC::Message* reply_msg); | 578 IPC::Message* reply_msg); |
| 575 void OnMsgStartDragging(const WebDropData& drop_data, | 579 void OnMsgStartDragging(const WebDropData& drop_data, |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 691 // The enabled/disabled states of various commands. | 695 // The enabled/disabled states of various commands. |
| 692 std::map<RenderViewCommand, CommandState> command_states_; | 696 std::map<RenderViewCommand, CommandState> command_states_; |
| 693 | 697 |
| 694 // A list of observers that filter messages. Weak references. | 698 // A list of observers that filter messages. Weak references. |
| 695 ObserverList<RenderViewHostObserver> observers_; | 699 ObserverList<RenderViewHostObserver> observers_; |
| 696 | 700 |
| 697 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 701 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 698 }; | 702 }; |
| 699 | 703 |
| 700 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 704 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |