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

Side by Side Diff: chrome/browser/ui/views/tab_contents/native_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 CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 22 matching lines...) Expand all
33 33
34 virtual void InitNativeTabContentsView() = 0; 34 virtual void InitNativeTabContentsView() = 0;
35 35
36 virtual void Unparent() = 0; 36 virtual void Unparent() = 0;
37 37
38 virtual RenderWidgetHostView* CreateRenderWidgetHostView( 38 virtual RenderWidgetHostView* CreateRenderWidgetHostView(
39 RenderWidgetHost* render_widget_host) = 0; 39 RenderWidgetHost* render_widget_host) = 0;
40 40
41 virtual gfx::NativeWindow GetTopLevelNativeWindow() const = 0; 41 virtual gfx::NativeWindow GetTopLevelNativeWindow() const = 0;
42 42
43 virtual void SetPageTitle(const std::wstring& title) = 0; 43 virtual void SetPageTitle(const string16& title) = 0;
44 44
45 virtual void StartDragging(const WebDropData& drop_data, 45 virtual void StartDragging(const WebDropData& drop_data,
46 WebKit::WebDragOperationsMask ops, 46 WebKit::WebDragOperationsMask ops,
47 const SkBitmap& image, 47 const SkBitmap& image,
48 const gfx::Point& image_offset) = 0; 48 const gfx::Point& image_offset) = 0;
49 virtual void CancelDrag() = 0; 49 virtual void CancelDrag() = 0;
50 virtual bool IsDoingDrag() const = 0; 50 virtual bool IsDoingDrag() const = 0;
51 virtual void SetDragCursor(WebKit::WebDragOperation operation) = 0; 51 virtual void SetDragCursor(WebKit::WebDragOperation operation) = 0;
52 52
53 virtual views::NativeWidget* AsNativeWidget() = 0; 53 virtual views::NativeWidget* AsNativeWidget() = 0;
54 }; 54 };
55 55
56 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_H_ 56 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698