| 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 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #import <Cocoa/Cocoa.h> | 10 #import <Cocoa/Cocoa.h> |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 // Overridden from LocationBar: | 57 // Overridden from LocationBar: |
| 58 void ShowFirstRunBubble() override; | 58 void ShowFirstRunBubble() override; |
| 59 GURL GetDestinationURL() const override; | 59 GURL GetDestinationURL() const override; |
| 60 WindowOpenDisposition GetWindowOpenDisposition() const override; | 60 WindowOpenDisposition GetWindowOpenDisposition() const override; |
| 61 ui::PageTransition GetPageTransition() const override; | 61 ui::PageTransition GetPageTransition() const override; |
| 62 void AcceptInput() override; | 62 void AcceptInput() override; |
| 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 UpdatePageActions() override; | 68 void UpdatePageActions() override; |
| 68 void UpdateBookmarkStarVisibility() override; | 69 void UpdateBookmarkStarVisibility() override; |
| 69 void UpdateLocationBarVisibility(bool visible, bool animate) override; | 70 void UpdateLocationBarVisibility(bool visible, bool animate) override; |
| 70 bool ShowPageActionPopup(const extensions::Extension* extension, | 71 bool ShowPageActionPopup(const extensions::Extension* extension, |
| 71 bool grant_active_tab) override; | 72 bool grant_active_tab) override; |
| 72 void UpdateOpenPDFInReaderPrompt() override; | 73 void UpdateOpenPDFInReaderPrompt() override; |
| 73 void SaveStateToContents(content::WebContents* contents) override; | 74 void SaveStateToContents(content::WebContents* contents) override; |
| 74 void Revert() override; | 75 void Revert() override; |
| 75 const OmniboxView* GetOmniboxView() const override; | 76 const OmniboxView* GetOmniboxView() const override; |
| 76 OmniboxView* GetOmniboxView() override; | 77 OmniboxView* GetOmniboxView() override; |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 // Used to change the visibility of the star decoration. | 267 // Used to change the visibility of the star decoration. |
| 267 BooleanPrefMember edit_bookmarks_enabled_; | 268 BooleanPrefMember edit_bookmarks_enabled_; |
| 268 | 269 |
| 269 // Used to schedule a task for the first run info bubble. | 270 // Used to schedule a task for the first run info bubble. |
| 270 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; | 271 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; |
| 271 | 272 |
| 272 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); | 273 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); |
| 273 }; | 274 }; |
| 274 | 275 |
| 275 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ | 276 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ |
| OLD | NEW |