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

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, 3 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) 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 // insecure source. Inactive content cannot spread to other frames. 143 // insecure source. Inactive content cannot spread to other frames.
144 virtual void didDisplayInsecureContent() = 0; 144 virtual void didDisplayInsecureContent() = 0;
145 145
146 // The indicated security origin has run active content (such as a 146 // The indicated security origin has run active content (such as a
147 // script) from an insecure source. Note that the insecure content can 147 // script) from an insecure source. Note that the insecure content can
148 // spread to other frames in the same origin. 148 // spread to other frames in the same origin.
149 virtual void didRunInsecureContent(SecurityOrigin*, const KURL&) = 0; 149 virtual void didRunInsecureContent(SecurityOrigin*, const KURL&) = 0;
150 virtual void didDetectXSS(const KURL&, bool didBlockEntirePage) = 0; 150 virtual void didDetectXSS(const KURL&, bool didBlockEntirePage) = 0;
151 virtual void didDispatchPingLoader(const KURL&) = 0; 151 virtual void didDispatchPingLoader(const KURL&) = 0;
152 152
153 // Transmits the change in the set of watched CSS selectors property
154 // that match any element on the frame.
155 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, const Vector<String>& removedSelectors) = 0;
156
153 virtual PassRefPtr<DocumentLoader> createDocumentLoader(const ResourceRe quest&, const SubstituteData&) = 0; 157 virtual PassRefPtr<DocumentLoader> createDocumentLoader(const ResourceRe quest&, const SubstituteData&) = 0;
154 158
155 virtual String userAgent(const KURL&) = 0; 159 virtual String userAgent(const KURL&) = 0;
156 160
157 virtual String doNotTrackValue() = 0; 161 virtual String doNotTrackValue() = 0;
158 162
159 virtual void transitionToCommittedForNewPage() = 0; 163 virtual void transitionToCommittedForNewPage() = 0;
160 164
161 virtual PassRefPtr<Frame> createFrame(const KURL&, const String& name, c onst String& referrer, HTMLFrameOwnerElement*) = 0; 165 virtual PassRefPtr<Frame> createFrame(const KURL&, const String& name, c onst String& referrer, HTMLFrameOwnerElement*) = 0;
162 virtual PassRefPtr<Widget> createPlugin(const IntSize&, HTMLPlugInElemen t*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bo ol loadManually) = 0; 166 virtual PassRefPtr<Widget> createPlugin(const IntSize&, HTMLPlugInElemen t*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bo ol loadManually) = 0;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 216
213 // If an HTML document is being loaded, informs the embedder that the do cument will have its <body> attached soon. 217 // If an HTML document is being loaded, informs the embedder that the do cument will have its <body> attached soon.
214 virtual void dispatchWillInsertBody() { } 218 virtual void dispatchWillInsertBody() { }
215 219
216 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie r*/, ResourceLoadPriority) { } 220 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie r*/, ResourceLoadPriority) { }
217 }; 221 };
218 222
219 } // namespace WebCore 223 } // namespace WebCore
220 224
221 #endif // FrameLoaderClient_h 225 #endif // FrameLoaderClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698