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

Side by Side Diff: chrome/browser/gtk/notifications/balloon_view_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
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/notifications/balloon_view_gtk.h" 5 #include "chrome/browser/gtk/notifications/balloon_view_gtk.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 11 matching lines...) Expand all
22 #include "chrome/browser/gtk/gtk_theme_provider.h" 22 #include "chrome/browser/gtk/gtk_theme_provider.h"
23 #include "chrome/browser/gtk/gtk_util.h" 23 #include "chrome/browser/gtk/gtk_util.h"
24 #include "chrome/browser/gtk/info_bubble_gtk.h" 24 #include "chrome/browser/gtk/info_bubble_gtk.h"
25 #include "chrome/browser/gtk/menu_gtk.h" 25 #include "chrome/browser/gtk/menu_gtk.h"
26 #include "chrome/browser/gtk/notifications/balloon_view_host_gtk.h" 26 #include "chrome/browser/gtk/notifications/balloon_view_host_gtk.h"
27 #include "chrome/browser/gtk/rounded_window.h" 27 #include "chrome/browser/gtk/rounded_window.h"
28 #include "chrome/browser/notifications/balloon.h" 28 #include "chrome/browser/notifications/balloon.h"
29 #include "chrome/browser/notifications/desktop_notification_service.h" 29 #include "chrome/browser/notifications/desktop_notification_service.h"
30 #include "chrome/browser/notifications/notification.h" 30 #include "chrome/browser/notifications/notification.h"
31 #include "chrome/browser/notifications/notification_options_menu_model.h" 31 #include "chrome/browser/notifications/notification_options_menu_model.h"
32 #include "chrome/browser/profile.h" 32 #include "chrome/browser/profiles/profile.h"
33 #include "chrome/browser/renderer_host/render_view_host.h" 33 #include "chrome/browser/renderer_host/render_view_host.h"
34 #include "chrome/browser/renderer_host/render_widget_host_view.h" 34 #include "chrome/browser/renderer_host/render_widget_host_view.h"
35 #include "chrome/browser/themes/browser_theme_provider.h" 35 #include "chrome/browser/themes/browser_theme_provider.h"
36 #include "chrome/common/extensions/extension.h" 36 #include "chrome/common/extensions/extension.h"
37 #include "chrome/common/notification_details.h" 37 #include "chrome/common/notification_details.h"
38 #include "chrome/common/notification_service.h" 38 #include "chrome/common/notification_service.h"
39 #include "chrome/common/notification_source.h" 39 #include "chrome/common/notification_source.h"
40 #include "chrome/common/notification_type.h" 40 #include "chrome/common/notification_type.h"
41 #include "gfx/canvas.h" 41 #include "gfx/canvas.h"
42 #include "gfx/insets.h" 42 #include "gfx/insets.h"
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 414
415 void BalloonViewImpl::OnOptionsMenuButton(GtkWidget* widget) { 415 void BalloonViewImpl::OnOptionsMenuButton(GtkWidget* widget) {
416 options_menu_->PopupAsContext(gtk_get_current_event_time()); 416 options_menu_->PopupAsContext(gtk_get_current_event_time());
417 } 417 }
418 418
419 gboolean BalloonViewImpl::OnDestroy(GtkWidget* widget) { 419 gboolean BalloonViewImpl::OnDestroy(GtkWidget* widget) {
420 frame_container_ = NULL; 420 frame_container_ = NULL;
421 Close(false); 421 Close(false);
422 return FALSE; // Propagate. 422 return FALSE; // Propagate.
423 } 423 }
OLDNEW
« no previous file with comments | « chrome/browser/gtk/location_bar_view_gtk.cc ('k') | chrome/browser/gtk/options/advanced_contents_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698