| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 GURL GetDestinationURL() const override; | 62 GURL GetDestinationURL() const override; |
| 63 WindowOpenDisposition GetWindowOpenDisposition() const override; | 63 WindowOpenDisposition GetWindowOpenDisposition() const override; |
| 64 ui::PageTransition GetPageTransition() const override; | 64 ui::PageTransition GetPageTransition() const override; |
| 65 void AcceptInput() override; | 65 void AcceptInput() override; |
| 66 void FocusLocation(bool select_all) override; | 66 void FocusLocation(bool select_all) override; |
| 67 void FocusSearch() override; | 67 void FocusSearch() override; |
| 68 void UpdateContentSettingsIcons() override; | 68 void UpdateContentSettingsIcons() override; |
| 69 void UpdateManagePasswordsIconAndBubble() override; | 69 void UpdateManagePasswordsIconAndBubble() override; |
| 70 void UpdateSaveCreditCardIcon() override; | 70 void UpdateSaveCreditCardIcon() override; |
| 71 void UpdateBookmarkStarVisibility() override; | 71 void UpdateBookmarkStarVisibility() override; |
| 72 void UpdateZoomViewVisibility() override; | |
| 73 void UpdateLocationBarVisibility(bool visible, bool animate) override; | 72 void UpdateLocationBarVisibility(bool visible, bool animate) 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 bool GetBookmarkStarVisibility() override; | 80 bool GetBookmarkStarVisibility() override; |
| 82 bool TestContentSettingImagePressed(size_t index) override; | 81 bool TestContentSettingImagePressed(size_t index) override; |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 // The security level of the location bar icon. | 298 // The security level of the location bar icon. |
| 300 security_state::SecurityLevel security_level_; | 299 security_state::SecurityLevel security_level_; |
| 301 | 300 |
| 302 // Used to schedule a task for the first run info bubble. | 301 // Used to schedule a task for the first run info bubble. |
| 303 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; | 302 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; |
| 304 | 303 |
| 305 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); | 304 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); |
| 306 }; | 305 }; |
| 307 | 306 |
| 308 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ | 307 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ |
| OLD | NEW |