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

Side by Side Diff: chrome/browser/ui/views/tab_contents/native_tab_contents_view_win.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_WIN_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_WIN_H_
6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_WIN_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_WIN_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_win.h" 10 #include "views/widget/native_widget_win.h"
(...skipping 15 matching lines...) Expand all
26 26
27 void EndDragging(); 27 void EndDragging();
28 28
29 private: 29 private:
30 // Overridden from NativeTabContentsView: 30 // Overridden from NativeTabContentsView:
31 virtual void InitNativeTabContentsView() OVERRIDE; 31 virtual void InitNativeTabContentsView() OVERRIDE;
32 virtual void Unparent() OVERRIDE; 32 virtual void Unparent() OVERRIDE;
33 virtual RenderWidgetHostView* CreateRenderWidgetHostView( 33 virtual RenderWidgetHostView* CreateRenderWidgetHostView(
34 RenderWidgetHost* render_widget_host) OVERRIDE; 34 RenderWidgetHost* render_widget_host) OVERRIDE;
35 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; 35 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE;
36 virtual void SetPageTitle(const std::wstring& title) OVERRIDE; 36 virtual void SetPageTitle(const string16& title) OVERRIDE;
37 virtual void StartDragging(const WebDropData& drop_data, 37 virtual void StartDragging(const WebDropData& drop_data,
38 WebKit::WebDragOperationsMask ops, 38 WebKit::WebDragOperationsMask ops,
39 const SkBitmap& image, 39 const SkBitmap& image,
40 const gfx::Point& image_offset) OVERRIDE; 40 const gfx::Point& image_offset) OVERRIDE;
41 virtual void CancelDrag() OVERRIDE; 41 virtual void CancelDrag() OVERRIDE;
42 virtual bool IsDoingDrag() const OVERRIDE; 42 virtual bool IsDoingDrag() const OVERRIDE;
43 virtual void SetDragCursor(WebKit::WebDragOperation operation) OVERRIDE; 43 virtual void SetDragCursor(WebKit::WebDragOperation operation) OVERRIDE;
44 virtual views::NativeWidget* AsNativeWidget() OVERRIDE; 44 virtual views::NativeWidget* AsNativeWidget() OVERRIDE;
45 45
46 // Overridden from views::NativeWidgetWin: 46 // Overridden from views::NativeWidgetWin:
(...skipping 26 matching lines...) Expand all
73 // A drop target object that handles drags over this TabContents. 73 // A drop target object that handles drags over this TabContents.
74 scoped_refptr<WebDropTarget> drop_target_; 74 scoped_refptr<WebDropTarget> drop_target_;
75 75
76 // Used to handle the drag-and-drop. 76 // Used to handle the drag-and-drop.
77 scoped_refptr<TabContentsDragWin> drag_handler_; 77 scoped_refptr<TabContentsDragWin> drag_handler_;
78 78
79 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsViewWin); 79 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsViewWin);
80 }; 80 };
81 81
82 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_WIN_H_ 82 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698