OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/location_bar_view_gtk.h" | 5 #include "chrome/browser/gtk/location_bar_view_gtk.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
| 9 #include "app/gfx/gtk_util.h" |
9 #include "app/l10n_util.h" | 10 #include "app/l10n_util.h" |
10 #include "app/resource_bundle.h" | 11 #include "app/resource_bundle.h" |
11 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
12 #include "base/gfx/gtk_util.h" | |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "base/string_util.h" | 14 #include "base/string_util.h" |
15 #include "chrome/app/chrome_dll_resource.h" | 15 #include "chrome/app/chrome_dll_resource.h" |
16 #include "chrome/browser/alternate_nav_url_fetcher.h" | 16 #include "chrome/browser/alternate_nav_url_fetcher.h" |
17 #include "chrome/browser/autocomplete/autocomplete_edit_view_gtk.h" | 17 #include "chrome/browser/autocomplete/autocomplete_edit_view_gtk.h" |
18 #include "chrome/browser/browser.h" | 18 #include "chrome/browser/browser.h" |
19 #include "chrome/browser/browser_list.h" | 19 #include "chrome/browser/browser_list.h" |
20 #include "chrome/browser/command_updater.h" | 20 #include "chrome/browser/command_updater.h" |
21 #include "chrome/browser/extensions/extension_browser_event_router.h" | 21 #include "chrome/browser/extensions/extension_browser_event_router.h" |
22 #include "chrome/browser/extensions/extension_tabs_module.h" | 22 #include "chrome/browser/extensions/extension_tabs_module.h" |
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
764 LocationBarViewGtk::PageActionViewGtk* page_action_view) { | 764 LocationBarViewGtk::PageActionViewGtk* page_action_view) { |
765 ExtensionBrowserEventRouter::GetInstance()->PageActionExecuted( | 765 ExtensionBrowserEventRouter::GetInstance()->PageActionExecuted( |
766 page_action_view->profile_, | 766 page_action_view->profile_, |
767 page_action_view->page_action_->extension_id(), | 767 page_action_view->page_action_->extension_id(), |
768 page_action_view->page_action_->id(), | 768 page_action_view->page_action_->id(), |
769 page_action_view->current_tab_id_, | 769 page_action_view->current_tab_id_, |
770 page_action_view->current_url_.spec(), | 770 page_action_view->current_url_.spec(), |
771 event->button); | 771 event->button); |
772 return true; | 772 return true; |
773 } | 773 } |
OLD | NEW |