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

Unified Diff: webkit/glue/cpp_bound_class.h

Issue 10382059: Quote CppBoundClass/CppVariant in namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: (C) 2012 Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webkit/glue/cpp_bound_class.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/cpp_bound_class.h
diff --git a/webkit/glue/cpp_bound_class.h b/webkit/glue/cpp_bound_class.h
index 61ccc31c6bde7e039bf2703262d7d38158024124..3069fb2ff6960310fc5b687b91edccc819797865 100644
--- a/webkit/glue/cpp_bound_class.h
+++ b/webkit/glue/cpp_bound_class.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -31,6 +31,8 @@ namespace WebKit {
class WebFrame;
}
+namespace webkit_glue {
+
typedef std::vector<CppVariant> CppArgumentList;
// CppBoundClass lets you map Javascript method calls and property accesses
@@ -140,4 +142,11 @@ class WEBKIT_GLUE_EXPORT CppBoundClass {
DISALLOW_COPY_AND_ASSIGN(CppBoundClass);
};
+} // namespace webkit_glue
+
+// TODO(wangxianzhu): This is temporary to resolve crbug.com/127238 with minimal
+// code change. Eventually we will replace CppBoundClass/CppVariant with V8 API.
+using webkit_glue::CppArgumentList;
+using webkit_glue::CppBoundClass;
tony 2012/05/08 17:27:39 Please just fix all the callers. There aren't tha
Xianzhu 2012/05/08 19:38:03 Done.
+
#endif // CPP_BOUNDCLASS_H__
« no previous file with comments | « no previous file | webkit/glue/cpp_bound_class.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698