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

Side by Side Diff: content/browser/web_contents/web_contents_view_win.cc

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 "content/browser/web_contents/web_contents_view_win.h" 5 #include "content/browser/web_contents/web_contents_view_win.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/scoped_vector.h" 8 #include "base/memory/scoped_vector.h"
9 #include "content/browser/frame_host/interstitial_page_impl.h" 9 #include "content/browser/frame_host/interstitial_page_impl.h"
10 #include "content/browser/renderer_host/render_view_host_factory.h" 10 #include "content/browser/renderer_host/render_view_host_factory.h"
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 view->ShowWindow(SW_SHOW); 221 view->ShowWindow(SW_SHOW);
222 view->SetSize(initial_size_); 222 view->SetSize(initial_size_);
223 return view; 223 return view;
224 } 224 }
225 225
226 RenderWidgetHostView* WebContentsViewWin::CreateViewForPopupWidget( 226 RenderWidgetHostView* WebContentsViewWin::CreateViewForPopupWidget(
227 RenderWidgetHost* render_widget_host) { 227 RenderWidgetHost* render_widget_host) {
228 return RenderWidgetHostViewPort::CreateViewForWidget(render_widget_host); 228 return RenderWidgetHostViewPort::CreateViewForWidget(render_widget_host);
229 } 229 }
230 230
231 void WebContentsViewWin::SetPageTitle(const string16& title) { 231 void WebContentsViewWin::SetPageTitle(const base::string16& title) {
232 // It's possible to get this after the hwnd has been destroyed. 232 // It's possible to get this after the hwnd has been destroyed.
233 if (GetNativeView()) 233 if (GetNativeView())
234 ::SetWindowText(GetNativeView(), title.c_str()); 234 ::SetWindowText(GetNativeView(), title.c_str());
235 } 235 }
236 236
237 void WebContentsViewWin::RenderViewCreated(RenderViewHost* host) { 237 void WebContentsViewWin::RenderViewCreated(RenderViewHost* host) {
238 } 238 }
239 239
240 void WebContentsViewWin::RenderViewSwappedIn(RenderViewHost* host) { 240 void WebContentsViewWin::RenderViewSwappedIn(RenderViewHost* host) {
241 } 241 }
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 si.nPage = 10; 456 si.nPage = 10;
457 si.nPos = 50; 457 si.nPos = 50;
458 458
459 ::SetScrollInfo(hwnd(), SB_HORZ, &si, FALSE); 459 ::SetScrollInfo(hwnd(), SB_HORZ, &si, FALSE);
460 ::SetScrollInfo(hwnd(), SB_VERT, &si, FALSE); 460 ::SetScrollInfo(hwnd(), SB_VERT, &si, FALSE);
461 461
462 return 1; 462 return 1;
463 } 463 }
464 464
465 } // namespace content 465 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_view_win.h ('k') | content/browser/web_contents/web_drag_dest_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698