| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |