| OLD | NEW |
| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 | 45 |
| 46 // TabContentsView implementation -------------------------------------------- | 46 // TabContentsView implementation -------------------------------------------- |
| 47 | 47 |
| 48 virtual void CreateView(); | 48 virtual void CreateView(); |
| 49 virtual RenderWidgetHostView* CreateViewForWidget( | 49 virtual RenderWidgetHostView* CreateViewForWidget( |
| 50 RenderWidgetHost* render_widget_host); | 50 RenderWidgetHost* render_widget_host); |
| 51 | 51 |
| 52 virtual gfx::NativeView GetNativeView() const; | 52 virtual gfx::NativeView GetNativeView() const; |
| 53 virtual gfx::NativeView GetContentNativeView() const; | 53 virtual gfx::NativeView GetContentNativeView() const; |
| 54 virtual gfx::NativeWindow GetTopLevelNativeWindow() const; | 54 virtual gfx::NativeWindow GetTopLevelNativeWindow() const; |
| 55 virtual void InitRendererPrefs(RendererPreferences* prefs); |
| 55 virtual void GetContainerBounds(gfx::Rect* out) const; | 56 virtual void GetContainerBounds(gfx::Rect* out) const; |
| 56 virtual void OnContentsDestroy(); | 57 virtual void OnContentsDestroy(); |
| 57 virtual void SetPageTitle(const std::wstring& title); | 58 virtual void SetPageTitle(const std::wstring& title); |
| 58 virtual void OnTabCrashed(); | 59 virtual void OnTabCrashed(); |
| 59 virtual void SizeContents(const gfx::Size& size); | 60 virtual void SizeContents(const gfx::Size& size); |
| 60 virtual void Focus(); | 61 virtual void Focus(); |
| 61 virtual void SetInitialFocus(); | 62 virtual void SetInitialFocus(); |
| 62 virtual void StoreFocus(); | 63 virtual void StoreFocus(); |
| 63 virtual void RestoreFocus(); | 64 virtual void RestoreFocus(); |
| 64 | 65 |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 // The mime type for the file contents of the current drag (if any). | 144 // The mime type for the file contents of the current drag (if any). |
| 144 GdkAtom drag_file_mime_type_; | 145 GdkAtom drag_file_mime_type_; |
| 145 // The helper object that handles drag destination related interactions with | 146 // The helper object that handles drag destination related interactions with |
| 146 // GTK. | 147 // GTK. |
| 147 scoped_ptr<WebDragDest> drag_dest_; | 148 scoped_ptr<WebDragDest> drag_dest_; |
| 148 | 149 |
| 149 DISALLOW_COPY_AND_ASSIGN(TabContentsViewGtk); | 150 DISALLOW_COPY_AND_ASSIGN(TabContentsViewGtk); |
| 150 }; | 151 }; |
| 151 | 152 |
| 152 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ | 153 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ |
| OLD | NEW |