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

Side by Side Diff: ios/chrome/browser/ui/bookmarks/bookmark_home_waiting_view.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_BOOKMARK_HOME_WAITING_VIEW_H_
6 #define IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_HOME_WAITING_VIEW_H_
7
8 #import <UIKit/UIKit.h>
9
10 #include "base/ios/block_types.h"
11
12 // Displays a waiting UI for BookmarkHomeTabletNTPController and
13 // BookmarkHomeHandsetController.
14 // It displays a gray background and an activity indicator.
15 // The activity indicator appears after a delay, starting from the moment
16 // |startWaiting| is called.
17 @interface BookmarkHomeWaitingView : UIView
18
19 // Call this method when this view is added to the visible view hierarchy.
20 // After a delay, an activity indicator will be presented if this view is still
21 // in the view hierarchy at that time.
22 - (void)startWaiting;
23
24 // Call this method when this view is removed from the visible view hierarchy.
25 // |completion| will be called when this view is done animating out.
26 - (void)stopWaitingWithCompletion:(ProceduralBlock)completion;
27
28 @end
29
30 #endif // IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_HOME_WAITING_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698