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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/ui/browser/browser_ui.h
diff --git a/mandoline/ui/browser/browser_ui.h b/mandoline/ui/browser/browser_ui.h
index 5e155c11bef25801ae8a5696cde25abda5cc804b..2389c754647bc10f3dd2ad580f0bf6d0161174be 100644
--- a/mandoline/ui/browser/browser_ui.h
+++ b/mandoline/ui/browser/browser_ui.h
@@ -6,7 +6,7 @@
#define MANDOLINE_UI_BROWSER_BROWSER_UI_H_
namespace mojo {
-class Shell;
+class ApplicationImpl;
class View;
}
@@ -17,13 +17,16 @@ class Browser;
class BrowserUI {
public:
virtual ~BrowserUI() {}
- static BrowserUI* Create(Browser* browser, mojo::Shell* shell);
+ static BrowserUI* Create(Browser* browser,
+ mojo::ApplicationImpl* application_impl);
// Called when the Browser UI is embedded within the specified view.
// BrowserUI is destroyed prior to |root| being destroyed. That is, the
// BrowserUI implementations can assume |root| is never deleted out from under
// them.
- virtual void Init(mojo::View* root, mojo::View* content) = 0;
+ virtual void Init(mojo::View* root) = 0;
+
+ virtual void OnURLChanged() = 0;
};
} // namespace mandoline
« 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