| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 NotificationRegistrar registrar_; | 120 NotificationRegistrar registrar_; |
| 121 | 121 |
| 122 scoped_ptr<SadTabGtk> sad_tab_; | 122 scoped_ptr<SadTabGtk> sad_tab_; |
| 123 | 123 |
| 124 FocusStoreGtk focus_store_; | 124 FocusStoreGtk focus_store_; |
| 125 | 125 |
| 126 // Our UI for controlling popups (or NULL if no popup windows have been | 126 // Our UI for controlling popups (or NULL if no popup windows have been |
| 127 // opened). |popup_view_| is owned by the TabContents, not the view. | 127 // opened). |popup_view_| is owned by the TabContents, not the view. |
| 128 BlockedPopupContainerViewGtk* popup_view_; | 128 BlockedPopupContainerViewGtk* popup_view_; |
| 129 | 129 |
| 130 // Each individual UI for constrained dialogs currently displayed. The | 130 // The UI for the constrained dialog currently displayed. This is owned by the |
| 131 // objects in this vector are owned by the TabContents, not the view. | 131 // TabContents, not the view. |
| 132 std::vector<ConstrainedWindowGtk*> constrained_windows_; | 132 ConstrainedWindowGtk* constrained_window_; |
| 133 | 133 |
| 134 // The helper object that handles drag destination related interactions with | 134 // The helper object that handles drag destination related interactions with |
| 135 // GTK. | 135 // GTK. |
| 136 scoped_ptr<WebDragDestGtk> drag_dest_; | 136 scoped_ptr<WebDragDestGtk> drag_dest_; |
| 137 | 137 |
| 138 // Object responsible for handling drags from the page for us. | 138 // Object responsible for handling drags from the page for us. |
| 139 scoped_ptr<TabContentsDragSource> drag_source_; | 139 scoped_ptr<TabContentsDragSource> drag_source_; |
| 140 | 140 |
| 141 // The size we want the tab contents view to be. We keep this in a separate | 141 // The size we want the tab contents view to be. We keep this in a separate |
| 142 // variable because resizing in GTK+ is async. | 142 // variable because resizing in GTK+ is async. |
| 143 gfx::Size requested_size_; | 143 gfx::Size requested_size_; |
| 144 | 144 |
| 145 DISALLOW_COPY_AND_ASSIGN(TabContentsViewGtk); | 145 DISALLOW_COPY_AND_ASSIGN(TabContentsViewGtk); |
| 146 }; | 146 }; |
| 147 | 147 |
| 148 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ | 148 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ |
| OLD | NEW |