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

Side by Side Diff: chrome/renderer/extensions/content_watcher.cc

Issue 194333002: Move extension_messages.h to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge again Created 6 years, 9 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
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 #include "chrome/renderer/extensions/content_watcher.h" 5 #include "chrome/renderer/extensions/content_watcher.h"
6 6
7 #include "chrome/common/extensions/extension_messages.h"
8 #include "content/public/renderer/render_view.h" 7 #include "content/public/renderer/render_view.h"
9 #include "content/public/renderer/render_view_visitor.h" 8 #include "content/public/renderer/render_view_visitor.h"
9 #include "extensions/common/extension_messages.h"
10 #include "third_party/WebKit/public/web/WebDocument.h" 10 #include "third_party/WebKit/public/web/WebDocument.h"
11 #include "third_party/WebKit/public/web/WebElement.h" 11 #include "third_party/WebKit/public/web/WebElement.h"
12 #include "third_party/WebKit/public/web/WebFrame.h" 12 #include "third_party/WebKit/public/web/WebFrame.h"
13 #include "third_party/WebKit/public/web/WebScriptBindings.h" 13 #include "third_party/WebKit/public/web/WebScriptBindings.h"
14 #include "third_party/WebKit/public/web/WebView.h" 14 #include "third_party/WebKit/public/web/WebView.h"
15 15
16 namespace extensions { 16 namespace extensions {
17 17
18 using blink::WebString; 18 using blink::WebString;
19 using blink::WebVector; 19 using blink::WebVector;
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 it = transitive_selectors.begin(); 110 it = transitive_selectors.begin();
111 it != transitive_selectors.end(); ++it) 111 it != transitive_selectors.end(); ++it)
112 selector_strings.push_back(it->as_string()); 112 selector_strings.push_back(it->as_string());
113 content::RenderView* view = 113 content::RenderView* view =
114 content::RenderView::FromWebView(top_frame->view()); 114 content::RenderView::FromWebView(top_frame->view());
115 view->Send(new ExtensionHostMsg_OnWatchedPageChange( 115 view->Send(new ExtensionHostMsg_OnWatchedPageChange(
116 view->GetRoutingID(), selector_strings)); 116 view->GetRoutingID(), selector_strings));
117 } 117 }
118 118
119 } // namespace extensions 119 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/app_window_custom_bindings.cc ('k') | chrome/renderer/extensions/context_menus_custom_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698