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

Side by Side Diff: extensions/renderer/content_watcher.h

Issue 235943018: Move extensions bindings code out of //chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « extensions/renderer/blob_native_handler.cc ('k') | extensions/renderer/content_watcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_RENDERER_EXTENSIONS_CONTENT_WATCHER_H_ 5 #ifndef EXTENSIONS_RENDERER_CONTENT_WATCHER_H_
6 #define CHROME_RENDERER_EXTENSIONS_CONTENT_WATCHER_H_ 6 #define EXTENSIONS_RENDERER_CONTENT_WATCHER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "third_party/WebKit/public/platform/WebVector.h" 13 #include "third_party/WebKit/public/platform/WebVector.h"
14 14
15 namespace blink { 15 namespace blink {
16 class WebFrame; 16 class WebFrame;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // ExtensionHostMsg_OnWatchedPageChange back to the browser. 61 // ExtensionHostMsg_OnWatchedPageChange back to the browser.
62 blink::WebVector<blink::WebString> css_selectors_; 62 blink::WebVector<blink::WebString> css_selectors_;
63 63
64 // Maps live WebFrames to the set of CSS selectors they match. Blink sends 64 // Maps live WebFrames to the set of CSS selectors they match. Blink sends
65 // back diffs, which we apply to these sets. 65 // back diffs, which we apply to these sets.
66 std::map<blink::WebFrame*, std::set<std::string> > matching_selectors_; 66 std::map<blink::WebFrame*, std::set<std::string> > matching_selectors_;
67 }; 67 };
68 68
69 } // namespace extensions 69 } // namespace extensions
70 70
71 #endif // CHROME_RENDERER_EXTENSIONS_CONTENT_WATCHER_H_ 71 #endif // EXTENSIONS_RENDERER_CONTENT_WATCHER_H_
OLDNEW
« no previous file with comments | « extensions/renderer/blob_native_handler.cc ('k') | extensions/renderer/content_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698