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

Side by Side Diff: Source/core/loader/FrameLoaderClient.h

Issue 18371008: Add a WebDocument::watchCssSelectors(selectors) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@pinned
Patch Set: Sync Created 7 years, 2 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
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/core/page/RuntimeCSSEnabled.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google 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 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 // insecure source. Inactive content cannot spread to other frames. 142 // insecure source. Inactive content cannot spread to other frames.
143 virtual void didDisplayInsecureContent() = 0; 143 virtual void didDisplayInsecureContent() = 0;
144 144
145 // The indicated security origin has run active content (such as a 145 // The indicated security origin has run active content (such as a
146 // script) from an insecure source. Note that the insecure content can 146 // script) from an insecure source. Note that the insecure content can
147 // spread to other frames in the same origin. 147 // spread to other frames in the same origin.
148 virtual void didRunInsecureContent(SecurityOrigin*, const KURL&) = 0; 148 virtual void didRunInsecureContent(SecurityOrigin*, const KURL&) = 0;
149 virtual void didDetectXSS(const KURL&, bool didBlockEntirePage) = 0; 149 virtual void didDetectXSS(const KURL&, bool didBlockEntirePage) = 0;
150 virtual void didDispatchPingLoader(const KURL&) = 0; 150 virtual void didDispatchPingLoader(const KURL&) = 0;
151 151
152 // Transmits the change in the set of watched CSS selectors property
153 // that match any element on the frame.
154 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, const Vector<String>& removedSelectors) = 0;
155
152 virtual PassRefPtr<DocumentLoader> createDocumentLoader(const ResourceRe quest&, const SubstituteData&) = 0; 156 virtual PassRefPtr<DocumentLoader> createDocumentLoader(const ResourceRe quest&, const SubstituteData&) = 0;
153 157
154 virtual String userAgent(const KURL&) = 0; 158 virtual String userAgent(const KURL&) = 0;
155 159
156 virtual String doNotTrackValue() = 0; 160 virtual String doNotTrackValue() = 0;
157 161
158 virtual void transitionToCommittedForNewPage() = 0; 162 virtual void transitionToCommittedForNewPage() = 0;
159 163
160 virtual PassRefPtr<Frame> createFrame(const KURL&, const String& name, c onst String& referrer, HTMLFrameOwnerElement*) = 0; 164 virtual PassRefPtr<Frame> createFrame(const KURL&, const String& name, c onst String& referrer, HTMLFrameOwnerElement*) = 0;
161 virtual PassRefPtr<Widget> createPlugin(const IntSize&, HTMLPlugInElemen t*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bo ol loadManually) = 0; 165 virtual PassRefPtr<Widget> createPlugin(const IntSize&, HTMLPlugInElemen t*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bo ol loadManually) = 0;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie r*/, ResourceLoadPriority) { } 219 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie r*/, ResourceLoadPriority) { }
216 220
217 virtual WebKit::WebServiceWorkerRegistry* serviceWorkerRegistry() = 0; 221 virtual WebKit::WebServiceWorkerRegistry* serviceWorkerRegistry() = 0;
218 222
219 virtual void didStopAllLoaders() { } 223 virtual void didStopAllLoaders() { }
220 }; 224 };
221 225
222 } // namespace WebCore 226 } // namespace WebCore
223 227
224 #endif // FrameLoaderClient_h 228 #endif // FrameLoaderClient_h
OLDNEW
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/core/page/RuntimeCSSEnabled.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698