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

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

Issue 59323005: Cleanup: Remove unused includes of webkit/glue/webkit_glue.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 7 years, 1 month 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/bind.h" 9 #include "base/bind.h"
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
11 #include "chrome/common/extensions/extension.h" 11 #include "chrome/common/extensions/extension.h"
12 #include "chrome/common/url_constants.h" 12 #include "chrome/common/url_constants.h"
13 #include "chrome/renderer/extensions/dispatcher.h" 13 #include "chrome/renderer/extensions/dispatcher.h"
14 #include "chrome/renderer/extensions/extension_helper.h" 14 #include "chrome/renderer/extensions/extension_helper.h"
15 #include "content/public/renderer/render_view.h" 15 #include "content/public/renderer/render_view.h"
16 #include "content/public/renderer/v8_value_converter.h" 16 #include "content/public/renderer/v8_value_converter.h"
17 #include "extensions/common/view_type.h" 17 #include "extensions/common/view_type.h"
18 #include "grit/renderer_resources.h" 18 #include "grit/renderer_resources.h"
19 #include "third_party/WebKit/public/web/WebFrame.h" 19 #include "third_party/WebKit/public/web/WebFrame.h"
20 #include "third_party/WebKit/public/web/WebView.h" 20 #include "third_party/WebKit/public/web/WebView.h"
21 #include "v8/include/v8.h" 21 #include "v8/include/v8.h"
22 #include "webkit/glue/webkit_glue.h"
23 22
24 namespace extensions { 23 namespace extensions {
25 24
26 namespace { 25 namespace {
27 26
28 } // namespace 27 } // namespace
29 28
30 ExtensionCustomBindings::ExtensionCustomBindings(Dispatcher* dispatcher, 29 ExtensionCustomBindings::ExtensionCustomBindings(Dispatcher* dispatcher,
31 ChromeV8Context* context) 30 ChromeV8Context* context)
32 : ChromeV8Extension(dispatcher, context) { 31 : ChromeV8Extension(dispatcher, context) {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 v8::Local<v8::Value> window = context->Global(); 86 v8::Local<v8::Value> window = context->Global();
88 DCHECK(!window.IsEmpty()); 87 DCHECK(!window.IsEmpty());
89 v8_views->Set(v8::Integer::New(v8_index++), window); 88 v8_views->Set(v8::Integer::New(v8_index++), window);
90 } 89 }
91 } 90 }
92 91
93 args.GetReturnValue().Set(v8_views); 92 args.GetReturnValue().Set(v8_views);
94 } 93 }
95 94
96 } // namespace extensions 95 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_render_view_observer.cc ('k') | chrome/renderer/spellchecker/spellcheck_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698