OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_GOOGLE_LANDING_CONSUMER_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_NTP_GOOGLE_LANDING_CONSUMER_H_ |
6 #define IOS_CHROME_BROWSER_UI_NTP_GOOGLE_LANDING_CONSUMER_H_ | 6 #define IOS_CHROME_BROWSER_UI_NTP_GOOGLE_LANDING_CONSUMER_H_ |
7 | 7 |
8 #import <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
9 | 9 |
10 // TODO(crbug.com/694750): Remove these two when the types below are changed. | 10 // TODO(crbug.com/694750): Remove these two when the types below are changed. |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 // Tells the consumer a most visited icon was updated. | 58 // Tells the consumer a most visited icon was updated. |
59 - (void)mostVisitedIconMadeAvailableAtIndex:(NSUInteger)index; | 59 - (void)mostVisitedIconMadeAvailableAtIndex:(NSUInteger)index; |
60 | 60 |
61 // TODO(crbug.com/694750): These two calls can be made with dispatcher instead. | 61 // TODO(crbug.com/694750): These two calls can be made with dispatcher instead. |
62 // The location bar has lost focus. | 62 // The location bar has lost focus. |
63 - (void)locationBarResignsFirstResponder; | 63 - (void)locationBarResignsFirstResponder; |
64 | 64 |
65 // Tell location bar has taken focus. | 65 // Tell location bar has taken focus. |
66 - (void)locationBarBecomesFirstResponder; | 66 - (void)locationBarBecomesFirstResponder; |
67 | 67 |
68 // TODO(crbug.com/694750): This call will be removed once dispatching is | |
69 // available. | |
70 // Asks the consumer to execute a chrome command. | |
71 - (void)chromeExecuteCommand:(id)sender; | |
72 | |
73 @end | 68 @end |
74 | 69 |
75 #endif // IOS_CHROME_BROWSER_UI_NTP_GOOGLE_LANDING_CONSUMER_H_ | 70 #endif // IOS_CHROME_BROWSER_UI_NTP_GOOGLE_LANDING_CONSUMER_H_ |
OLD | NEW |