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

Side by Side Diff: third_party/WebKit/public/web/WebFrameClient.h

Issue 1447563002: Implement frame attribution (FrameBlamer) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: It builds => ship it. Created 4 years, 10 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 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 #include "public/platform/WebURLError.h" 56 #include "public/platform/WebURLError.h"
57 #include "public/platform/WebURLRequest.h" 57 #include "public/platform/WebURLRequest.h"
58 #include <v8.h> 58 #include <v8.h>
59 59
60 namespace blink { 60 namespace blink {
61 61
62 enum class WebTreeScopeType; 62 enum class WebTreeScopeType;
63 class WebApplicationCacheHost; 63 class WebApplicationCacheHost;
64 class WebApplicationCacheHostClient; 64 class WebApplicationCacheHostClient;
65 class WebAppBannerClient; 65 class WebAppBannerClient;
66 class WebBlameContext;
66 class WebBluetooth; 67 class WebBluetooth;
67 class WebColorChooser; 68 class WebColorChooser;
68 class WebColorChooserClient; 69 class WebColorChooserClient;
69 class WebContentDecryptionModule; 70 class WebContentDecryptionModule;
70 class WebCookieJar; 71 class WebCookieJar;
71 class WebCString; 72 class WebCString;
72 class WebDataSource; 73 class WebDataSource;
73 class WebEncryptedMediaClient; 74 class WebEncryptedMediaClient;
74 class WebExternalPopupMenu; 75 class WebExternalPopupMenu;
75 class WebExternalPopupMenuClient; 76 class WebExternalPopupMenuClient;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 virtual WebExternalPopupMenu* createExternalPopupMenu( 133 virtual WebExternalPopupMenu* createExternalPopupMenu(
133 const WebPopupMenuInfo&, WebExternalPopupMenuClient*) { return 0; } 134 const WebPopupMenuInfo&, WebExternalPopupMenuClient*) { return 0; }
134 135
135 136
136 // Services ------------------------------------------------------------ 137 // Services ------------------------------------------------------------
137 138
138 // A frame specific cookie jar. May return null, in which case 139 // A frame specific cookie jar. May return null, in which case
139 // WebKitPlatformSupport::cookieJar() will be called to access cookies. 140 // WebKitPlatformSupport::cookieJar() will be called to access cookies.
140 virtual WebCookieJar* cookieJar() { return 0; } 141 virtual WebCookieJar* cookieJar() { return 0; }
141 142
143 virtual WebBlameContext* frameBlameContext() { return nullptr; }
142 144
143 // General notifications ----------------------------------------------- 145 // General notifications -----------------------------------------------
144 146
145 // Indicates if creating a plugin without an associated renderer is supporte d. 147 // Indicates if creating a plugin without an associated renderer is supporte d.
146 virtual bool canCreatePluginWithoutRenderer(const WebString& mimeType) { ret urn false; } 148 virtual bool canCreatePluginWithoutRenderer(const WebString& mimeType) { ret urn false; }
147 149
148 // Indicates that another page has accessed the DOM of the initial empty 150 // Indicates that another page has accessed the DOM of the initial empty
149 // document of a main frame. After this, it is no longer safe to show a 151 // document of a main frame. After this, it is no longer safe to show a
150 // pending navigation's URL, because a URL spoof is possible. 152 // pending navigation's URL, because a URL spoof is possible.
151 virtual void didAccessInitialDocument() { } 153 virtual void didAccessInitialDocument() { }
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
699 // This method takes ownership of the callbacks pointer. 701 // This method takes ownership of the callbacks pointer.
700 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED(); } 702 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED(); }
701 703
702 protected: 704 protected:
703 virtual ~WebFrameClient() { } 705 virtual ~WebFrameClient() { }
704 }; 706 };
705 707
706 } // namespace blink 708 } // namespace blink
707 709
708 #endif 710 #endif
OLDNEW
« base/debug/blame_context.h ('K') | « third_party/WebKit/public/platform/WebViewScheduler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698