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

Unified Diff: mandoline/ui/browser/browser_ui.h

Issue 1141453002: Makes browser resize content when root bounds change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move to androidui 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') | no next file » | 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 978943c51a89f62fbe0806adf46d3e47693f2acb..5e155c11bef25801ae8a5696cde25abda5cc804b 100644
--- a/mandoline/ui/browser/browser_ui.h
+++ b/mandoline/ui/browser/browser_ui.h
@@ -20,6 +20,9 @@ class BrowserUI {
static BrowserUI* Create(Browser* browser, mojo::Shell* shell);
// 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;
};
« no previous file with comments | « mandoline/ui/browser/browser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698