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

Unified Diff: mandoline/ui/browser/android/android_ui.h

Issue 1136593004: Add a simple browser UI (with url bar) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mandoline/ui/browser/DEPS ('k') | mandoline/ui/browser/android/android_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/ui/browser/android/android_ui.h
diff --git a/mandoline/ui/browser/android/android_ui.h b/mandoline/ui/browser/android/android_ui.h
new file mode 100644
index 0000000000000000000000000000000000000000..1f90df073785772919cdef7a73de55b6d7edce58
--- /dev/null
+++ b/mandoline/ui/browser/android/android_ui.h
@@ -0,0 +1,36 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef MANDOLINE_UI_BROWSER_ANDROID_ANDROID_UI_H_
+#define MANDOLINE_UI_BROWSER_ANDROID_ANDROID_UI_H_
+
+namespace mojo {
+class Shell;
+class View;
+}
+
+namespace mandoline {
+
+class Browser;
+
+class AndroidUI : public BrowserUI {
+ public:
+ AndroidUI(Browser* browser, mojo::Shell* shell);
+ ~AndroidUI() override;
+
+ private:
+ // Overridden from BrowserUI:
+ void Init(mojo::View* root, mojo::View* content) override;
+
+ Browser* browser_;
+ mojo::Shell* shell_;
+ mojo::View* root_;
+ mojo::View* content_;
+
+ DISALLOW_COPY_AND_ASSIGN(AndroidUI);
+};
+
+} // namespace mandoline
+
+#endif // MANDOLINE_UI_BROWSER_ANDROID_ANDROID_UI_H_
« no previous file with comments | « mandoline/ui/browser/DEPS ('k') | mandoline/ui/browser/android/android_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698