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

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

Issue 6053012: This adds a "killed tab" page and pages reload when killed on ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed indent 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 30 matching lines...) Expand all
41 // TabContentsView implementation -------------------------------------------- 41 // TabContentsView implementation --------------------------------------------
42 42
43 virtual void CreateView(const gfx::Size& initial_size); 43 virtual void CreateView(const gfx::Size& initial_size);
44 virtual RenderWidgetHostView* CreateViewForWidget( 44 virtual RenderWidgetHostView* CreateViewForWidget(
45 RenderWidgetHost* render_widget_host); 45 RenderWidgetHost* render_widget_host);
46 virtual gfx::NativeView GetNativeView() const; 46 virtual gfx::NativeView GetNativeView() const;
47 virtual gfx::NativeView GetContentNativeView() const; 47 virtual gfx::NativeView GetContentNativeView() const;
48 virtual gfx::NativeWindow GetTopLevelNativeWindow() const; 48 virtual gfx::NativeWindow GetTopLevelNativeWindow() const;
49 virtual void GetContainerBounds(gfx::Rect* out) const; 49 virtual void GetContainerBounds(gfx::Rect* out) const;
50 virtual void SetPageTitle(const std::wstring& title); 50 virtual void SetPageTitle(const std::wstring& title);
51 virtual void OnTabCrashed(); 51 virtual void OnTabCrashed(base::TerminationStatus status,
52 int error_code);
52 virtual void SizeContents(const gfx::Size& size); 53 virtual void SizeContents(const gfx::Size& size);
53 virtual void Focus(); 54 virtual void Focus();
54 virtual void SetInitialFocus(); 55 virtual void SetInitialFocus();
55 virtual void StoreFocus(); 56 virtual void StoreFocus();
56 virtual void RestoreFocus(); 57 virtual void RestoreFocus();
57 virtual bool IsDoingDrag() const; 58 virtual bool IsDoingDrag() const;
58 virtual void CancelDragAndCloseTab(); 59 virtual void CancelDragAndCloseTab();
59 60
60 // Backend implementation of RenderViewHostDelegate::View. 61 // Backend implementation of RenderViewHostDelegate::View.
61 virtual void ShowContextMenu(const ContextMenuParams& params); 62 virtual void ShowContextMenu(const ContextMenuParams& params);
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 // Used to close the tab after the stack has unwound. 144 // Used to close the tab after the stack has unwound.
144 base::OneShotTimer<TabContentsViewWin> close_tab_timer_; 145 base::OneShotTimer<TabContentsViewWin> close_tab_timer_;
145 146
146 // Used to handle the drag-and-drop. 147 // Used to handle the drag-and-drop.
147 scoped_refptr<TabContentsDragWin> drag_handler_; 148 scoped_refptr<TabContentsDragWin> drag_handler_;
148 149
149 DISALLOW_COPY_AND_ASSIGN(TabContentsViewWin); 150 DISALLOW_COPY_AND_ASSIGN(TabContentsViewWin);
150 }; 151 };
151 152
152 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_WIN_H_ 153 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698