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

Side by Side Diff: content/renderer/cpp_bound_class_unittest.cc

Issue 16408017: Use a direct include of utf_string_conversions.h in content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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) 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 // Tests for CppBoundClass, in conjunction with CppBindingExample. Binds 5 // Tests for CppBoundClass, in conjunction with CppBindingExample. Binds
6 // a CppBindingExample class into JavaScript in a custom test shell and tests 6 // a CppBindingExample class into JavaScript in a custom test shell and tests
7 // the binding from the outside by loading JS into the shell. 7 // the binding from the outside by loading JS into the shell.
8 8
9 #include "base/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "content/public/renderer/render_view_observer.h" 10 #include "content/public/renderer/render_view_observer.h"
11 #include "content/public/test/render_view_test.h" 11 #include "content/public/test/render_view_test.h"
12 #include "third_party/WebKit/public/platform/WebURLRequest.h" 12 #include "third_party/WebKit/public/platform/WebURLRequest.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h"
15 #include "webkit/renderer/cpp_binding_example.h" 15 #include "webkit/renderer/cpp_binding_example.h"
16 16
17 using webkit_glue::CppArgumentList; 17 using webkit_glue::CppArgumentList;
18 using webkit_glue::CppBindingExample; 18 using webkit_glue::CppBindingExample;
19 using webkit_glue::CppVariant; 19 using webkit_glue::CppVariant;
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 } 223 }
224 224
225 // Ensures existent methods can be invoked successfully when the fallback method 225 // Ensures existent methods can be invoked successfully when the fallback method
226 // is used 226 // is used
227 TEST_F(CppBoundClassWithFallbackMethodTest, 227 TEST_F(CppBoundClassWithFallbackMethodTest,
228 InvokeExistentMethodsWithFallback) { 228 InvokeExistentMethodsWithFallback) {
229 CheckTrue("example.echoValue(34) == 34"); 229 CheckTrue("example.echoValue(34) == 34");
230 } 230 }
231 231
232 } // namespace content 232 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin_bindings.cc ('k') | content/renderer/date_time_formatter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698