| 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 924 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 935 chrome::NOTIFICATION_EXTENSION_PAGE_ACTION_COUNT_CHANGED, | 935 chrome::NOTIFICATION_EXTENSION_PAGE_ACTION_COUNT_CHANGED, |
| 936 content::Source<LocationBar>(this), | 936 content::Source<LocationBar>(this), |
| 937 content::NotificationService::NoDetails()); | 937 content::NotificationService::NoDetails()); |
| 938 } | 938 } |
| 939 } | 939 } |
| 940 | 940 |
| 941 void LocationBarViewGtk::UpdateOpenPDFInReaderPrompt() { | 941 void LocationBarViewGtk::UpdateOpenPDFInReaderPrompt() { |
| 942 // Not implemented on Gtk. | 942 // Not implemented on Gtk. |
| 943 } | 943 } |
| 944 | 944 |
| 945 void LocationBarViewGtk::UpdateAutofillCreditCardView() { | 945 void LocationBarViewGtk::UpdateGeneratedCreditCardView() { |
| 946 NOTIMPLEMENTED(); | 946 NOTIMPLEMENTED(); |
| 947 } | 947 } |
| 948 | 948 |
| 949 void LocationBarViewGtk::SaveStateToContents(WebContents* contents) { | 949 void LocationBarViewGtk::SaveStateToContents(WebContents* contents) { |
| 950 location_entry_->SaveStateToTab(contents); | 950 location_entry_->SaveStateToTab(contents); |
| 951 } | 951 } |
| 952 | 952 |
| 953 void LocationBarViewGtk::Revert() { | 953 void LocationBarViewGtk::Revert() { |
| 954 location_entry_->RevertAll(); | 954 location_entry_->RevertAll(); |
| 955 } | 955 } |
| (...skipping 1160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2116 } | 2116 } |
| 2117 | 2117 |
| 2118 void LocationBarViewGtk::PageActionViewGtk::InspectPopup( | 2118 void LocationBarViewGtk::PageActionViewGtk::InspectPopup( |
| 2119 ExtensionAction* action) { | 2119 ExtensionAction* action) { |
| 2120 ExtensionPopupGtk::Show( | 2120 ExtensionPopupGtk::Show( |
| 2121 action->GetPopupUrl(current_tab_id_), | 2121 action->GetPopupUrl(current_tab_id_), |
| 2122 owner_->browser_, | 2122 owner_->browser_, |
| 2123 event_box_.get(), | 2123 event_box_.get(), |
| 2124 ExtensionPopupGtk::SHOW_AND_INSPECT); | 2124 ExtensionPopupGtk::SHOW_AND_INSPECT); |
| 2125 } | 2125 } |
| OLD | NEW |