| 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 #ifndef CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ | 6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 #include <stddef.h> | 9 #include <stddef.h> |
| 10 | 10 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 void FocusLocation(bool select_all) override; | 63 void FocusLocation(bool select_all) override; |
| 64 void FocusSearch() override; | 64 void FocusSearch() override; |
| 65 void UpdateContentSettingsIcons() override; | 65 void UpdateContentSettingsIcons() override; |
| 66 void UpdateManagePasswordsIconAndBubble() override; | 66 void UpdateManagePasswordsIconAndBubble() override; |
| 67 void UpdateSaveCreditCardIcon() override; | 67 void UpdateSaveCreditCardIcon() override; |
| 68 void UpdatePageActions() override; | 68 void UpdatePageActions() override; |
| 69 void UpdateBookmarkStarVisibility() override; | 69 void UpdateBookmarkStarVisibility() override; |
| 70 void UpdateLocationBarVisibility(bool visible, bool animate) override; | 70 void UpdateLocationBarVisibility(bool visible, bool animate) override; |
| 71 bool ShowPageActionPopup(const extensions::Extension* extension, | 71 bool ShowPageActionPopup(const extensions::Extension* extension, |
| 72 bool grant_active_tab) override; | 72 bool grant_active_tab) override; |
| 73 void UpdateOpenPDFInReaderPrompt() override; | |
| 74 void SaveStateToContents(content::WebContents* contents) override; | 73 void SaveStateToContents(content::WebContents* contents) override; |
| 75 void Revert() override; | 74 void Revert() override; |
| 76 const OmniboxView* GetOmniboxView() const override; | 75 const OmniboxView* GetOmniboxView() const override; |
| 77 OmniboxView* GetOmniboxView() override; | 76 OmniboxView* GetOmniboxView() override; |
| 78 LocationBarTesting* GetLocationBarForTesting() override; | 77 LocationBarTesting* GetLocationBarForTesting() override; |
| 79 | 78 |
| 80 // Overridden from LocationBarTesting: | 79 // Overridden from LocationBarTesting: |
| 81 int PageActionCount() override; | 80 int PageActionCount() override; |
| 82 int PageActionVisibleCount() override; | 81 int PageActionVisibleCount() override; |
| 83 ExtensionAction* GetPageAction(size_t index) override; | 82 ExtensionAction* GetPageAction(size_t index) override; |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 // The security level of the location bar icon. | 332 // The security level of the location bar icon. |
| 334 security_state::SecurityLevel security_level_; | 333 security_state::SecurityLevel security_level_; |
| 335 | 334 |
| 336 // Used to schedule a task for the first run info bubble. | 335 // Used to schedule a task for the first run info bubble. |
| 337 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; | 336 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; |
| 338 | 337 |
| 339 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); | 338 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); |
| 340 }; | 339 }; |
| 341 | 340 |
| 342 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ | 341 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ |
| OLD | NEW |