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_ANDROID_ANDROID_UI_H_ |
| 6 #define MANDOLINE_UI_BROWSER_ANDROID_ANDROID_UI_H_ |
| 7 |
| 8 namespace mojo { |
| 9 class Shell; |
| 10 class View; |
| 11 } |
| 12 |
| 13 namespace mandoline { |
| 14 |
| 15 class Browser; |
| 16 |
| 17 class AndroidUI : public BrowserUI { |
| 18 public: |
| 19 AndroidUI(Browser* browser, mojo::Shell* shell); |
| 20 ~AndroidUI() override; |
| 21 |
| 22 private: |
| 23 // Overridden from BrowserUI: |
| 24 void Init(mojo::View* root, mojo::View* content) override; |
| 25 |
| 26 Browser* browser_; |
| 27 mojo::Shell* shell_; |
| 28 mojo::View* root_; |
| 29 mojo::View* content_; |
| 30 |
| 31 DISALLOW_COPY_AND_ASSIGN(AndroidUI); |
| 32 }; |
| 33 |
| 34 } // namespace mandoline |
| 35 |
| 36 #endif // MANDOLINE_UI_BROWSER_ANDROID_ANDROID_UI_H_ |
OLD | NEW |