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

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

Issue 1507023004: Harden the implementation of '--disable-web-security' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: esprehn feedback Created 5 years 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 virtual void didChangeSandboxFlags(WebFrame* childFrame, WebSandboxFlags fla gs) { } 182 virtual void didChangeSandboxFlags(WebFrame* childFrame, WebSandboxFlags fla gs) { }
183 183
184 // Some frame owner properties have changed for a child frame of this frame. 184 // Some frame owner properties have changed for a child frame of this frame.
185 // Frame owner properties currently include: scrolling, marginwidth and 185 // Frame owner properties currently include: scrolling, marginwidth and
186 // marginheight. 186 // marginheight.
187 virtual void didChangeFrameOwnerProperties(WebFrame* childFrame, const WebFr ameOwnerProperties&) { } 187 virtual void didChangeFrameOwnerProperties(WebFrame* childFrame, const WebFr ameOwnerProperties&) { }
188 188
189 // Called when a watched CSS selector matches or stops matching. 189 // Called when a watched CSS selector matches or stops matching.
190 virtual void didMatchCSS(WebLocalFrame*, const WebVector<WebString>& newlyMa tchingSelectors, const WebVector<WebString>& stoppedMatchingSelectors) { } 190 virtual void didMatchCSS(WebLocalFrame*, const WebVector<WebString>& newlyMa tchingSelectors, const WebVector<WebString>& stoppedMatchingSelectors) { }
191 191
192
jochen (gone - plz use gerrit) 2015/12/10 15:39:33 unrelated?
193 // Console messages ---------------------------------------------------- 192 // Console messages ----------------------------------------------------
194 193
195 // Whether or not we should report a detailed message for the given source. 194 // Whether or not we should report a detailed message for the given source.
196 virtual bool shouldReportDetailedMessageForSource(const WebString& source) { return false; } 195 virtual bool shouldReportDetailedMessageForSource(const WebString& source) { return false; }
197 196
198 // A new message was added to the console. 197 // A new message was added to the console.
199 virtual void didAddMessageToConsole(const WebConsoleMessage&, const WebStrin g& sourceName, unsigned sourceLine, const WebString& stackTrace) { } 198 virtual void didAddMessageToConsole(const WebConsoleMessage&, const WebStrin g& sourceName, unsigned sourceLine, const WebString& stackTrace) { }
200 199
201 200
202 // Load commands ------------------------------------------------------- 201 // Load commands -------------------------------------------------------
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 // This method takes ownership of the callbacks pointer. 694 // This method takes ownership of the callbacks pointer.
696 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED(); } 695 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED(); }
697 696
698 protected: 697 protected:
699 virtual ~WebFrameClient() { } 698 virtual ~WebFrameClient() { }
700 }; 699 };
701 700
702 } // namespace blink 701 } // namespace blink
703 702
704 #endif 703 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698