| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 virtual string16 GetInputString() const OVERRIDE; | 56 virtual string16 GetInputString() const OVERRIDE; |
| 57 virtual WindowOpenDisposition GetWindowOpenDisposition() const OVERRIDE; | 57 virtual WindowOpenDisposition GetWindowOpenDisposition() const OVERRIDE; |
| 58 virtual content::PageTransition GetPageTransition() const OVERRIDE; | 58 virtual content::PageTransition GetPageTransition() const OVERRIDE; |
| 59 virtual void AcceptInput() OVERRIDE; | 59 virtual void AcceptInput() OVERRIDE; |
| 60 virtual void FocusLocation(bool select_all) OVERRIDE; | 60 virtual void FocusLocation(bool select_all) OVERRIDE; |
| 61 virtual void FocusSearch() OVERRIDE; | 61 virtual void FocusSearch() OVERRIDE; |
| 62 virtual void UpdateContentSettingsIcons() OVERRIDE; | 62 virtual void UpdateContentSettingsIcons() OVERRIDE; |
| 63 virtual void UpdatePageActions() OVERRIDE; | 63 virtual void UpdatePageActions() OVERRIDE; |
| 64 virtual void InvalidatePageActions() OVERRIDE; | 64 virtual void InvalidatePageActions() OVERRIDE; |
| 65 virtual void UpdateOpenPDFInReaderPrompt() OVERRIDE; | 65 virtual void UpdateOpenPDFInReaderPrompt() OVERRIDE; |
| 66 virtual void UpdateAutofillCreditCardView() OVERRIDE; | 66 virtual void UpdateGeneratedCreditCardView() OVERRIDE; |
| 67 virtual void SaveStateToContents(content::WebContents* contents) OVERRIDE; | 67 virtual void SaveStateToContents(content::WebContents* contents) OVERRIDE; |
| 68 virtual void Revert() OVERRIDE; | 68 virtual void Revert() OVERRIDE; |
| 69 virtual const OmniboxView* GetLocationEntry() const OVERRIDE; | 69 virtual const OmniboxView* GetLocationEntry() const OVERRIDE; |
| 70 virtual OmniboxView* GetLocationEntry() OVERRIDE; | 70 virtual OmniboxView* GetLocationEntry() OVERRIDE; |
| 71 virtual LocationBarTesting* GetLocationBarForTesting() OVERRIDE; | 71 virtual LocationBarTesting* GetLocationBarForTesting() OVERRIDE; |
| 72 | 72 |
| 73 // Overridden from LocationBarTesting: | 73 // Overridden from LocationBarTesting: |
| 74 virtual int PageActionCount() OVERRIDE; | 74 virtual int PageActionCount() OVERRIDE; |
| 75 virtual int PageActionVisibleCount() OVERRIDE; | 75 virtual int PageActionVisibleCount() OVERRIDE; |
| 76 virtual ExtensionAction* GetPageAction(size_t index) OVERRIDE; | 76 virtual ExtensionAction* GetPageAction(size_t index) OVERRIDE; |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 // Used to schedule a task for the first run info bubble. | 259 // Used to schedule a task for the first run info bubble. |
| 260 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; | 260 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; |
| 261 | 261 |
| 262 // Used to change the visibility of the star decoration. | 262 // Used to change the visibility of the star decoration. |
| 263 BooleanPrefMember edit_bookmarks_enabled_; | 263 BooleanPrefMember edit_bookmarks_enabled_; |
| 264 | 264 |
| 265 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); | 265 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); |
| 266 }; | 266 }; |
| 267 | 267 |
| 268 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ | 268 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ |
| OLD | NEW |