| OLD | NEW |
| 1 // Copyright (c) 2010 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/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> |
| 11 | 11 |
| (...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 | 418 |
| 419 void BalloonViewImpl::OnOptionsMenuButton(GtkWidget* widget) { | 419 void BalloonViewImpl::OnOptionsMenuButton(GtkWidget* widget) { |
| 420 options_menu_->PopupAsContext(gtk_get_current_event_time()); | 420 options_menu_->PopupAsContext(gtk_get_current_event_time()); |
| 421 } | 421 } |
| 422 | 422 |
| 423 gboolean BalloonViewImpl::OnDestroy(GtkWidget* widget) { | 423 gboolean BalloonViewImpl::OnDestroy(GtkWidget* widget) { |
| 424 frame_container_ = NULL; | 424 frame_container_ = NULL; |
| 425 Close(false); | 425 Close(false); |
| 426 return FALSE; // Propagate. | 426 return FALSE; // Propagate. |
| 427 } | 427 } |
| OLD | NEW |