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

Unified Diff: chrome/browser/instant/instant_loader.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, 1 month 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/instant/instant_loader.h
diff --git a/chrome/browser/instant/instant_loader.h b/chrome/browser/instant/instant_loader.h
index 3837b87997eaadbe2a79ba4f47a75b88b2225371..8893dd6ecf520a82825c3b7f2486218aaa707140 100644
--- a/chrome/browser/instant/instant_loader.h
+++ b/chrome/browser/instant/instant_loader.h
@@ -60,9 +60,13 @@ class InstantLoader : public content::NotificationObserver {
// is taken as the exact query (no prediction is made).
void Update(const string16& user_text, bool verbatim);
- // Tells the preview page of the bounds of the omnibox dropdown (in screen
+ // Tells the preview page of the bounds of the omnibox popup (in screen
// coordinates). This is used by the page to offset the results to avoid them
// being covered by the omnibox dropdown.
+ void SetPopupBounds(const gfx::Rect& bounds);
+
+ // Tells the preview page of the bounds of the omnibox itself in screen
+ // coordinates. This is used by the page to determine page margin widths.
void SetOmniboxBounds(const gfx::Rect& bounds);
// Tells the preview page about the available autocomplete results.

Powered by Google App Engine
This is Rietveld 408576698