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

Side by Side Diff: ios/chrome/browser/ui/toolbar/toolbar_owner.h

Issue 2588733002: Upstream Chrome on iOS source code [9/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_TOOLBAR_TOOLBAR_OWNER_H_
6 #define IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_OWNER_H_
7
8 #import <Foundation/Foundation.h>
9
10 @class ToolbarController;
11
12 @protocol ToolbarOwner<NSObject>
13
14 // Returns a reference to the toolbar controller so that it can be included in
15 // animations. Calls should be paired with calls to |-reparentToolbarController|
16 // when the relinquished toolbar controller is no longer needed by the caller.
17 // Returns nil if called when the toolbar has already been relinquished.
18 - (ToolbarController*)relinquishedToolbarController;
19 // Reparents the toolbar into its place in the view hierarchy before it was
20 // relinquished.
21 - (void)reparentToolbarController;
22
23 @optional
24 // Returns the height of the toolbar owned by the implementing class.
25 - (CGFloat)toolbarHeight;
26
27 @end
28
29 #endif // IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_OWNER_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/toolbar/toolbar_model_ios.h ('k') | ios/chrome/browser/ui/toolbar/toolbar_resource_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698