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

Side by Side Diff: ios/chrome/browser/ui/history/clear_browsing_bar.h

Issue 2590473002: Upstream Chrome on iOS source code [5/11]. (Closed)
Patch Set: Created 4 years 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef IOS_CHROME_BROWSER_UI_HISTORY_CLEAR_BROWSING_BAR_H_
6 #define IOS_CHROME_BROWSER_UI_HISTORY_CLEAR_BROWSING_BAR_H_
7
8 #import <UIKit/UIKit.h>
9
10 // View at the bottom of the history panel that presents options to clear
11 // browsing data or enter edit mode. When in edit mode, the bar displays a
12 // delete button and a cancel button instead.
13 @interface ClearBrowsingBar : UIView
14
15 // Yes if in edit mode. Setting to |editing| ClearBrowsingBar for edit
16 // mode or non-edit mode accordingly.
17 @property(nonatomic, getter=isEditing) BOOL editing;
18 // Yes if the edit button is enabled. Setting |editButtonEnabled| enables or
19 // disables the edit button accordingly.
20 @property(nonatomic, getter=isEditButtonEnabled) BOOL editButtonEnabled;
21 // Yes if the delete button is enabled. Setting |deleteButtonEnabled| enables or
22 // disables the delete button accordingly.
23 @property(nonatomic, getter=isDeleteButtonEnabled) BOOL deleteButtonEnabled;
24
25 // Sets the target/action of the "Clear Browsing Data..." button.
26 - (void)setClearBrowsingDataTarget:(id)target action:(SEL)action;
27 // Sets the target/action of the "Edit" button.
28 - (void)setEditTarget:(id)target action:(SEL)action;
29 // Sets the target/action of the "Delete" button.
30 - (void)setDeleteTarget:(id)taret action:(SEL)action;
31 // Sets the target/action of the "Cancel" button.
32 - (void)setCancelTarget:(id)target action:(SEL)action;
33
34 @end
35 #endif // IOS_CHROME_BROWSER_UI_HISTORY_CLEAR_BROWSING_BAR_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/fullscreen_egtest.mm ('k') | ios/chrome/browser/ui/history/clear_browsing_bar.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698