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

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

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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/gtk/bookmark_utils_gtk.cc ('k') | chrome/browser/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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/browser_actions_toolbar_gtk.h" 5 #include "chrome/browser/gtk/browser_actions_toolbar_gtk.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/i18n/rtl.h" 9 #include "base/i18n/rtl.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "chrome/browser/extensions/extension_browser_event_router.h" 11 #include "chrome/browser/extensions/extension_browser_event_router.h"
12 #include "chrome/browser/extensions/extension_context_menu_model.h" 12 #include "chrome/browser/extensions/extension_context_menu_model.h"
13 #include "chrome/browser/extensions/extensions_service.h" 13 #include "chrome/browser/extensions/extensions_service.h"
14 #include "chrome/browser/extensions/image_loading_tracker.h" 14 #include "chrome/browser/extensions/image_loading_tracker.h"
15 #include "chrome/browser/gtk/cairo_cached_surface.h" 15 #include "chrome/browser/gtk/cairo_cached_surface.h"
16 #include "chrome/browser/gtk/extension_popup_gtk.h" 16 #include "chrome/browser/gtk/extension_popup_gtk.h"
17 #include "chrome/browser/gtk/gtk_chrome_button.h" 17 #include "chrome/browser/gtk/gtk_chrome_button.h"
18 #include "chrome/browser/gtk/gtk_chrome_shrinkable_hbox.h" 18 #include "chrome/browser/gtk/gtk_chrome_shrinkable_hbox.h"
19 #include "chrome/browser/gtk/gtk_theme_provider.h" 19 #include "chrome/browser/gtk/gtk_theme_provider.h"
20 #include "chrome/browser/gtk/gtk_util.h" 20 #include "chrome/browser/gtk/gtk_util.h"
21 #include "chrome/browser/gtk/hover_controller_gtk.h" 21 #include "chrome/browser/gtk/hover_controller_gtk.h"
22 #include "chrome/browser/gtk/menu_gtk.h" 22 #include "chrome/browser/gtk/menu_gtk.h"
23 #include "chrome/browser/gtk/view_id_util.h" 23 #include "chrome/browser/gtk/view_id_util.h"
24 #include "chrome/browser/profile.h" 24 #include "chrome/browser/profiles/profile.h"
25 #include "chrome/browser/tab_contents/tab_contents.h" 25 #include "chrome/browser/tab_contents/tab_contents.h"
26 #include "chrome/browser/ui/browser.h" 26 #include "chrome/browser/ui/browser.h"
27 #include "chrome/common/extensions/extension.h" 27 #include "chrome/common/extensions/extension.h"
28 #include "chrome/common/extensions/extension_action.h" 28 #include "chrome/common/extensions/extension_action.h"
29 #include "chrome/common/extensions/extension_resource.h" 29 #include "chrome/common/extensions/extension_resource.h"
30 #include "chrome/common/notification_details.h" 30 #include "chrome/common/notification_details.h"
31 #include "chrome/common/notification_service.h" 31 #include "chrome/common/notification_service.h"
32 #include "chrome/common/notification_source.h" 32 #include "chrome/common/notification_source.h"
33 #include "chrome/common/notification_type.h" 33 #include "chrome/common/notification_type.h"
34 #include "gfx/canvas_skia_paint.h" 34 #include "gfx/canvas_skia_paint.h"
(...skipping 886 matching lines...) Expand 10 before | Expand all | Expand 10 after
921 } 921 }
922 922
923 it->second.get()->GetContextMenu()->PopupAsContext(event->time); 923 it->second.get()->GetContextMenu()->PopupAsContext(event->time);
924 return TRUE; 924 return TRUE;
925 } 925 }
926 926
927 void BrowserActionsToolbarGtk::OnButtonShowOrHide(GtkWidget* sender) { 927 void BrowserActionsToolbarGtk::OnButtonShowOrHide(GtkWidget* sender) {
928 if (!resize_animation_.is_animating()) 928 if (!resize_animation_.is_animating())
929 UpdateChevronVisibility(); 929 UpdateChevronVisibility();
930 } 930 }
OLDNEW
« no previous file with comments | « chrome/browser/gtk/bookmark_utils_gtk.cc ('k') | chrome/browser/gtk/browser_titlebar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698