| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/logging.h" | 13 #include "base/logging.h" |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
| 16 #include "base/process_util.h" | 16 #include "base/process_util.h" |
| 17 #include "content/browser/renderer_host/render_widget_host_impl.h" | 17 #include "content/browser/renderer_host/render_widget_host_impl.h" |
| 18 #include "content/browser/site_instance_impl.h" | 18 #include "content/browser/site_instance_impl.h" |
| 19 #include "content/public/browser/notification_observer.h" | 19 #include "content/public/browser/notification_observer.h" |
| 20 #include "content/public/browser/render_view_host.h" | 20 #include "content/public/browser/render_view_host.h" |
| 21 #include "content/public/common/javascript_message_type.h" |
| 21 #include "content/public/common/window_container_type.h" | 22 #include "content/public/common/window_container_type.h" |
| 22 #include "net/base/load_states.h" | 23 #include "net/base/load_states.h" |
| 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" | 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" |
| 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" | 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" |
| 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" | 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" |
| 26 #include "ui/base/javascript_message_type.h" | |
| 27 #include "webkit/glue/webaccessibility.h" | 27 #include "webkit/glue/webaccessibility.h" |
| 28 #include "webkit/glue/window_open_disposition.h" | 28 #include "webkit/glue/window_open_disposition.h" |
| 29 | 29 |
| 30 class ChildProcessSecurityPolicyImpl; | 30 class ChildProcessSecurityPolicyImpl; |
| 31 class PowerSaveBlocker; | 31 class PowerSaveBlocker; |
| 32 class SessionStorageNamespaceImpl; | 32 class SessionStorageNamespaceImpl; |
| 33 class SkBitmap; | 33 class SkBitmap; |
| 34 class ViewMsg_Navigate; | 34 class ViewMsg_Navigate; |
| 35 struct AccessibilityHostMsg_NotificationParams; | 35 struct AccessibilityHostMsg_NotificationParams; |
| 36 struct MediaPlayerAction; | 36 struct MediaPlayerAction; |
| (...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 499 size_t offset, | 499 size_t offset, |
| 500 const ui::Range& range); | 500 const ui::Range& range); |
| 501 void OnMsgSelectionBoundsChanged(const gfx::Rect& start_rect, | 501 void OnMsgSelectionBoundsChanged(const gfx::Rect& start_rect, |
| 502 const gfx::Rect& end_rect); | 502 const gfx::Rect& end_rect); |
| 503 void OnMsgPasteFromSelectionClipboard(); | 503 void OnMsgPasteFromSelectionClipboard(); |
| 504 void OnMsgRouteCloseEvent(); | 504 void OnMsgRouteCloseEvent(); |
| 505 void OnMsgRouteMessageEvent(const ViewMsg_PostMessage_Params& params); | 505 void OnMsgRouteMessageEvent(const ViewMsg_PostMessage_Params& params); |
| 506 void OnMsgRunJavaScriptMessage(const string16& message, | 506 void OnMsgRunJavaScriptMessage(const string16& message, |
| 507 const string16& default_prompt, | 507 const string16& default_prompt, |
| 508 const GURL& frame_url, | 508 const GURL& frame_url, |
| 509 ui::JavascriptMessageType type, | 509 content::JavaScriptMessageType type, |
| 510 IPC::Message* reply_msg); | 510 IPC::Message* reply_msg); |
| 511 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, | 511 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, |
| 512 const string16& message, | 512 const string16& message, |
| 513 bool is_reload, | 513 bool is_reload, |
| 514 IPC::Message* reply_msg); | 514 IPC::Message* reply_msg); |
| 515 void OnMsgStartDragging(const WebDropData& drop_data, | 515 void OnMsgStartDragging(const WebDropData& drop_data, |
| 516 WebKit::WebDragOperationsMask operations_allowed, | 516 WebKit::WebDragOperationsMask operations_allowed, |
| 517 const SkBitmap& image, | 517 const SkBitmap& image, |
| 518 const gfx::Point& image_offset); | 518 const gfx::Point& image_offset); |
| 519 void OnUpdateDragCursor(WebKit::WebDragOperation drag_operation); | 519 void OnUpdateDragCursor(WebKit::WebDragOperation drag_operation); |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 658 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 658 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
| 659 }; | 659 }; |
| 660 | 660 |
| 661 #if defined(COMPILER_MSVC) | 661 #if defined(COMPILER_MSVC) |
| 662 #pragma warning(pop) | 662 #pragma warning(pop) |
| 663 #endif | 663 #endif |
| 664 | 664 |
| 665 } // namespace content | 665 } // namespace content |
| 666 | 666 |
| 667 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 667 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| OLD | NEW |