OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IOS_CHROME_BROWSER_UI_BROWSER_IOS_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_BROWSER_IOS_H_ |
| 7 |
| 8 #import <Foundation/Foundation.h> |
| 9 |
| 10 namespace ios { |
| 11 class ChromeBrowserState; |
| 12 } |
| 13 |
| 14 @class TabModel; |
| 15 |
| 16 // Modeled after chrome/browser/ui/browser, just an abstract interface to |
| 17 // a browser to get the browser state and tabs from but can go into a |
| 18 // BrowserListIOS. |
| 19 @protocol BrowserIOS |
| 20 |
| 21 - (ios::ChromeBrowserState*)browserState; |
| 22 - (TabModel*)tabModel; |
| 23 |
| 24 @end |
| 25 |
| 26 #endif // IOS_CHROME_BROWSER_UI_BROWSER_IOS_H_ |
OLD | NEW |