| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 OmniboxView* GetOmniboxView() override; | 76 OmniboxView* GetOmniboxView() override; |
| 77 LocationBarTesting* GetLocationBarForTesting() override; | 77 LocationBarTesting* GetLocationBarForTesting() override; |
| 78 | 78 |
| 79 // Overridden from LocationBarTesting: | 79 // Overridden from LocationBarTesting: |
| 80 int PageActionCount() override; | 80 int PageActionCount() override; |
| 81 int PageActionVisibleCount() override; | 81 int PageActionVisibleCount() override; |
| 82 ExtensionAction* GetPageAction(size_t index) override; | 82 ExtensionAction* GetPageAction(size_t index) override; |
| 83 ExtensionAction* GetVisiblePageAction(size_t index) override; | 83 ExtensionAction* GetVisiblePageAction(size_t index) override; |
| 84 void TestPageActionPressed(size_t index) override; | 84 void TestPageActionPressed(size_t index) override; |
| 85 bool GetBookmarkStarVisibility() override; | 85 bool GetBookmarkStarVisibility() override; |
| 86 bool TestContentSettingImagePressed(size_t index) override; |
| 86 | 87 |
| 87 // Set/Get the editable state of the field. | 88 // Set/Get the editable state of the field. |
| 88 void SetEditable(bool editable); | 89 void SetEditable(bool editable); |
| 89 bool IsEditable(); | 90 bool IsEditable(); |
| 90 | 91 |
| 91 // Set the starred state of the bookmark star. | 92 // Set the starred state of the bookmark star. |
| 92 void SetStarred(bool starred); | 93 void SetStarred(bool starred); |
| 93 | 94 |
| 94 // Set whether or not the translate icon is lit. | 95 // Set whether or not the translate icon is lit. |
| 95 void SetTranslateIconLit(bool on); | 96 void SetTranslateIconLit(bool on); |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 // The security level of the location bar icon. | 333 // The security level of the location bar icon. |
| 333 security_state::SecurityLevel security_level_; | 334 security_state::SecurityLevel security_level_; |
| 334 | 335 |
| 335 // Used to schedule a task for the first run info bubble. | 336 // Used to schedule a task for the first run info bubble. |
| 336 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; | 337 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; |
| 337 | 338 |
| 338 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); | 339 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); |
| 339 }; | 340 }; |
| 340 | 341 |
| 341 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ | 342 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ |
| OLD | NEW |