OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_UI_GTK_TABS_TAB_STRIP_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_TABS_TAB_STRIP_GTK_H_ |
6 #define CHROME_BROWSER_UI_GTK_TABS_TAB_STRIP_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_TABS_TAB_STRIP_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/message_loop.h" | 15 #include "base/message_loop.h" |
16 #include "base/task.h" | |
17 #include "chrome/browser/tabs/tab_strip_model.h" | 16 #include "chrome/browser/tabs/tab_strip_model.h" |
18 #include "chrome/browser/ui/gtk/tabs/tab_gtk.h" | 17 #include "chrome/browser/ui/gtk/tabs/tab_gtk.h" |
19 #include "chrome/browser/ui/gtk/tabstrip_origin_provider.h" | 18 #include "chrome/browser/ui/gtk/tabstrip_origin_provider.h" |
20 #include "chrome/browser/ui/gtk/view_id_util.h" | 19 #include "chrome/browser/ui/gtk/view_id_util.h" |
21 #include "chrome/browser/ui/tabs/hover_tab_selector.h" | 20 #include "chrome/browser/ui/tabs/hover_tab_selector.h" |
22 #include "content/public/browser/notification_observer.h" | 21 #include "content/public/browser/notification_observer.h" |
23 #include "content/public/browser/notification_registrar.h" | 22 #include "content/public/browser/notification_registrar.h" |
24 #include "ui/base/gtk/gtk_signal.h" | 23 #include "ui/base/gtk/gtk_signal.h" |
25 #include "ui/base/gtk/owned_widget_gtk.h" | 24 #include "ui/base/gtk/owned_widget_gtk.h" |
26 #include "ui/gfx/rect.h" | 25 #include "ui/gfx/rect.h" |
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 | 493 |
495 // Helper for performing tab selection as a result of dragging over a tab. | 494 // Helper for performing tab selection as a result of dragging over a tab. |
496 HoverTabSelector hover_tab_selector_; | 495 HoverTabSelector hover_tab_selector_; |
497 | 496 |
498 content::NotificationRegistrar registrar_; | 497 content::NotificationRegistrar registrar_; |
499 | 498 |
500 DISALLOW_COPY_AND_ASSIGN(TabStripGtk); | 499 DISALLOW_COPY_AND_ASSIGN(TabStripGtk); |
501 }; | 500 }; |
502 | 501 |
503 #endif // CHROME_BROWSER_UI_GTK_TABS_TAB_STRIP_GTK_H_ | 502 #endif // CHROME_BROWSER_UI_GTK_TABS_TAB_STRIP_GTK_H_ |
OLD | NEW |