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

Side by Side Diff: chrome/browser/ui/views/tab_contents/native_tab_contents_view_views.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_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_VIEWS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view.h" 9 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view.h"
10 #include "views/widget/native_widget_views.h" 10 #include "views/widget/native_widget_views.h"
11 11
12 class TabContents; 12 class TabContents;
13 13
14 class NativeTabContentsViewViews : public views::NativeWidgetViews, 14 class NativeTabContentsViewViews : public views::NativeWidgetViews,
15 public NativeTabContentsView { 15 public NativeTabContentsView {
16 public: 16 public:
17 explicit NativeTabContentsViewViews( 17 explicit NativeTabContentsViewViews(
18 internal::NativeTabContentsViewDelegate* delegate); 18 internal::NativeTabContentsViewDelegate* delegate);
19 virtual ~NativeTabContentsViewViews(); 19 virtual ~NativeTabContentsViewViews();
20 20
21 private: 21 private:
22 // Overridden from NativeTabContentsView: 22 // Overridden from NativeTabContentsView:
23 virtual void InitNativeTabContentsView() OVERRIDE; 23 virtual void InitNativeTabContentsView() OVERRIDE;
24 virtual void Unparent() OVERRIDE; 24 virtual void Unparent() OVERRIDE;
25 virtual RenderWidgetHostView* CreateRenderWidgetHostView( 25 virtual RenderWidgetHostView* CreateRenderWidgetHostView(
26 RenderWidgetHost* render_widget_host) OVERRIDE; 26 RenderWidgetHost* render_widget_host) OVERRIDE;
27 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; 27 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE;
28 virtual void SetPageTitle(const std::wstring& title) OVERRIDE; 28 virtual void SetPageTitle(const string16& title) OVERRIDE;
29 virtual void StartDragging(const WebDropData& drop_data, 29 virtual void StartDragging(const WebDropData& drop_data,
30 WebKit::WebDragOperationsMask ops, 30 WebKit::WebDragOperationsMask ops,
31 const SkBitmap& image, 31 const SkBitmap& image,
32 const gfx::Point& image_offset) OVERRIDE; 32 const gfx::Point& image_offset) OVERRIDE;
33 virtual void CancelDrag() OVERRIDE; 33 virtual void CancelDrag() OVERRIDE;
34 virtual bool IsDoingDrag() const OVERRIDE; 34 virtual bool IsDoingDrag() const OVERRIDE;
35 virtual void SetDragCursor(WebKit::WebDragOperation operation) OVERRIDE; 35 virtual void SetDragCursor(WebKit::WebDragOperation operation) OVERRIDE;
36 virtual views::NativeWidget* AsNativeWidget() OVERRIDE; 36 virtual views::NativeWidget* AsNativeWidget() OVERRIDE;
37 37
38 internal::NativeTabContentsViewDelegate* delegate_; 38 internal::NativeTabContentsViewDelegate* delegate_;
39 39
40 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsViewViews); 40 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsViewViews);
41 }; 41 };
42 42
43 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_VIEWS_H _ 43 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_VIEWS_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698