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

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

Issue 293001: Delete glue/webview{_delegate}.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/bindings_utils.h" 5 #include "chrome/renderer/extensions/bindings_utils.h"
6 6
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "chrome/renderer/render_view.h" 8 #include "chrome/renderer/render_view.h"
9 #include "webkit/api/public/WebFrame.h" 9 #include "webkit/api/public/WebFrame.h"
10 10
11 using WebKit::WebFrame; 11 using WebKit::WebFrame;
12 using WebKit::WebView;
12 13
13 namespace bindings_utils { 14 namespace bindings_utils {
14 15
15 const char* kChromeHidden = "chromeHidden"; 16 const char* kChromeHidden = "chromeHidden";
16 const char* kValidateCallbacks = "validateCallbacks"; 17 const char* kValidateCallbacks = "validateCallbacks";
17 18
18 struct SingletonData { 19 struct SingletonData {
19 ContextList contexts; 20 ContextList contexts;
20 PendingRequestMap pending_requests; 21 PendingRequestMap pending_requests;
21 }; 22 };
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 } 133 }
133 134
134 v8::Local<v8::Function> function = v8::Local<v8::Function>::Cast(value); 135 v8::Local<v8::Function> function = v8::Local<v8::Function>::Cast(value);
135 if (!function.IsEmpty()) 136 if (!function.IsEmpty())
136 return function->Call(v8::Object::New(), argc, argv); 137 return function->Call(v8::Object::New(), argc, argv);
137 138
138 return v8::Undefined(); 139 return v8::Undefined();
139 } 140 }
140 141
141 } // namespace bindings_utils 142 } // namespace bindings_utils
OLDNEW
« no previous file with comments | « chrome/renderer/devtools_agent.cc ('k') | chrome/renderer/extensions/extension_process_bindings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698