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/javascript_message_type.h" |
19 #include "content/public/browser/notification_observer.h" | 20 #include "content/public/browser/notification_observer.h" |
20 #include "content/public/browser/render_view_host.h" | 21 #include "content/public/browser/render_view_host.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 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 size_t offset, | 494 size_t offset, |
495 const ui::Range& range); | 495 const ui::Range& range); |
496 void OnMsgSelectionBoundsChanged(const gfx::Rect& start_rect, | 496 void OnMsgSelectionBoundsChanged(const gfx::Rect& start_rect, |
497 const gfx::Rect& end_rect); | 497 const gfx::Rect& end_rect); |
498 void OnMsgPasteFromSelectionClipboard(); | 498 void OnMsgPasteFromSelectionClipboard(); |
499 void OnMsgRouteCloseEvent(); | 499 void OnMsgRouteCloseEvent(); |
500 void OnMsgRouteMessageEvent(const ViewMsg_PostMessage_Params& params); | 500 void OnMsgRouteMessageEvent(const ViewMsg_PostMessage_Params& params); |
501 void OnMsgRunJavaScriptMessage(const string16& message, | 501 void OnMsgRunJavaScriptMessage(const string16& message, |
502 const string16& default_prompt, | 502 const string16& default_prompt, |
503 const GURL& frame_url, | 503 const GURL& frame_url, |
504 ui::JavascriptMessageType type, | 504 content::JavaScriptMessageType type, |
505 IPC::Message* reply_msg); | 505 IPC::Message* reply_msg); |
506 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, | 506 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, |
507 const string16& message, | 507 const string16& message, |
508 bool is_reload, | 508 bool is_reload, |
509 IPC::Message* reply_msg); | 509 IPC::Message* reply_msg); |
510 void OnMsgStartDragging(const WebDropData& drop_data, | 510 void OnMsgStartDragging(const WebDropData& drop_data, |
511 WebKit::WebDragOperationsMask operations_allowed, | 511 WebKit::WebDragOperationsMask operations_allowed, |
512 const SkBitmap& image, | 512 const SkBitmap& image, |
513 const gfx::Point& image_offset); | 513 const gfx::Point& image_offset); |
514 void OnUpdateDragCursor(WebKit::WebDragOperation drag_operation); | 514 void OnUpdateDragCursor(WebKit::WebDragOperation drag_operation); |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
653 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 653 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
654 }; | 654 }; |
655 | 655 |
656 #if defined(COMPILER_MSVC) | 656 #if defined(COMPILER_MSVC) |
657 #pragma warning(pop) | 657 #pragma warning(pop) |
658 #endif | 658 #endif |
659 | 659 |
660 } // namespace content | 660 } // namespace content |
661 | 661 |
662 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 662 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |