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 |