OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 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 MANDOLINE_UI_BROWSER_BROWSER_UI_H_ |
| 6 #define MANDOLINE_UI_BROWSER_BROWSER_UI_H_ |
| 7 |
| 8 namespace mojo { |
| 9 class Shell; |
| 10 class View; |
| 11 } |
| 12 |
| 13 namespace mandoline { |
| 14 |
| 15 class Browser; |
| 16 |
| 17 class BrowserUI { |
| 18 public: |
| 19 virtual ~BrowserUI() {} |
| 20 static BrowserUI* Create(Browser* browser, mojo::Shell* shell); |
| 21 |
| 22 // Called when the Browser UI is embedded within the specified view. |
| 23 virtual void Init(mojo::View* root, mojo::View* content) = 0; |
| 24 |
| 25 }; |
| 26 |
| 27 } // namespace mandoline |
| 28 |
| 29 #endif // MANDOLINE_UI_BROWSER_BROWSER_UI_H_ |
OLD | NEW |