| 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_GTK_BOOKMARK_BAR_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_BOOKMARK_BAR_GTK_H_ |
| 6 #define CHROME_BROWSER_GTK_BOOKMARK_BAR_GTK_H_ | 6 #define CHROME_BROWSER_GTK_BOOKMARK_BAR_GTK_H_ |
| 7 | 7 |
| 8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 // GtkToolbar which contains all the bookmark buttons. | 309 // GtkToolbar which contains all the bookmark buttons. |
| 310 OwnedWidgetGtk bookmark_toolbar_; | 310 OwnedWidgetGtk bookmark_toolbar_; |
| 311 | 311 |
| 312 // The button that shows extra bookmarks that don't fit on the bookmark | 312 // The button that shows extra bookmarks that don't fit on the bookmark |
| 313 // bar. | 313 // bar. |
| 314 GtkWidget* overflow_button_; | 314 GtkWidget* overflow_button_; |
| 315 | 315 |
| 316 // The other bookmarks button. | 316 // The other bookmarks button. |
| 317 GtkWidget* other_bookmarks_button_; | 317 GtkWidget* other_bookmarks_button_; |
| 318 | 318 |
| 319 // The sync re-login indicator which appears when the user needs to re-enter | |
| 320 // credentials in order to continue syncing. | |
| 321 GtkWidget* sync_error_button_; | |
| 322 | |
| 323 // A pointer to the ProfileSyncService instance if one exists. | 319 // A pointer to the ProfileSyncService instance if one exists. |
| 324 ProfileSyncService* sync_service_; | 320 ProfileSyncService* sync_service_; |
| 325 | 321 |
| 326 // The BookmarkNode from the model being dragged. NULL when we aren't | 322 // The BookmarkNode from the model being dragged. NULL when we aren't |
| 327 // dragging. | 323 // dragging. |
| 328 const BookmarkNode* dragged_node_; | 324 const BookmarkNode* dragged_node_; |
| 329 | 325 |
| 330 // We create a GtkToolbarItem from |dragged_node_| ;or display. | 326 // We create a GtkToolbarItem from |dragged_node_| ;or display. |
| 331 GtkToolItem* toolbar_drop_item_; | 327 GtkToolItem* toolbar_drop_item_; |
| 332 | 328 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 361 | 357 |
| 362 // The size of the tab contents last time we forced a paint. We keep track | 358 // The size of the tab contents last time we forced a paint. We keep track |
| 363 // of this so we don't force too many paints. | 359 // of this so we don't force too many paints. |
| 364 gfx::Size last_tab_contents_size_; | 360 gfx::Size last_tab_contents_size_; |
| 365 | 361 |
| 366 // We post delayed paints using this factory. | 362 // We post delayed paints using this factory. |
| 367 ScopedRunnableMethodFactory<BookmarkBarGtk> event_box_paint_factory_; | 363 ScopedRunnableMethodFactory<BookmarkBarGtk> event_box_paint_factory_; |
| 368 }; | 364 }; |
| 369 | 365 |
| 370 #endif // CHROME_BROWSER_GTK_BOOKMARK_BAR_GTK_H_ | 366 #endif // CHROME_BROWSER_GTK_BOOKMARK_BAR_GTK_H_ |
| OLD | NEW |