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

Side by Side Diff: chrome/browser/tab_contents/tab_contents_view_gtk.h

Issue 458013: Make the default RendererPreferences smarter.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 // TabContentsView implementation -------------------------------------------- 47 // TabContentsView implementation --------------------------------------------
48 48
49 virtual void CreateView(const gfx::Size& initial_size); 49 virtual void CreateView(const gfx::Size& initial_size);
50 virtual RenderWidgetHostView* CreateViewForWidget( 50 virtual RenderWidgetHostView* CreateViewForWidget(
51 RenderWidgetHost* render_widget_host); 51 RenderWidgetHost* render_widget_host);
52 52
53 virtual gfx::NativeView GetNativeView() const; 53 virtual gfx::NativeView GetNativeView() const;
54 virtual gfx::NativeView GetContentNativeView() const; 54 virtual gfx::NativeView GetContentNativeView() const;
55 virtual gfx::NativeWindow GetTopLevelNativeWindow() const; 55 virtual gfx::NativeWindow GetTopLevelNativeWindow() const;
56 virtual void InitRendererPrefs(RendererPreferences* prefs);
57 virtual void GetContainerBounds(gfx::Rect* out) const; 56 virtual void GetContainerBounds(gfx::Rect* out) const;
58 virtual void SetPageTitle(const std::wstring& title); 57 virtual void SetPageTitle(const std::wstring& title);
59 virtual void OnTabCrashed(); 58 virtual void OnTabCrashed();
60 virtual void SizeContents(const gfx::Size& size); 59 virtual void SizeContents(const gfx::Size& size);
61 virtual void Focus(); 60 virtual void Focus();
62 virtual void SetInitialFocus(); 61 virtual void SetInitialFocus();
63 virtual void StoreFocus(); 62 virtual void StoreFocus();
64 virtual void RestoreFocus(); 63 virtual void RestoreFocus();
65 64
66 // Backend implementation of RenderViewHostDelegate::View. 65 // Backend implementation of RenderViewHostDelegate::View.
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 scoped_ptr<TabContentsDragSource> drag_source_; 138 scoped_ptr<TabContentsDragSource> drag_source_;
140 139
141 // The size we want the tab contents view to be. We keep this in a separate 140 // The size we want the tab contents view to be. We keep this in a separate
142 // variable because resizing in GTK+ is async. 141 // variable because resizing in GTK+ is async.
143 gfx::Size requested_size_; 142 gfx::Size requested_size_;
144 143
145 DISALLOW_COPY_AND_ASSIGN(TabContentsViewGtk); 144 DISALLOW_COPY_AND_ASSIGN(TabContentsViewGtk);
146 }; 145 };
147 146
148 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ 147 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_view.h ('k') | chrome/browser/tab_contents/tab_contents_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698