| 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/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" |
| (...skipping 924 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 936 } | 936 } |
| 937 | 937 |
| 938 it->second.get()->GetContextMenu()->PopupAsContext(event->time); | 938 it->second.get()->GetContextMenu()->PopupAsContext(event->time); |
| 939 return TRUE; | 939 return TRUE; |
| 940 } | 940 } |
| 941 | 941 |
| 942 void BrowserActionsToolbarGtk::OnButtonShowOrHide(GtkWidget* sender) { | 942 void BrowserActionsToolbarGtk::OnButtonShowOrHide(GtkWidget* sender) { |
| 943 if (!resize_animation_.is_animating()) | 943 if (!resize_animation_.is_animating()) |
| 944 UpdateChevronVisibility(); | 944 UpdateChevronVisibility(); |
| 945 } | 945 } |
| OLD | NEW |