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

Side by Side Diff: chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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
« no previous file with comments | « chrome/browser/ui/gtk/bookmark_utils_gtk.cc ('k') | chrome/browser/ui/gtk/browser_titlebar.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/ui/gtk/browser_actions_toolbar_gtk.h" 5 #include "chrome/browser/ui/gtk/browser_actions_toolbar_gtk.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/i18n/rtl.h" 10 #include "base/i18n/rtl.h"
(...skipping 14 matching lines...) Expand all
25 #include "chrome/browser/ui/gtk/hover_controller_gtk.h" 25 #include "chrome/browser/ui/gtk/hover_controller_gtk.h"
26 #include "chrome/browser/ui/gtk/menu_gtk.h" 26 #include "chrome/browser/ui/gtk/menu_gtk.h"
27 #include "chrome/browser/ui/gtk/view_id_util.h" 27 #include "chrome/browser/ui/gtk/view_id_util.h"
28 #include "chrome/common/extensions/extension.h" 28 #include "chrome/common/extensions/extension.h"
29 #include "chrome/common/extensions/extension_action.h" 29 #include "chrome/common/extensions/extension_action.h"
30 #include "chrome/common/extensions/extension_resource.h" 30 #include "chrome/common/extensions/extension_resource.h"
31 #include "chrome/common/notification_details.h" 31 #include "chrome/common/notification_details.h"
32 #include "chrome/common/notification_service.h" 32 #include "chrome/common/notification_service.h"
33 #include "chrome/common/notification_source.h" 33 #include "chrome/common/notification_source.h"
34 #include "chrome/common/notification_type.h" 34 #include "chrome/common/notification_type.h"
35 #include "gfx/canvas_skia_paint.h"
36 #include "gfx/gtk_util.h"
37 #include "grit/app_resources.h" 35 #include "grit/app_resources.h"
38 #include "grit/theme_resources.h" 36 #include "grit/theme_resources.h"
37 #include "ui/gfx/canvas_skia_paint.h"
38 #include "ui/gfx/gtk_util.h"
39 39
40 namespace { 40 namespace {
41 41
42 // The width of the browser action buttons. 42 // The width of the browser action buttons.
43 const int kButtonWidth = 27; 43 const int kButtonWidth = 27;
44 44
45 // The padding between browser action buttons. 45 // The padding between browser action buttons.
46 const int kButtonPadding = 4; 46 const int kButtonPadding = 4;
47 47
48 // The padding to the right of the browser action buttons (between the buttons 48 // The padding to the right of the browser action buttons (between the buttons
(...skipping 902 matching lines...) Expand 10 before | Expand all | Expand 10 after
951 return FALSE; 951 return FALSE;
952 952
953 menu->PopupAsContext(event->time); 953 menu->PopupAsContext(event->time);
954 return TRUE; 954 return TRUE;
955 } 955 }
956 956
957 void BrowserActionsToolbarGtk::OnButtonShowOrHide(GtkWidget* sender) { 957 void BrowserActionsToolbarGtk::OnButtonShowOrHide(GtkWidget* sender) {
958 if (!resize_animation_.is_animating()) 958 if (!resize_animation_.is_animating())
959 UpdateChevronVisibility(); 959 UpdateChevronVisibility();
960 } 960 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/bookmark_utils_gtk.cc ('k') | chrome/browser/ui/gtk/browser_titlebar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698