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

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

Issue 8342048: Make NotificationService an interface in the content namespace, and switch callers to use it. Mov... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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/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/bind.h" 10 #include "base/bind.h"
(...skipping 14 matching lines...) Expand all
25 #include "chrome/browser/ui/gtk/gtk_util.h" 25 #include "chrome/browser/ui/gtk/gtk_util.h"
26 #include "chrome/browser/ui/gtk/hover_controller_gtk.h" 26 #include "chrome/browser/ui/gtk/hover_controller_gtk.h"
27 #include "chrome/browser/ui/gtk/menu_gtk.h" 27 #include "chrome/browser/ui/gtk/menu_gtk.h"
28 #include "chrome/browser/ui/gtk/view_id_util.h" 28 #include "chrome/browser/ui/gtk/view_id_util.h"
29 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 29 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
30 #include "chrome/common/chrome_notification_types.h" 30 #include "chrome/common/chrome_notification_types.h"
31 #include "chrome/common/extensions/extension.h" 31 #include "chrome/common/extensions/extension.h"
32 #include "chrome/common/extensions/extension_action.h" 32 #include "chrome/common/extensions/extension_action.h"
33 #include "chrome/common/extensions/extension_resource.h" 33 #include "chrome/common/extensions/extension_resource.h"
34 #include "content/browser/tab_contents/tab_contents.h" 34 #include "content/browser/tab_contents/tab_contents.h"
35 #include "content/common/notification_service.h"
36 #include "content/public/browser/notification_details.h" 35 #include "content/public/browser/notification_details.h"
37 #include "content/public/browser/notification_source.h" 36 #include "content/public/browser/notification_source.h"
38 #include "grit/theme_resources.h" 37 #include "grit/theme_resources.h"
39 #include "grit/theme_resources_standard.h" 38 #include "grit/theme_resources_standard.h"
40 #include "grit/ui_resources.h" 39 #include "grit/ui_resources.h"
41 #include "ui/gfx/canvas_skia_paint.h" 40 #include "ui/gfx/canvas_skia_paint.h"
42 #include "ui/gfx/gtk_util.h" 41 #include "ui/gfx/gtk_util.h"
43 42
44 namespace { 43 namespace {
45 44
(...skipping 910 matching lines...) Expand 10 before | Expand all | Expand 10 after
956 955
957 menu->PopupAsContext(gfx::Point(event->x_root, event->y_root), 956 menu->PopupAsContext(gfx::Point(event->x_root, event->y_root),
958 event->time); 957 event->time);
959 return TRUE; 958 return TRUE;
960 } 959 }
961 960
962 void BrowserActionsToolbarGtk::OnButtonShowOrHide(GtkWidget* sender) { 961 void BrowserActionsToolbarGtk::OnButtonShowOrHide(GtkWidget* sender) {
963 if (!resize_animation_.is_animating()) 962 if (!resize_animation_.is_animating())
964 UpdateChevronVisibility(); 963 UpdateChevronVisibility();
965 } 964 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/bookmarks/bookmark_bubble_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