OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_RENDERER_RENDER_FRAME_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "base/process/process_handle.h" | 22 #include "base/process/process_handle.h" |
23 #include "build/build_config.h" | 23 #include "build/build_config.h" |
24 #include "content/common/accessibility_mode_enums.h" | 24 #include "content/common/accessibility_mode_enums.h" |
25 #include "content/common/frame_message_enums.h" | 25 #include "content/common/frame_message_enums.h" |
26 #include "content/common/mojo/service_registry_impl.h" | 26 #include "content/common/mojo/service_registry_impl.h" |
27 #include "content/public/common/console_message_level.h" | 27 #include "content/public/common/console_message_level.h" |
28 #include "content/public/common/javascript_message_type.h" | 28 #include "content/public/common/javascript_message_type.h" |
29 #include "content/public/common/referrer.h" | 29 #include "content/public/common/referrer.h" |
30 #include "content/public/common/stop_find_action.h" | 30 #include "content/public/common/stop_find_action.h" |
31 #include "content/public/renderer/render_frame.h" | 31 #include "content/public/renderer/render_frame.h" |
| 32 #include "content/renderer/render_frame_blame_context.h" |
32 #include "content/renderer/render_frame_proxy.h" | 33 #include "content/renderer/render_frame_proxy.h" |
33 #include "content/renderer/renderer_webcookiejar_impl.h" | 34 #include "content/renderer/renderer_webcookiejar_impl.h" |
34 #include "ipc/ipc_message.h" | 35 #include "ipc/ipc_message.h" |
35 #include "ipc/ipc_platform_file.h" | 36 #include "ipc/ipc_platform_file.h" |
36 #include "media/blink/webmediaplayer_delegate.h" | 37 #include "media/blink/webmediaplayer_delegate.h" |
37 #include "media/blink/webmediaplayer_params.h" | 38 #include "media/blink/webmediaplayer_params.h" |
38 #include "mojo/shell/public/interfaces/connector.mojom.h" | 39 #include "mojo/shell/public/interfaces/connector.mojom.h" |
39 #include "mojo/shell/public/interfaces/interface_provider.mojom.h" | 40 #include "mojo/shell/public/interfaces/interface_provider.mojom.h" |
40 #include "third_party/WebKit/public/platform/WebFocusType.h" | 41 #include "third_party/WebKit/public/platform/WebFocusType.h" |
41 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" | 42 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" |
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 blink::WebMediaSession* media_session) override; | 424 blink::WebMediaSession* media_session) override; |
424 blink::WebMediaSession* createMediaSession() override; | 425 blink::WebMediaSession* createMediaSession() override; |
425 blink::WebApplicationCacheHost* createApplicationCacheHost( | 426 blink::WebApplicationCacheHost* createApplicationCacheHost( |
426 blink::WebApplicationCacheHostClient* client) override; | 427 blink::WebApplicationCacheHostClient* client) override; |
427 blink::WebWorkerContentSettingsClientProxy* | 428 blink::WebWorkerContentSettingsClientProxy* |
428 createWorkerContentSettingsClientProxy() override; | 429 createWorkerContentSettingsClientProxy() override; |
429 blink::WebExternalPopupMenu* createExternalPopupMenu( | 430 blink::WebExternalPopupMenu* createExternalPopupMenu( |
430 const blink::WebPopupMenuInfo& popup_menu_info, | 431 const blink::WebPopupMenuInfo& popup_menu_info, |
431 blink::WebExternalPopupMenuClient* popup_menu_client) override; | 432 blink::WebExternalPopupMenuClient* popup_menu_client) override; |
432 blink::WebCookieJar* cookieJar() override; | 433 blink::WebCookieJar* cookieJar() override; |
| 434 blink::BlameContext* frameBlameContext() override; |
433 blink::WebServiceWorkerProvider* createServiceWorkerProvider() override; | 435 blink::WebServiceWorkerProvider* createServiceWorkerProvider() override; |
434 void didAccessInitialDocument() override; | 436 void didAccessInitialDocument() override; |
435 blink::WebFrame* createChildFrame( | 437 blink::WebFrame* createChildFrame( |
436 blink::WebLocalFrame* parent, | 438 blink::WebLocalFrame* parent, |
437 blink::WebTreeScopeType scope, | 439 blink::WebTreeScopeType scope, |
438 const blink::WebString& name, | 440 const blink::WebString& name, |
439 const blink::WebString& unique_name, | 441 const blink::WebString& unique_name, |
440 blink::WebSandboxFlags sandbox_flags, | 442 blink::WebSandboxFlags sandbox_flags, |
441 const blink::WebFrameOwnerProperties& frame_owner_properties) override; | 443 const blink::WebFrameOwnerProperties& frame_owner_properties) override; |
442 void didChangeOpener(blink::WebFrame* frame) override; | 444 void didChangeOpener(blink::WebFrame* frame) override; |
(...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1196 #if defined(ENABLE_WEBVR) | 1198 #if defined(ENABLE_WEBVR) |
1197 // The VR dispatcher attached to the frame, lazily initialized. | 1199 // The VR dispatcher attached to the frame, lazily initialized. |
1198 scoped_ptr<VRDispatcher> vr_dispatcher_; | 1200 scoped_ptr<VRDispatcher> vr_dispatcher_; |
1199 #endif | 1201 #endif |
1200 | 1202 |
1201 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 1203 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
1202 // The external popup for the currently showing select popup. | 1204 // The external popup for the currently showing select popup. |
1203 scoped_ptr<ExternalPopupMenu> external_popup_menu_; | 1205 scoped_ptr<ExternalPopupMenu> external_popup_menu_; |
1204 #endif | 1206 #endif |
1205 | 1207 |
| 1208 RenderFrameBlameContext* blame_context_; // Not owned. |
| 1209 |
1206 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1210 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1207 | 1211 |
1208 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1212 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1209 }; | 1213 }; |
1210 | 1214 |
1211 } // namespace content | 1215 } // namespace content |
1212 | 1216 |
1213 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1217 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |