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

Side by Side Diff: ios/chrome/browser/ui/bookmarks/bars/bookmark_editing_bar.h

Issue 2586993002: Upstream Chrome on iOS source code [3/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 2014 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_BOOKMARKS_BARS_BOOKMARK_EDITING_BAR_H_
6 #define IOS_CHROME_BROWSER_UI_BOOKMARKS_BARS_BOOKMARK_EDITING_BAR_H_
7
8 #import <UIKit/UIKit.h>
9
10 #import "ios/chrome/browser/ui/bookmarks/bars/bookmark_top_bar.h"
11
12 // The top bar that shows up when a user is editing bookmarks.
13 @interface BookmarkEditingBar : BookmarkTopBar
14 // Set the target/action of the respective buttons.
15 // The cancel button ends editing mode.
16 - (void)setCancelTarget:(id)target action:(SEL)action;
17 // The edit button edits a single bookmark/folder.
18 - (void)setEditTarget:(id)target action:(SEL)action;
19 // The move button moves any number of bookmarks/folders.
20 - (void)setMoveTarget:(id)target action:(SEL)action;
21 // The delete button moves any number of bookmarks/folders.
22 - (void)setDeleteTarget:(id)target action:(SEL)action;
23
24 // The UI changes based on the number of bookmarks selected for editing.
25 - (void)updateUIWithBookmarkCount:(int)bookmarkCount
26 folderCount:(int)folderCount;
27 // Instantaneously shows or hides the shadow.
28 - (void)showShadow:(BOOL)show;
29 @end
30
31 #endif // IOS_CHROME_BROWSER_UI_BOOKMARKS_BARS_BOOKMARK_EDITING_BAR_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/autofill/storage_switch_tooltip.mm ('k') | ios/chrome/browser/ui/bookmarks/bars/bookmark_editing_bar.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698