| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 #include "chrome/common/extensions/extension.h" | 69 #include "chrome/common/extensions/extension.h" |
| 70 #include "chrome/common/extensions/extension_action.h" | 70 #include "chrome/common/extensions/extension_action.h" |
| 71 #include "chrome/common/extensions/extension_manifest_constants.h" | 71 #include "chrome/common/extensions/extension_manifest_constants.h" |
| 72 #include "chrome/common/extensions/extension_resource.h" | 72 #include "chrome/common/extensions/extension_resource.h" |
| 73 #include "chrome/common/pref_names.h" | 73 #include "chrome/common/pref_names.h" |
| 74 #include "content/public/browser/navigation_entry.h" | 74 #include "content/public/browser/navigation_entry.h" |
| 75 #include "content/public/browser/notification_service.h" | 75 #include "content/public/browser/notification_service.h" |
| 76 #include "content/public/browser/web_contents.h" | 76 #include "content/public/browser/web_contents.h" |
| 77 #include "grit/generated_resources.h" | 77 #include "grit/generated_resources.h" |
| 78 #include "grit/theme_resources.h" | 78 #include "grit/theme_resources.h" |
| 79 #include "grit/theme_resources_standard.h" | |
| 80 #include "net/base/net_util.h" | 79 #include "net/base/net_util.h" |
| 81 #include "ui/base/accelerators/accelerator_gtk.h" | 80 #include "ui/base/accelerators/accelerator_gtk.h" |
| 82 #include "ui/base/dragdrop/gtk_dnd_util.h" | 81 #include "ui/base/dragdrop/gtk_dnd_util.h" |
| 83 #include "ui/base/gtk/gtk_hig_constants.h" | 82 #include "ui/base/gtk/gtk_hig_constants.h" |
| 84 #include "ui/base/gtk/gtk_signal_registrar.h" | 83 #include "ui/base/gtk/gtk_signal_registrar.h" |
| 85 #include "ui/base/l10n/l10n_util.h" | 84 #include "ui/base/l10n/l10n_util.h" |
| 86 #include "ui/base/resource/resource_bundle.h" | 85 #include "ui/base/resource/resource_bundle.h" |
| 87 #include "ui/gfx/canvas_skia_paint.h" | 86 #include "ui/gfx/canvas_skia_paint.h" |
| 88 #include "ui/gfx/font.h" | 87 #include "ui/gfx/font.h" |
| 89 #include "ui/gfx/gtk_util.h" | 88 #include "ui/gfx/gtk_util.h" |
| (...skipping 1884 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1974 } | 1973 } |
| 1975 | 1974 |
| 1976 void LocationBarViewGtk::PageActionViewGtk::InspectPopup( | 1975 void LocationBarViewGtk::PageActionViewGtk::InspectPopup( |
| 1977 ExtensionAction* action) { | 1976 ExtensionAction* action) { |
| 1978 ExtensionPopupGtk::Show( | 1977 ExtensionPopupGtk::Show( |
| 1979 action->GetPopupUrl(current_tab_id_), | 1978 action->GetPopupUrl(current_tab_id_), |
| 1980 owner_->browser_, | 1979 owner_->browser_, |
| 1981 event_box_.get(), | 1980 event_box_.get(), |
| 1982 ExtensionPopupGtk::SHOW_AND_INSPECT); | 1981 ExtensionPopupGtk::SHOW_AND_INSPECT); |
| 1983 } | 1982 } |
| OLD | NEW |