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 931 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
942 chrome::NOTIFICATION_EXTENSION_PAGE_ACTION_COUNT_CHANGED, | 942 chrome::NOTIFICATION_EXTENSION_PAGE_ACTION_COUNT_CHANGED, |
943 content::Source<LocationBar>(this), | 943 content::Source<LocationBar>(this), |
944 content::NotificationService::NoDetails()); | 944 content::NotificationService::NoDetails()); |
945 } | 945 } |
946 } | 946 } |
947 | 947 |
948 void LocationBarViewGtk::UpdateOpenPDFInReaderPrompt() { | 948 void LocationBarViewGtk::UpdateOpenPDFInReaderPrompt() { |
949 // Not implemented on Gtk. | 949 // Not implemented on Gtk. |
950 } | 950 } |
951 | 951 |
952 void LocationBarViewGtk::UpdateAutofillCreditCardView() { | 952 void LocationBarViewGtk::UpdateGeneratedCreditCardView() { |
953 NOTIMPLEMENTED(); | 953 NOTIMPLEMENTED(); |
954 } | 954 } |
955 | 955 |
956 void LocationBarViewGtk::SaveStateToContents(WebContents* contents) { | 956 void LocationBarViewGtk::SaveStateToContents(WebContents* contents) { |
957 location_entry_->SaveStateToTab(contents); | 957 location_entry_->SaveStateToTab(contents); |
958 } | 958 } |
959 | 959 |
960 void LocationBarViewGtk::Revert() { | 960 void LocationBarViewGtk::Revert() { |
961 location_entry_->RevertAll(); | 961 location_entry_->RevertAll(); |
962 } | 962 } |
(...skipping 1160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2123 } | 2123 } |
2124 | 2124 |
2125 void LocationBarViewGtk::PageActionViewGtk::InspectPopup( | 2125 void LocationBarViewGtk::PageActionViewGtk::InspectPopup( |
2126 ExtensionAction* action) { | 2126 ExtensionAction* action) { |
2127 ExtensionPopupGtk::Show( | 2127 ExtensionPopupGtk::Show( |
2128 action->GetPopupUrl(current_tab_id_), | 2128 action->GetPopupUrl(current_tab_id_), |
2129 owner_->browser_, | 2129 owner_->browser_, |
2130 event_box_.get(), | 2130 event_box_.get(), |
2131 ExtensionPopupGtk::SHOW_AND_INSPECT); | 2131 ExtensionPopupGtk::SHOW_AND_INSPECT); |
2132 } | 2132 } |
OLD | NEW |