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

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/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 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 blink::WebMediaSession* media_session) override; 428 blink::WebMediaSession* media_session) override;
428 blink::WebMediaSession* createMediaSession() override; 429 blink::WebMediaSession* createMediaSession() override;
429 blink::WebApplicationCacheHost* createApplicationCacheHost( 430 blink::WebApplicationCacheHost* createApplicationCacheHost(
430 blink::WebApplicationCacheHostClient* client) override; 431 blink::WebApplicationCacheHostClient* client) override;
431 blink::WebWorkerContentSettingsClientProxy* 432 blink::WebWorkerContentSettingsClientProxy*
432 createWorkerContentSettingsClientProxy() override; 433 createWorkerContentSettingsClientProxy() override;
433 blink::WebExternalPopupMenu* createExternalPopupMenu( 434 blink::WebExternalPopupMenu* createExternalPopupMenu(
434 const blink::WebPopupMenuInfo& popup_menu_info, 435 const blink::WebPopupMenuInfo& popup_menu_info,
435 blink::WebExternalPopupMenuClient* popup_menu_client) override; 436 blink::WebExternalPopupMenuClient* popup_menu_client) override;
436 blink::WebCookieJar* cookieJar() override; 437 blink::WebCookieJar* cookieJar() override;
438 blink::BlameContext* frameBlameContext() override;
437 blink::WebServiceWorkerProvider* createServiceWorkerProvider() override; 439 blink::WebServiceWorkerProvider* createServiceWorkerProvider() override;
438 void didAccessInitialDocument() override; 440 void didAccessInitialDocument() override;
439 blink::WebFrame* createChildFrame( 441 blink::WebFrame* createChildFrame(
440 blink::WebLocalFrame* parent, 442 blink::WebLocalFrame* parent,
441 blink::WebTreeScopeType scope, 443 blink::WebTreeScopeType scope,
442 const blink::WebString& name, 444 const blink::WebString& name,
443 const blink::WebString& unique_name, 445 const blink::WebString& unique_name,
444 blink::WebSandboxFlags sandbox_flags, 446 blink::WebSandboxFlags sandbox_flags,
445 const blink::WebFrameOwnerProperties& frame_owner_properties) override; 447 const blink::WebFrameOwnerProperties& frame_owner_properties) override;
446 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
1200 #if defined(ENABLE_WEBVR) 1202 #if defined(ENABLE_WEBVR)
1201 // The VR dispatcher attached to the frame, lazily initialized. 1203 // The VR dispatcher attached to the frame, lazily initialized.
1202 scoped_ptr<VRDispatcher> vr_dispatcher_; 1204 scoped_ptr<VRDispatcher> vr_dispatcher_;
1203 #endif 1205 #endif
1204 1206
1205 #if defined(OS_MACOSX) || defined(OS_ANDROID) 1207 #if defined(OS_MACOSX) || defined(OS_ANDROID)
1206 // The external popup for the currently showing select popup. 1208 // The external popup for the currently showing select popup.
1207 scoped_ptr<ExternalPopupMenu> external_popup_menu_; 1209 scoped_ptr<ExternalPopupMenu> external_popup_menu_;
1208 #endif 1210 #endif
1209 1211
1212 scoped_ptr<RenderFrameBlameContext> blame_context_;
1213
1210 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1214 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1211 1215
1212 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1216 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1213 }; 1217 };
1214 1218
1215 } // namespace content 1219 } // namespace content
1216 1220
1217 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1221 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698