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

Side by Side Diff: webkit/tools/test_shell/test_webview_delegate_mac.mm

Issue 13322003: Update the remaining references to sys_string_conversions.h to its new location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 #include "webkit/tools/test_shell/test_webview_delegate.h" 5 #include "webkit/tools/test_shell/test_webview_delegate.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 #include "base/sys_string_conversions.h" 8 #include "base/strings/sys_string_conversions.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupMenu.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupMenu.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
13 #include "webkit/glue/webcursor.h" 13 #include "webkit/glue/webcursor.h"
14 #include "webkit/glue/webmenurunner_mac.h" 14 #include "webkit/glue/webmenurunner_mac.h"
15 #include "webkit/plugins/npapi/plugin_list.h" 15 #include "webkit/plugins/npapi/plugin_list.h"
16 #include "webkit/plugins/npapi/webplugin_delegate_impl.h" 16 #include "webkit/plugins/npapi/webplugin_delegate_impl.h"
17 #include "webkit/tools/test_shell/test_shell.h" 17 #include "webkit/tools/test_shell/test_shell.h"
18 18
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 void TestWebViewDelegate::SetPageTitle(const string16& title) { 275 void TestWebViewDelegate::SetPageTitle(const string16& title) {
276 [[shell_->webViewHost()->view_handle() window] 276 [[shell_->webViewHost()->view_handle() window]
277 setTitle:[NSString stringWithUTF8String:UTF16ToUTF8(title).c_str()]]; 277 setTitle:[NSString stringWithUTF8String:UTF16ToUTF8(title).c_str()]];
278 } 278 }
279 279
280 void TestWebViewDelegate::SetAddressBarURL(const GURL& url) { 280 void TestWebViewDelegate::SetAddressBarURL(const GURL& url) {
281 const char* frameURL = url.spec().c_str(); 281 const char* frameURL = url.spec().c_str();
282 NSString *address = [NSString stringWithUTF8String:frameURL]; 282 NSString *address = [NSString stringWithUTF8String:frameURL];
283 [shell_->editWnd() setStringValue:address]; 283 [shell_->editWnd() setStringValue:address];
284 } 284 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698