OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
tapted
2017/02/03 23:07:02
The CL description needs to follow the guidelines
| |
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 |
11 #include <memory> | 11 #include <memory> |
(...skipping 64 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 int ContentSettingImageModelCount() override; | |
87 ContentSettingImageModel* GetContentSettingImageModel(size_t index) override; | |
86 | 88 |
87 // Set/Get the editable state of the field. | 89 // Set/Get the editable state of the field. |
88 void SetEditable(bool editable); | 90 void SetEditable(bool editable); |
89 bool IsEditable(); | 91 bool IsEditable(); |
90 | 92 |
91 // Set the starred state of the bookmark star. | 93 // Set the starred state of the bookmark star. |
92 void SetStarred(bool starred); | 94 void SetStarred(bool starred); |
93 | 95 |
94 // Set whether or not the translate icon is lit. | 96 // Set whether or not the translate icon is lit. |
95 void SetTranslateIconLit(bool on); | 97 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. | 334 // The security level of the location bar icon. |
333 security_state::SecurityLevel security_level_; | 335 security_state::SecurityLevel security_level_; |
334 | 336 |
335 // Used to schedule a task for the first run info bubble. | 337 // Used to schedule a task for the first run info bubble. |
336 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; | 338 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; |
337 | 339 |
338 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); | 340 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); |
339 }; | 341 }; |
340 | 342 |
341 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ | 343 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ |
OLD | NEW |