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

Side by Side Diff: chrome/browser/ui/views/tab_contents/tab_contents_view_gtk.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_
6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 // TabContentsView implementation -------------------------------------------- 49 // TabContentsView implementation --------------------------------------------
50 50
51 virtual void CreateView(const gfx::Size& initial_size); 51 virtual void CreateView(const gfx::Size& initial_size);
52 virtual RenderWidgetHostView* CreateViewForWidget( 52 virtual RenderWidgetHostView* CreateViewForWidget(
53 RenderWidgetHost* render_widget_host); 53 RenderWidgetHost* render_widget_host);
54 virtual gfx::NativeView GetNativeView() const; 54 virtual gfx::NativeView GetNativeView() const;
55 virtual gfx::NativeView GetContentNativeView() const; 55 virtual gfx::NativeView GetContentNativeView() const;
56 virtual gfx::NativeWindow GetTopLevelNativeWindow() const; 56 virtual gfx::NativeWindow GetTopLevelNativeWindow() const;
57 virtual void GetContainerBounds(gfx::Rect* out) const; 57 virtual void GetContainerBounds(gfx::Rect* out) const;
58 virtual void SetPageTitle(const std::wstring& title); 58 virtual void SetPageTitle(const std::wstring& title);
59 virtual void OnTabCrashed(); 59 virtual void OnTabCrashed(base::TerminationStatus status,
60 int error_code);
60 virtual void SizeContents(const gfx::Size& size); 61 virtual void SizeContents(const gfx::Size& size);
61 virtual void Focus(); 62 virtual void Focus();
62 virtual void SetInitialFocus(); 63 virtual void SetInitialFocus();
63 virtual void StoreFocus(); 64 virtual void StoreFocus();
64 virtual void RestoreFocus(); 65 virtual void RestoreFocus();
65 66
66 // Backend implementation of RenderViewHostDelegate::View. 67 // Backend implementation of RenderViewHostDelegate::View.
67 virtual void ShowContextMenu(const ContextMenuParams& params); 68 virtual void ShowContextMenu(const ContextMenuParams& params);
68 virtual void ShowPopupMenu(const gfx::Rect& bounds, 69 virtual void ShowPopupMenu(const gfx::Rect& bounds,
69 int item_height, 70 int item_height,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 gfx::Size size_; 133 gfx::Size size_;
133 134
134 // Each individual UI for constrained dialogs currently displayed. The 135 // Each individual UI for constrained dialogs currently displayed. The
135 // objects in this vector are owned by the TabContents, not the view. 136 // objects in this vector are owned by the TabContents, not the view.
136 std::vector<ConstrainedWindowGtk*> constrained_windows_; 137 std::vector<ConstrainedWindowGtk*> constrained_windows_;
137 138
138 DISALLOW_COPY_AND_ASSIGN(TabContentsViewGtk); 139 DISALLOW_COPY_AND_ASSIGN(TabContentsViewGtk);
139 }; 140 };
140 141
141 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ 142 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/sad_tab_view.cc ('k') | chrome/browser/ui/views/tab_contents/tab_contents_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698