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

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

Issue 10911300: Move ExtensionAction from common/ to browser/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: proof of concept Created 8 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 | 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/extension_custom_bindings.h" 5 #include "chrome/renderer/extensions/extension_custom_bindings.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "chrome/common/extensions/extension.h" 10 #include "chrome/common/extensions/extension.h"
11 #include "chrome/common/extensions/extension_action.h"
12 #include "chrome/common/extensions/extension_messages.h" 11 #include "chrome/common/extensions/extension_messages.h"
13 #include "chrome/common/url_constants.h" 12 #include "chrome/common/url_constants.h"
14 #include "chrome/common/view_type.h" 13 #include "chrome/common/view_type.h"
15 #include "chrome/renderer/extensions/dispatcher.h" 14 #include "chrome/renderer/extensions/dispatcher.h"
16 #include "chrome/renderer/extensions/extension_helper.h" 15 #include "chrome/renderer/extensions/extension_helper.h"
17 #include "content/public/renderer/render_view.h" 16 #include "content/public/renderer/render_view.h"
18 #include "grit/renderer_resources.h" 17 #include "grit/renderer_resources.h"
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
21 #include "webkit/glue/webkit_glue.h" 20 #include "webkit/glue/webkit_glue.h"
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 renderview->Send(new ExtensionHostMsg_OpenChannelToExtension( 116 renderview->Send(new ExtensionHostMsg_OpenChannelToExtension(
118 renderview->GetRoutingID(), 117 renderview->GetRoutingID(),
119 source_id, 118 source_id,
120 target_id, 119 target_id,
121 channel_name, 120 channel_name,
122 &port_id)); 121 &port_id));
123 return v8::Integer::New(port_id); 122 return v8::Integer::New(port_id);
124 } 123 }
125 124
126 } // namespace extensions 125 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698