Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(406)

Side by Side Diff: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h

Issue 2668833003: DialogBrowserTest implementation to invoke Content settings bubble dialogs. (Closed)
Patch Set: Fixed Cocoa build Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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;
tapted 2017/02/03 00:35:39 Just a general comment - not sure there's much to
tapted 2017/02/03 00:38:01 Note I kinda went back on this in later comments -
kylix_rd 2017/02/03 18:55:03 I was just trying to do a minimum of damage while
tapted 2017/02/03 23:07:02 We tend not to worry about damage if there's an ov
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698