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

Side by Side Diff: chrome/browser/tab_contents/tab_contents_view_mac.h

Issue 7915008: wstring: convert all SetPageTitle APIs to use string16 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #if defined(__OBJC__) 9 #if defined(__OBJC__)
10 10
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // TabContentsView implementation -------------------------------------------- 58 // TabContentsView implementation --------------------------------------------
59 59
60 virtual void CreateView(const gfx::Size& initial_size) OVERRIDE; 60 virtual void CreateView(const gfx::Size& initial_size) OVERRIDE;
61 virtual RenderWidgetHostView* CreateViewForWidget( 61 virtual RenderWidgetHostView* CreateViewForWidget(
62 RenderWidgetHost* render_widget_host) OVERRIDE; 62 RenderWidgetHost* render_widget_host) OVERRIDE;
63 virtual gfx::NativeView GetNativeView() const OVERRIDE; 63 virtual gfx::NativeView GetNativeView() const OVERRIDE;
64 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; 64 virtual gfx::NativeView GetContentNativeView() const OVERRIDE;
65 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; 65 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE;
66 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE; 66 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE;
67 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; 67 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE;
68 virtual void SetPageTitle(const std::wstring& title) OVERRIDE; 68 virtual void SetPageTitle(const string16& title) OVERRIDE;
69 virtual void OnTabCrashed(base::TerminationStatus status, 69 virtual void OnTabCrashed(base::TerminationStatus status,
70 int error_code) OVERRIDE; 70 int error_code) OVERRIDE;
71 virtual void SizeContents(const gfx::Size& size) OVERRIDE; 71 virtual void SizeContents(const gfx::Size& size) OVERRIDE;
72 virtual void Focus() OVERRIDE; 72 virtual void Focus() OVERRIDE;
73 virtual void SetInitialFocus() OVERRIDE; 73 virtual void SetInitialFocus() OVERRIDE;
74 virtual void StoreFocus() OVERRIDE; 74 virtual void StoreFocus() OVERRIDE;
75 virtual void RestoreFocus() OVERRIDE; 75 virtual void RestoreFocus() OVERRIDE;
76 virtual bool IsDoingDrag() const OVERRIDE; 76 virtual bool IsDoingDrag() const OVERRIDE;
77 virtual void CancelDragAndCloseTab() OVERRIDE; 77 virtual void CancelDragAndCloseTab() OVERRIDE;
78 virtual bool IsEventTracking() const OVERRIDE; 78 virtual bool IsEventTracking() const OVERRIDE;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 153
154 // Functions that may be accessed from non-Objective-C C/C++ code. 154 // Functions that may be accessed from non-Objective-C C/C++ code.
155 class TabContents; 155 class TabContents;
156 class TabContentsView; 156 class TabContentsView;
157 157
158 namespace tab_contents_view_mac { 158 namespace tab_contents_view_mac {
159 TabContentsView* CreateTabContentsView(TabContents* tab_contents); 159 TabContentsView* CreateTabContentsView(TabContents* tab_contents);
160 } 160 }
161 161
162 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_ 162 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_view_gtk.cc ('k') | chrome/browser/tab_contents/tab_contents_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698