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

Unified Diff: ios/chrome/browser/ui/stack_view/stack_view_toolbar_controller.h

Issue 2587023002: Upstream Chrome on iOS source code [8/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 side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/ui/stack_view/stack_view_toolbar_controller.h
diff --git a/ios/chrome/browser/ui/stack_view/stack_view_toolbar_controller.h b/ios/chrome/browser/ui/stack_view/stack_view_toolbar_controller.h
new file mode 100644
index 0000000000000000000000000000000000000000..78253837ceef998ac4ff2aee36f12efaa73612ca
--- /dev/null
+++ b/ios/chrome/browser/ui/stack_view/stack_view_toolbar_controller.h
@@ -0,0 +1,23 @@
+// Copyright 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef IOS_CHROME_BROWSER_UI_STACK_VIEW_STACK_VIEW_TOOLBAR_CONTROLLER_H_
+#define IOS_CHROME_BROWSER_UI_STACK_VIEW_STACK_VIEW_TOOLBAR_CONTROLLER_H_
+
+#import <UIKit/UIKit.h>
+
+#import "ios/chrome/browser/ui/toolbar/toolbar_controller.h"
+
+@class NewTabButton;
+
+// Toolbar controller for the card stack view, adding a new tab button.
+@interface StackViewToolbarController : ToolbarController
+
+@property(nonatomic, readonly) NewTabButton* openNewTabButton;
+
+- (instancetype)initWithStackViewToolbar;
+
+@end
+
+#endif // IOS_CHROME_BROWSER_UI_STACK_VIEW_STACK_VIEW_TOOLBAR_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698