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

Side by Side Diff: ios/chrome/browser/ui/ntp/new_tab_page_controller.h

Issue 2829003002: Add CommandDispatcher to BrowserViewController. (Closed)
Patch Set: rohit comments Created 3 years, 7 months 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
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_CONTROLLER_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_CONTROLLER_H_
6 #define IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_CONTROLLER_H_ 6 #define IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_CONTROLLER_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 #include <string> 9 #include <string>
10 10
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // Dominant color cache is passed to bookmark controller only, to optimize 91 // Dominant color cache is passed to bookmark controller only, to optimize
92 // favicon processing. 92 // favicon processing.
93 - (id)initWithUrl:(const GURL&)url 93 - (id)initWithUrl:(const GURL&)url
94 loader:(id<UrlLoader>)loader 94 loader:(id<UrlLoader>)loader
95 focuser:(id<OmniboxFocuser>)focuser 95 focuser:(id<OmniboxFocuser>)focuser
96 ntpObserver:(id<NewTabPageControllerObserver>)ntpObserver 96 ntpObserver:(id<NewTabPageControllerObserver>)ntpObserver
97 browserState:(ios::ChromeBrowserState*)browserState 97 browserState:(ios::ChromeBrowserState*)browserState
98 colorCache:(NSMutableDictionary*)colorCache 98 colorCache:(NSMutableDictionary*)colorCache
99 webToolbarDelegate:(id<WebToolbarDelegate>)webToolbarDelegate 99 webToolbarDelegate:(id<WebToolbarDelegate>)webToolbarDelegate
100 tabModel:(TabModel*)tabModel 100 tabModel:(TabModel*)tabModel
101 parentViewController:(UIViewController*)parentViewController; 101 parentViewController:(UIViewController*)parentViewController
102 dispatcher:(id)dispatcher;
102 103
103 // Select a panel based on the given |panelType|. 104 // Select a panel based on the given |panelType|.
104 - (void)selectPanel:(NewTabPage::PanelIdentifier)panelType; 105 - (void)selectPanel:(NewTabPage::PanelIdentifier)panelType;
105 106
106 // Returns |YES| if the current visible controller should show the keyboard 107 // Returns |YES| if the current visible controller should show the keyboard
107 // shield. 108 // shield.
108 - (BOOL)wantsKeyboardShield; 109 - (BOOL)wantsKeyboardShield;
109 110
110 // Returns |YES| if the current visible controller allows showing the location 111 // Returns |YES| if the current visible controller allows showing the location
111 // bar hint text. 112 // bar hint text.
112 - (BOOL)wantsLocationBarHintText; 113 - (BOOL)wantsLocationBarHintText;
113 114
114 @end 115 @end
115 116
116 #endif // IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_CONTROLLER_H_ 117 #endif // IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/ntp/google_landing_mediator.mm ('k') | ios/chrome/browser/ui/ntp/new_tab_page_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698