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

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: exclude //content/shell 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 virtual void didChangeSandboxFlags(WebFrame* childFrame, WebSandboxFlags fla gs) { } 181 virtual void didChangeSandboxFlags(WebFrame* childFrame, WebSandboxFlags fla gs) { }
182 182
183 // Some frame owner properties have changed for a child frame of this frame. 183 // Some frame owner properties have changed for a child frame of this frame.
184 // Frame owner properties currently include: scrolling, marginwidth and 184 // Frame owner properties currently include: scrolling, marginwidth and
185 // marginheight. 185 // marginheight.
186 virtual void didChangeFrameOwnerProperties(WebFrame* childFrame, const WebFr ameOwnerProperties&) { } 186 virtual void didChangeFrameOwnerProperties(WebFrame* childFrame, const WebFr ameOwnerProperties&) { }
187 187
188 // Called when a watched CSS selector matches or stops matching. 188 // Called when a watched CSS selector matches or stops matching.
189 virtual void didMatchCSS(WebLocalFrame*, const WebVector<WebString>& newlyMa tchingSelectors, const WebVector<WebString>& stoppedMatchingSelectors) { } 189 virtual void didMatchCSS(WebLocalFrame*, const WebVector<WebString>& newlyMa tchingSelectors, const WebVector<WebString>& stoppedMatchingSelectors) { }
190 190
191
192 // Console messages ---------------------------------------------------- 191 // Console messages ----------------------------------------------------
193 192
194 // Whether or not we should report a detailed message for the given source. 193 // Whether or not we should report a detailed message for the given source.
195 virtual bool shouldReportDetailedMessageForSource(const WebString& source) { return false; } 194 virtual bool shouldReportDetailedMessageForSource(const WebString& source) { return false; }
196 195
197 // A new message was added to the console. 196 // A new message was added to the console.
198 virtual void didAddMessageToConsole(const WebConsoleMessage&, const WebStrin g& sourceName, unsigned sourceLine, const WebString& stackTrace) { } 197 virtual void didAddMessageToConsole(const WebConsoleMessage&, const WebStrin g& sourceName, unsigned sourceLine, const WebString& stackTrace) { }
199 198
200 199
201 // Load commands ------------------------------------------------------- 200 // Load commands -------------------------------------------------------
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 // This method takes ownership of the callbacks pointer. 686 // This method takes ownership of the callbacks pointer.
688 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED(); } 687 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED(); }
689 688
690 protected: 689 protected:
691 virtual ~WebFrameClient() { } 690 virtual ~WebFrameClient() { }
692 }; 691 };
693 692
694 } // namespace blink 693 } // namespace blink
695 694
696 #endif 695 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698