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

Side by Side Diff: ios/chrome/browser/ui/ntp/google_landing_controller.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 2013 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_NTP_GOOGLE_LANDING_CONTROLLER_H_
6 #define IOS_CHROME_BROWSER_UI_NTP_GOOGLE_LANDING_CONTROLLER_H_
7
8 #import <UIKit/UIKit.h>
9
10 #include <memory>
11
12 #import "ios/chrome/browser/ui/ntp/new_tab_page_panel_protocol.h"
13 #import "ios/chrome/browser/ui/toolbar/toolbar_owner.h"
14 #import "ios/public/provider/chrome/browser/voice/logo_animation_controller.h"
15
16 @protocol OmniboxFocuser;
17 @class TabModel;
18 @protocol UrlLoader;
19 @protocol WebToolbarDelegate;
20
21 namespace ios {
22 class ChromeBrowserState;
23 }
24
25 // Google centric new tab page.
26 @interface GoogleLandingController : NSObject<LogoAnimationControllerOwnerOwner,
27 NewTabPagePanelProtocol,
28 ToolbarOwner>
29
30 // Initialization method.
31 - (id)initWithLoader:(id<UrlLoader>)loader
32 browserState:(ios::ChromeBrowserState*)browserState
33 focuser:(id<OmniboxFocuser>)focuser
34 webToolbarDelegate:(id<WebToolbarDelegate>)webToolbarDelegate
35 tabModel:(TabModel*)tabModel;
36
37 // Get the maximum number of sites shown.
38 + (NSUInteger)maxSitesShown;
39
40 @end
41
42 #endif // IOS_CHROME_BROWSER_UI_NTP_GOOGLE_LANDING_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/ntp/centering_scrollview_unittest.mm ('k') | ios/chrome/browser/ui/ntp/google_landing_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698