| OLD | NEW |
| 1 // Copyright (c) 2010 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_GTK_TABS_TAB_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_TABS_TAB_GTK_H_ |
| 6 #define CHROME_BROWSER_GTK_TABS_TAB_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_TABS_TAB_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "app/gtk_signal.h" | 9 #include "app/gtk_signal.h" |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/message_loop.h" | 11 #include "base/message_loop.h" |
| 12 #include "chrome/browser/gtk/tabs/tab_renderer_gtk.h" | 12 #include "chrome/browser/gtk/tabs/tab_renderer_gtk.h" |
| 13 #include "chrome/browser/tabs/tab_strip_model.h" | 13 #include "chrome/browser/tabs/tab_strip_model.h" |
| 14 | 14 |
| 15 namespace gfx { | 15 namespace gfx { |
| 16 class Path; | 16 class Path; |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 // Due to a bug in GTK+, we need to force the end of a drag when we get a | 203 // Due to a bug in GTK+, we need to force the end of a drag when we get a |
| 204 // mouse release event on the the dragged widget, otherwise, we don't know | 204 // mouse release event on the the dragged widget, otherwise, we don't know |
| 205 // when the drag has ended when the user presses space or enter. We queue | 205 // when the drag has ended when the user presses space or enter. We queue |
| 206 // a task to end the drag and only run it if GTK+ didn't send us the | 206 // a task to end the drag and only run it if GTK+ didn't send us the |
| 207 // drag-failed event. | 207 // drag-failed event. |
| 208 ScopedRunnableMethodFactory<TabGtk> drag_end_factory_; | 208 ScopedRunnableMethodFactory<TabGtk> drag_end_factory_; |
| 209 | 209 |
| 210 DISALLOW_COPY_AND_ASSIGN(TabGtk); | 210 DISALLOW_COPY_AND_ASSIGN(TabGtk); |
| 211 }; | 211 }; |
| 212 | 212 |
| 213 #endif // CHROME_BROWSER_GTK_TABS_TAB_GTK_H_ | 213 #endif // CHROME_BROWSER_UI_GTK_TABS_TAB_GTK_H_ |
| OLD | NEW |