Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(361)

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 1447563002: Implement frame attribution (FrameBlamer) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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/interface_provider.mojom.h" 39 #include "mojo/shell/public/interfaces/interface_provider.mojom.h"
39 #include "mojo/shell/public/interfaces/shell.mojom.h" 40 #include "mojo/shell/public/interfaces/shell.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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 class RendererMediaSessionManager; 138 class RendererMediaSessionManager;
138 class RendererPpapiHost; 139 class RendererPpapiHost;
139 class RendererSurfaceViewManager; 140 class RendererSurfaceViewManager;
140 class RenderFrameObserver; 141 class RenderFrameObserver;
141 class RenderViewImpl; 142 class RenderViewImpl;
142 class RenderWidget; 143 class RenderWidget;
143 class RenderWidgetFullscreenPepper; 144 class RenderWidgetFullscreenPepper;
144 class ScreenOrientationDispatcher; 145 class ScreenOrientationDispatcher;
145 class UserMediaClientImpl; 146 class UserMediaClientImpl;
146 class WakeLockDispatcher; 147 class WakeLockDispatcher;
148 class WebBlameContextImpl;
147 struct CommonNavigationParams; 149 struct CommonNavigationParams;
148 struct CustomContextMenuContext; 150 struct CustomContextMenuContext;
149 struct FrameReplicationState; 151 struct FrameReplicationState;
150 struct NavigationParams; 152 struct NavigationParams;
151 struct RequestNavigationParams; 153 struct RequestNavigationParams;
152 struct ResourceResponseHead; 154 struct ResourceResponseHead;
153 struct StartNavigationParams; 155 struct StartNavigationParams;
154 struct StreamOverrideParameters; 156 struct StreamOverrideParameters;
155 class VRDispatcher; 157 class VRDispatcher;
156 158
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 blink::WebMediaSession* media_session) override; 428 blink::WebMediaSession* media_session) override;
427 blink::WebMediaSession* createMediaSession() override; 429 blink::WebMediaSession* createMediaSession() override;
428 blink::WebApplicationCacheHost* createApplicationCacheHost( 430 blink::WebApplicationCacheHost* createApplicationCacheHost(
429 blink::WebApplicationCacheHostClient* client) override; 431 blink::WebApplicationCacheHostClient* client) override;
430 blink::WebWorkerContentSettingsClientProxy* 432 blink::WebWorkerContentSettingsClientProxy*
431 createWorkerContentSettingsClientProxy() override; 433 createWorkerContentSettingsClientProxy() override;
432 blink::WebExternalPopupMenu* createExternalPopupMenu( 434 blink::WebExternalPopupMenu* createExternalPopupMenu(
433 const blink::WebPopupMenuInfo& popup_menu_info, 435 const blink::WebPopupMenuInfo& popup_menu_info,
434 blink::WebExternalPopupMenuClient* popup_menu_client) override; 436 blink::WebExternalPopupMenuClient* popup_menu_client) override;
435 blink::WebCookieJar* cookieJar() override; 437 blink::WebCookieJar* cookieJar() override;
438 blink::WebBlameContext* frameBlameContext() override;
436 blink::WebServiceWorkerProvider* createServiceWorkerProvider() override; 439 blink::WebServiceWorkerProvider* createServiceWorkerProvider() override;
437 void didAccessInitialDocument() override; 440 void didAccessInitialDocument() override;
438 blink::WebFrame* createChildFrame( 441 blink::WebFrame* createChildFrame(
439 blink::WebLocalFrame* parent, 442 blink::WebLocalFrame* parent,
440 blink::WebTreeScopeType scope, 443 blink::WebTreeScopeType scope,
441 const blink::WebString& name, 444 const blink::WebString& name,
442 const blink::WebString& unique_name, 445 const blink::WebString& unique_name,
443 blink::WebSandboxFlags sandbox_flags, 446 blink::WebSandboxFlags sandbox_flags,
444 const blink::WebFrameOwnerProperties& frame_owner_properties) override; 447 const blink::WebFrameOwnerProperties& frame_owner_properties) override;
445 void didChangeOpener(blink::WebFrame* frame) override; 448 void didChangeOpener(blink::WebFrame* frame) override;
(...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after
1199 #if defined(ENABLE_WEBVR) 1202 #if defined(ENABLE_WEBVR)
1200 // The VR dispatcher attached to the frame, lazily initialized. 1203 // The VR dispatcher attached to the frame, lazily initialized.
1201 scoped_ptr<VRDispatcher> vr_dispatcher_; 1204 scoped_ptr<VRDispatcher> vr_dispatcher_;
1202 #endif 1205 #endif
1203 1206
1204 #if defined(OS_MACOSX) || defined(OS_ANDROID) 1207 #if defined(OS_MACOSX) || defined(OS_ANDROID)
1205 // The external popup for the currently showing select popup. 1208 // The external popup for the currently showing select popup.
1206 scoped_ptr<ExternalPopupMenu> external_popup_menu_; 1209 scoped_ptr<ExternalPopupMenu> external_popup_menu_;
1207 #endif 1210 #endif
1208 1211
1212 scoped_ptr<RenderFrameBlameContext> blame_context_;
1213 scoped_ptr<WebBlameContextImpl> web_blame_context_;
1214
1209 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1215 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1210 1216
1211 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1217 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1212 }; 1218 };
1213 1219
1214 } // namespace content 1220 } // namespace content
1215 1221
1216 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1222 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698