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

Unified Diff: chrome/browser/ui/browser_instant_controller.h

Issue 11359198: Implement the Instant extended API startMargin, endMargin, and rtl properties and the onmarginchang… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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
Index: chrome/browser/ui/browser_instant_controller.h
diff --git a/chrome/browser/ui/browser_instant_controller.h b/chrome/browser/ui/browser_instant_controller.h
index 0cbaa8e7e3f2248a24bdeeedf659efaa4368533b..81bc021cb240ad33afeab7c5e08d4f242e246050 100644
--- a/chrome/browser/ui/browser_instant_controller.h
+++ b/chrome/browser/ui/browser_instant_controller.h
@@ -84,6 +84,9 @@ class BrowserInstantController : public content::NotificationObserver,
// Invoked by |instant_| to update theme information for preview.
void UpdateThemeInfoForPreview();
+ // Sets the widths of the start and end margins of the Instant page.
+ void SetMarginSize(int start, int end);
+
private:
// Sets the value of |instant_| based on value from profile. Invoked
// on pref change.

Powered by Google App Engine
This is Rietveld 408576698