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

Side by Side Diff: chrome/renderer/extensions/extension_frame_helper.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/extension_frame_helper.h" 5 #include "chrome/renderer/extensions/extension_frame_helper.h"
6 6
7 #include "chrome/common/extensions/extension_messages.h"
8 #include "chrome/renderer/extensions/console.h" 7 #include "chrome/renderer/extensions/console.h"
9 #include "chrome/renderer/extensions/dispatcher.h" 8 #include "chrome/renderer/extensions/dispatcher.h"
10 #include "content/public/renderer/render_frame.h" 9 #include "content/public/renderer/render_frame.h"
10 #include "extensions/common/extension_messages.h"
11 #include "third_party/WebKit/public/web/WebConsoleMessage.h" 11 #include "third_party/WebKit/public/web/WebConsoleMessage.h"
12 #include "third_party/WebKit/public/web/WebFrame.h" 12 #include "third_party/WebKit/public/web/WebFrame.h"
13 13
14 namespace extensions { 14 namespace extensions {
15 15
16 ExtensionFrameHelper::ExtensionFrameHelper(content::RenderFrame* render_frame, 16 ExtensionFrameHelper::ExtensionFrameHelper(content::RenderFrame* render_frame,
17 Dispatcher* extension_dispatcher) 17 Dispatcher* extension_dispatcher)
18 : content::RenderFrameObserver(render_frame), 18 : content::RenderFrameObserver(render_frame),
19 content::RenderFrameObserverTracker<ExtensionFrameHelper>(render_frame), 19 content::RenderFrameObserverTracker<ExtensionFrameHelper>(render_frame),
20 extension_dispatcher_(extension_dispatcher) {} 20 extension_dispatcher_(extension_dispatcher) {}
(...skipping 18 matching lines...) Expand all
39 return handled; 39 return handled;
40 } 40 }
41 41
42 void ExtensionFrameHelper::OnAddMessageToConsole( 42 void ExtensionFrameHelper::OnAddMessageToConsole(
43 content::ConsoleMessageLevel level, 43 content::ConsoleMessageLevel level,
44 const std::string& message) { 44 const std::string& message) {
45 console::AddMessage(render_frame()->GetRenderView(), level, message); 45 console::AddMessage(render_frame()->GetRenderView(), level, message);
46 } 46 }
47 47
48 } // namespace extensions 48 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/event_bindings.cc ('k') | chrome/renderer/extensions/extension_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698