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

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

Issue 6263008: Move ResourceBundle, DataPack to ui/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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
« no previous file with comments | « chrome/renderer/devtools_client.cc ('k') | chrome/renderer/extensions/json_schema_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CHROME_RENDERER_EXTENSIONS_BINDINGS_UTILS_H_ 5 #ifndef CHROME_RENDERER_EXTENSIONS_BINDINGS_UTILS_H_
6 #define CHROME_RENDERER_EXTENSIONS_BINDINGS_UTILS_H_ 6 #define CHROME_RENDERER_EXTENSIONS_BINDINGS_UTILS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "app/resource_bundle.h"
10 #include "base/linked_ptr.h" 9 #include "base/linked_ptr.h"
11 #include "base/singleton.h" 10 #include "base/singleton.h"
12 #include "base/string_piece.h" 11 #include "base/string_piece.h"
12 #include "ui/base/resource/resource_bundle.h"
13 #include "v8/include/v8.h" 13 #include "v8/include/v8.h"
14 14
15 #include <list> 15 #include <list>
16 #include <string> 16 #include <string>
17 17
18 class RenderView; 18 class RenderView;
19 19
20 namespace WebKit { 20 namespace WebKit {
21 class WebFrame; 21 class WebFrame;
22 } 22 }
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 // be a sub-property like "Port.dispatchOnMessage". Returns the result of 114 // be a sub-property like "Port.dispatchOnMessage". Returns the result of
115 // the function call. If an exception is thrown an empty Handle will be 115 // the function call. If an exception is thrown an empty Handle will be
116 // returned. 116 // returned.
117 v8::Handle<v8::Value> CallFunctionInContext(v8::Handle<v8::Context> context, 117 v8::Handle<v8::Value> CallFunctionInContext(v8::Handle<v8::Context> context,
118 const std::string& function_name, int argc, 118 const std::string& function_name, int argc,
119 v8::Handle<v8::Value>* argv); 119 v8::Handle<v8::Value>* argv);
120 120
121 } // namespace bindings_utils 121 } // namespace bindings_utils
122 122
123 #endif // CHROME_RENDERER_EXTENSIONS_BINDINGS_UTILS_H_ 123 #endif // CHROME_RENDERER_EXTENSIONS_BINDINGS_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/renderer/devtools_client.cc ('k') | chrome/renderer/extensions/json_schema_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698