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

Side by Side Diff: content/test/test_tab_contents_view.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 CONTENT_TEST_TEST_TAB_CONTENTS_VIEW_H_ 5 #ifndef CONTENT_TEST_TEST_TAB_CONTENTS_VIEW_H_
6 #define CONTENT_TEST_TEST_TAB_CONTENTS_VIEW_H_ 6 #define CONTENT_TEST_TEST_TAB_CONTENTS_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "content/browser/tab_contents/tab_contents_view.h" 10 #include "content/browser/tab_contents/tab_contents_view.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 virtual void TakeFocus(bool reverse) OVERRIDE; 44 virtual void TakeFocus(bool reverse) OVERRIDE;
45 45
46 // TabContentsView: 46 // TabContentsView:
47 virtual void CreateView(const gfx::Size& initial_size) OVERRIDE; 47 virtual void CreateView(const gfx::Size& initial_size) OVERRIDE;
48 virtual RenderWidgetHostView* CreateViewForWidget( 48 virtual RenderWidgetHostView* CreateViewForWidget(
49 RenderWidgetHost* render_widget_host) OVERRIDE; 49 RenderWidgetHost* render_widget_host) OVERRIDE;
50 virtual gfx::NativeView GetNativeView() const OVERRIDE; 50 virtual gfx::NativeView GetNativeView() const OVERRIDE;
51 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; 51 virtual gfx::NativeView GetContentNativeView() const OVERRIDE;
52 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; 52 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE;
53 virtual void GetContainerBounds(gfx::Rect *out) const OVERRIDE; 53 virtual void GetContainerBounds(gfx::Rect *out) const OVERRIDE;
54 virtual void SetPageTitle(const std::wstring& title) OVERRIDE; 54 virtual void SetPageTitle(const string16& title) OVERRIDE;
55 virtual void OnTabCrashed(base::TerminationStatus status, 55 virtual void OnTabCrashed(base::TerminationStatus status,
56 int error_code) OVERRIDE; 56 int error_code) OVERRIDE;
57 virtual void SizeContents(const gfx::Size& size) OVERRIDE; 57 virtual void SizeContents(const gfx::Size& size) OVERRIDE;
58 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; 58 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE;
59 virtual void Focus() OVERRIDE; 59 virtual void Focus() OVERRIDE;
60 virtual void SetInitialFocus() OVERRIDE; 60 virtual void SetInitialFocus() OVERRIDE;
61 virtual void StoreFocus() OVERRIDE; 61 virtual void StoreFocus() OVERRIDE;
62 virtual void RestoreFocus() OVERRIDE; 62 virtual void RestoreFocus() OVERRIDE;
63 virtual bool IsDoingDrag() const OVERRIDE; 63 virtual bool IsDoingDrag() const OVERRIDE;
64 virtual void CancelDragAndCloseTab() OVERRIDE; 64 virtual void CancelDragAndCloseTab() OVERRIDE;
65 virtual bool IsEventTracking() const OVERRIDE; 65 virtual bool IsEventTracking() const OVERRIDE;
66 virtual void CloseTabAfterEventTracking() OVERRIDE; 66 virtual void CloseTabAfterEventTracking() OVERRIDE;
67 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; 67 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE;
68 68
69 private: 69 private:
70 DISALLOW_COPY_AND_ASSIGN(TestTabContentsView); 70 DISALLOW_COPY_AND_ASSIGN(TestTabContentsView);
71 }; 71 };
72 72
73 #endif // CONTENT_TEST_TEST_TAB_CONTENTS_VIEW_H_ 73 #endif // CONTENT_TEST_TEST_TAB_CONTENTS_VIEW_H_
OLDNEW
« no previous file with comments | « content/browser/tab_contents/tab_contents_view.h ('k') | content/test/test_tab_contents_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698