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

Side by Side Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.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 /* 1 /*
2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() override; 172 SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() override;
173 173
174 PassOwnPtr<WebApplicationCacheHost> createApplicationCacheHost(WebApplicatio nCacheHostClient*) override; 174 PassOwnPtr<WebApplicationCacheHost> createApplicationCacheHost(WebApplicatio nCacheHostClient*) override;
175 175
176 void dispatchDidChangeManifest() override; 176 void dispatchDidChangeManifest() override;
177 177
178 unsigned backForwardLength() override; 178 unsigned backForwardLength() override;
179 179
180 void suddenTerminationDisablerChanged(bool present, SuddenTerminationDisable rType) override; 180 void suddenTerminationDisablerChanged(bool present, SuddenTerminationDisable rType) override;
181 181
182 BlameContext* frameBlameContext() override;
183
182 private: 184 private:
183 explicit FrameLoaderClientImpl(WebLocalFrameImpl*); 185 explicit FrameLoaderClientImpl(WebLocalFrameImpl*);
184 186
185 bool isFrameLoaderClientImpl() const override { return true; } 187 bool isFrameLoaderClientImpl() const override { return true; }
186 188
187 // The WebFrame that owns this object and manages its lifetime. Therefore, 189 // The WebFrame that owns this object and manages its lifetime. Therefore,
188 // the web frame object is guaranteed to exist. 190 // the web frame object is guaranteed to exist.
189 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame; 191 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame;
190 }; 192 };
191 193
192 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 194 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
193 195
194 } // namespace blink 196 } // namespace blink
195 197
196 #endif 198 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698