| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 // objects in this vector are owned by the TabContents, not the view. | 132 // objects in this vector are owned by the TabContents, not the view. |
| 133 std::vector<ConstrainedWindowGtk*> constrained_windows_; | 133 std::vector<ConstrainedWindowGtk*> constrained_windows_; |
| 134 | 134 |
| 135 // The helper object that handles drag destination related interactions with | 135 // The helper object that handles drag destination related interactions with |
| 136 // GTK. | 136 // GTK. |
| 137 scoped_ptr<WebDragDest> drag_dest_; | 137 scoped_ptr<WebDragDest> drag_dest_; |
| 138 | 138 |
| 139 // Object responsible for handling drags from the page for us. | 139 // Object responsible for handling drags from the page for us. |
| 140 scoped_ptr<TabContentsDragSource> drag_source_; | 140 scoped_ptr<TabContentsDragSource> drag_source_; |
| 141 | 141 |
| 142 // The size we want the tab contents view to be. We keep this in a separate |
| 143 // variable because resizing in GTK+ is async. |
| 144 gfx::Size requested_size_; |
| 145 |
| 142 DISALLOW_COPY_AND_ASSIGN(TabContentsViewGtk); | 146 DISALLOW_COPY_AND_ASSIGN(TabContentsViewGtk); |
| 143 }; | 147 }; |
| 144 | 148 |
| 145 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ | 149 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ |
| OLD | NEW |