| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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/location_bar_view_gtk.h" | 5 #include "chrome/browser/ui/gtk/location_bar_view_gtk.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 #include "chrome/browser/ui/omnibox/alternate_nav_url_fetcher.h" | 65 #include "chrome/browser/ui/omnibox/alternate_nav_url_fetcher.h" |
| 66 #include "chrome/browser/ui/omnibox/location_bar_util.h" | 66 #include "chrome/browser/ui/omnibox/location_bar_util.h" |
| 67 #include "chrome/browser/ui/omnibox/omnibox_edit_model.h" | 67 #include "chrome/browser/ui/omnibox/omnibox_edit_model.h" |
| 68 #include "chrome/browser/ui/omnibox/omnibox_popup_model.h" | 68 #include "chrome/browser/ui/omnibox/omnibox_popup_model.h" |
| 69 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 69 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 70 #include "chrome/browser/ui/webui/extensions/extension_info_ui.h" | 70 #include "chrome/browser/ui/webui/extensions/extension_info_ui.h" |
| 71 #include "chrome/browser/ui/zoom/zoom_controller.h" | 71 #include "chrome/browser/ui/zoom/zoom_controller.h" |
| 72 #include "chrome/common/badge_util.h" | 72 #include "chrome/common/badge_util.h" |
| 73 #include "chrome/common/chrome_notification_types.h" | 73 #include "chrome/common/chrome_notification_types.h" |
| 74 #include "chrome/common/chrome_switches.h" | 74 #include "chrome/common/chrome_switches.h" |
| 75 #include "chrome/common/extensions/api/icons/icons_handler.h" | |
| 76 #include "chrome/common/extensions/extension.h" | 75 #include "chrome/common/extensions/extension.h" |
| 77 #include "chrome/common/extensions/extension_manifest_constants.h" | 76 #include "chrome/common/extensions/extension_manifest_constants.h" |
| 78 #include "chrome/common/extensions/feature_switch.h" | 77 #include "chrome/common/extensions/feature_switch.h" |
| 78 #include "chrome/common/extensions/manifest_handlers/icons_handler.h" |
| 79 #include "chrome/common/pref_names.h" | 79 #include "chrome/common/pref_names.h" |
| 80 #include "content/public/browser/navigation_entry.h" | 80 #include "content/public/browser/navigation_entry.h" |
| 81 #include "content/public/browser/notification_service.h" | 81 #include "content/public/browser/notification_service.h" |
| 82 #include "content/public/browser/web_contents.h" | 82 #include "content/public/browser/web_contents.h" |
| 83 #include "grit/generated_resources.h" | 83 #include "grit/generated_resources.h" |
| 84 #include "grit/theme_resources.h" | 84 #include "grit/theme_resources.h" |
| 85 #include "net/base/net_util.h" | 85 #include "net/base/net_util.h" |
| 86 #include "ui/base/accelerators/platform_accelerator_gtk.h" | 86 #include "ui/base/accelerators/platform_accelerator_gtk.h" |
| 87 #include "ui/base/dragdrop/gtk_dnd_util.h" | 87 #include "ui/base/dragdrop/gtk_dnd_util.h" |
| 88 #include "ui/base/gtk/gtk_hig_constants.h" | 88 #include "ui/base/gtk/gtk_hig_constants.h" |
| (...skipping 2011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2100 } | 2100 } |
| 2101 | 2101 |
| 2102 void LocationBarViewGtk::PageActionViewGtk::InspectPopup( | 2102 void LocationBarViewGtk::PageActionViewGtk::InspectPopup( |
| 2103 ExtensionAction* action) { | 2103 ExtensionAction* action) { |
| 2104 ExtensionPopupGtk::Show( | 2104 ExtensionPopupGtk::Show( |
| 2105 action->GetPopupUrl(current_tab_id_), | 2105 action->GetPopupUrl(current_tab_id_), |
| 2106 owner_->browser_, | 2106 owner_->browser_, |
| 2107 event_box_.get(), | 2107 event_box_.get(), |
| 2108 ExtensionPopupGtk::SHOW_AND_INSPECT); | 2108 ExtensionPopupGtk::SHOW_AND_INSPECT); |
| 2109 } | 2109 } |
| OLD | NEW |