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

Side by Side Diff: chrome/browser/ui/views/tab_contents/tab_contents_view_win.h

Issue 6012011: TabContentsViewViews should be used instead of TabContentsViewGtk for TOUCH_UI (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: modified according to comments Created 9 years, 11 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_TAB_CONTENTS_VIEW_WIN_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_WIN_H_
6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_WIN_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "base/timer.h" 10 #include "base/timer.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 virtual void SetPageTitle(const std::wstring& title); 50 virtual void SetPageTitle(const std::wstring& title);
51 virtual void OnTabCrashed(base::TerminationStatus status, 51 virtual void OnTabCrashed(base::TerminationStatus status,
52 int error_code); 52 int error_code);
53 virtual void SizeContents(const gfx::Size& size); 53 virtual void SizeContents(const gfx::Size& size);
54 virtual void Focus(); 54 virtual void Focus();
55 virtual void SetInitialFocus(); 55 virtual void SetInitialFocus();
56 virtual void StoreFocus(); 56 virtual void StoreFocus();
57 virtual void RestoreFocus(); 57 virtual void RestoreFocus();
58 virtual bool IsDoingDrag() const; 58 virtual bool IsDoingDrag() const;
59 virtual void CancelDragAndCloseTab(); 59 virtual void CancelDragAndCloseTab();
60 virtual void GetViewBounds(gfx::Rect* out) const;
60 61
61 // Backend implementation of RenderViewHostDelegate::View. 62 // Backend implementation of RenderViewHostDelegate::View.
62 virtual void ShowContextMenu(const ContextMenuParams& params); 63 virtual void ShowContextMenu(const ContextMenuParams& params);
63 virtual void ShowPopupMenu(const gfx::Rect& bounds, 64 virtual void ShowPopupMenu(const gfx::Rect& bounds,
64 int item_height, 65 int item_height,
65 double item_font_size, 66 double item_font_size,
66 int selected_item, 67 int selected_item,
67 const std::vector<WebMenuItem>& items, 68 const std::vector<WebMenuItem>& items,
68 bool right_aligned); 69 bool right_aligned);
69 virtual void StartDragging(const WebDropData& drop_data, 70 virtual void StartDragging(const WebDropData& drop_data,
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 // Used to close the tab after the stack has unwound. 145 // Used to close the tab after the stack has unwound.
145 base::OneShotTimer<TabContentsViewWin> close_tab_timer_; 146 base::OneShotTimer<TabContentsViewWin> close_tab_timer_;
146 147
147 // Used to handle the drag-and-drop. 148 // Used to handle the drag-and-drop.
148 scoped_refptr<TabContentsDragWin> drag_handler_; 149 scoped_refptr<TabContentsDragWin> drag_handler_;
149 150
150 DISALLOW_COPY_AND_ASSIGN(TabContentsViewWin); 151 DISALLOW_COPY_AND_ASSIGN(TabContentsViewWin);
151 }; 152 };
152 153
153 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_WIN_H_ 154 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698