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

Side by Side Diff: mandoline/ui/browser/browser_ui.h

Issue 1133893003: Omnibox app (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 unified diff | Download patch
« no previous file with comments | « mandoline/ui/browser/browser.cc ('k') | mandoline/ui/browser/desktop/desktop_ui.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 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 MANDOLINE_UI_BROWSER_BROWSER_UI_H_ 5 #ifndef MANDOLINE_UI_BROWSER_BROWSER_UI_H_
6 #define MANDOLINE_UI_BROWSER_BROWSER_UI_H_ 6 #define MANDOLINE_UI_BROWSER_BROWSER_UI_H_
7 7
8 namespace mojo { 8 namespace mojo {
9 class Shell; 9 class ApplicationImpl;
10 class View; 10 class View;
11 } 11 }
12 12
13 namespace mandoline { 13 namespace mandoline {
14 14
15 class Browser; 15 class Browser;
16 16
17 class BrowserUI { 17 class BrowserUI {
18 public: 18 public:
19 virtual ~BrowserUI() {} 19 virtual ~BrowserUI() {}
20 static BrowserUI* Create(Browser* browser, mojo::Shell* shell); 20 static BrowserUI* Create(Browser* browser,
21 mojo::ApplicationImpl* application_impl);
21 22
22 // Called when the Browser UI is embedded within the specified view. 23 // Called when the Browser UI is embedded within the specified view.
23 // BrowserUI is destroyed prior to |root| being destroyed. That is, the 24 // BrowserUI is destroyed prior to |root| being destroyed. That is, the
24 // BrowserUI implementations can assume |root| is never deleted out from under 25 // BrowserUI implementations can assume |root| is never deleted out from under
25 // them. 26 // them.
26 virtual void Init(mojo::View* root, mojo::View* content) = 0; 27 virtual void Init(mojo::View* root) = 0;
28
29 virtual void OnURLChanged() = 0;
27 }; 30 };
28 31
29 } // namespace mandoline 32 } // namespace mandoline
30 33
31 #endif // MANDOLINE_UI_BROWSER_BROWSER_UI_H_ 34 #endif // MANDOLINE_UI_BROWSER_BROWSER_UI_H_
OLDNEW
« no previous file with comments | « mandoline/ui/browser/browser.cc ('k') | mandoline/ui/browser/desktop/desktop_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698