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

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

Issue 2625773002: Reenable framebusting (Closed)
Patch Set: Pass through FrameReplicationState Created 3 years, 11 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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 // marginheight. 245 // marginheight.
246 virtual void didChangeFrameOwnerProperties(WebFrame* childFrame, 246 virtual void didChangeFrameOwnerProperties(WebFrame* childFrame,
247 const WebFrameOwnerProperties&) {} 247 const WebFrameOwnerProperties&) {}
248 248
249 // Called when a watched CSS selector matches or stops matching. 249 // Called when a watched CSS selector matches or stops matching.
250 virtual void didMatchCSS( 250 virtual void didMatchCSS(
251 WebLocalFrame*, 251 WebLocalFrame*,
252 const WebVector<WebString>& newlyMatchingSelectors, 252 const WebVector<WebString>& newlyMatchingSelectors,
253 const WebVector<WebString>& stoppedMatchingSelectors) {} 253 const WebVector<WebString>& stoppedMatchingSelectors) {}
254 254
255 // Called the first time this frame is the target of a user gesture.
256 virtual void setHasReceivedUserGesture() {}
257
255 // Console messages ---------------------------------------------------- 258 // Console messages ----------------------------------------------------
256 259
257 // Whether or not we should report a detailed message for the given source. 260 // Whether or not we should report a detailed message for the given source.
258 virtual bool shouldReportDetailedMessageForSource(const WebString& source) { 261 virtual bool shouldReportDetailedMessageForSource(const WebString& source) {
259 return false; 262 return false;
260 } 263 }
261 264
262 // A new message was added to the console. 265 // A new message was added to the console.
263 virtual void didAddMessageToConsole(const WebConsoleMessage&, 266 virtual void didAddMessageToConsole(const WebConsoleMessage&,
264 const WebString& sourceName, 267 const WebString& sourceName,
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 // Overwrites the given URL to use an HTML5 embed if possible. 758 // Overwrites the given URL to use an HTML5 embed if possible.
756 // An empty URL is returned if the URL is not overriden. 759 // An empty URL is returned if the URL is not overriden.
757 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { 760 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) {
758 return WebURL(); 761 return WebURL();
759 } 762 }
760 }; 763 };
761 764
762 } // namespace blink 765 } // namespace blink
763 766
764 #endif 767 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | third_party/WebKit/public/web/WebRemoteFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698