Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc

Issue 6328002: Update references part 1: subdirectories of chrome/browser/ui/gtk/:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #include "chrome/browser/gtk/tabs/tab_strip_gtk.h" 5 #include "chrome/browser/ui/gtk/tabs/tab_strip_gtk.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "app/gtk_dnd_util.h" 9 #include "app/gtk_dnd_util.h"
10 #include "app/resource_bundle.h" 10 #include "app/resource_bundle.h"
11 #include "base/i18n/rtl.h" 11 #include "base/i18n/rtl.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "base/utf_string_conversions.h" 13 #include "base/utf_string_conversions.h"
14 #include "chrome/browser/autocomplete/autocomplete.h" 14 #include "chrome/browser/autocomplete/autocomplete.h"
15 #include "chrome/browser/autocomplete/autocomplete_classifier.h" 15 #include "chrome/browser/autocomplete/autocomplete_classifier.h"
16 #include "chrome/browser/autocomplete/autocomplete_match.h" 16 #include "chrome/browser/autocomplete/autocomplete_match.h"
17 #include "chrome/browser/gtk/browser_window_gtk.h"
18 #include "chrome/browser/gtk/custom_button.h"
19 #include "chrome/browser/gtk/gtk_theme_provider.h"
20 #include "chrome/browser/gtk/gtk_util.h"
21 #include "chrome/browser/gtk/tabs/dragged_tab_controller_gtk.h"
22 #include "chrome/browser/profiles/profile.h" 17 #include "chrome/browser/profiles/profile.h"
23 #include "chrome/browser/tab_contents/tab_contents.h" 18 #include "chrome/browser/tab_contents/tab_contents.h"
24 #include "chrome/browser/tabs/tab_strip_model_delegate.h" 19 #include "chrome/browser/tabs/tab_strip_model_delegate.h"
25 #include "chrome/browser/themes/browser_theme_provider.h" 20 #include "chrome/browser/themes/browser_theme_provider.h"
26 #include "chrome/browser/ui/browser.h" 21 #include "chrome/browser/ui/browser.h"
27 #include "chrome/browser/ui/browser_navigator.h" 22 #include "chrome/browser/ui/browser_navigator.h"
23 #include "chrome/browser/ui/gtk/browser_window_gtk.h"
24 #include "chrome/browser/ui/gtk/custom_button.h"
25 #include "chrome/browser/ui/gtk/gtk_theme_provider.h"
26 #include "chrome/browser/ui/gtk/gtk_util.h"
27 #include "chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h"
28 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 28 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
29 #include "chrome/common/notification_service.h" 29 #include "chrome/common/notification_service.h"
30 #include "chrome/common/notification_type.h" 30 #include "chrome/common/notification_type.h"
31 #include "gfx/gtk_util.h" 31 #include "gfx/gtk_util.h"
32 #include "gfx/point.h" 32 #include "gfx/point.h"
33 #include "grit/app_resources.h" 33 #include "grit/app_resources.h"
34 #include "grit/theme_resources.h" 34 #include "grit/theme_resources.h"
35 #include "ui/base/animation/animation_delegate.h" 35 #include "ui/base/animation/animation_delegate.h"
36 #include "ui/base/animation/slide_animation.h" 36 #include "ui/base/animation/slide_animation.h"
37 37
(...skipping 2016 matching lines...) Expand 10 before | Expand all | Expand 10 after
2054 2054
2055 // Let the middle mouse button initiate clicks as well. 2055 // Let the middle mouse button initiate clicks as well.
2056 gtk_util::SetButtonTriggersNavigation(button->widget()); 2056 gtk_util::SetButtonTriggersNavigation(button->widget());
2057 g_signal_connect(button->widget(), "clicked", 2057 g_signal_connect(button->widget(), "clicked",
2058 G_CALLBACK(OnNewTabClickedThunk), this); 2058 G_CALLBACK(OnNewTabClickedThunk), this);
2059 GTK_WIDGET_UNSET_FLAGS(button->widget(), GTK_CAN_FOCUS); 2059 GTK_WIDGET_UNSET_FLAGS(button->widget(), GTK_CAN_FOCUS);
2060 gtk_fixed_put(GTK_FIXED(tabstrip_.get()), button->widget(), 0, 0); 2060 gtk_fixed_put(GTK_FIXED(tabstrip_.get()), button->widget(), 0, 0);
2061 2061
2062 return button; 2062 return button;
2063 } 2063 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698