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

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 10a4e79880c92a3bc4e1062ed89ca7ff0e8760cd..9a6e426735c65a9944661b2e69bc0c94cdad8d60 100644
--- a/chrome/browser/instant/instant_loader.h
+++ b/chrome/browser/instant/instant_loader.h
@@ -65,10 +65,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 SetOmniboxBounds(const gfx::Rect& bounds);
+ void SetPopupBounds(const gfx::Rect& bounds);
+
+ // Tells the preview page what size start and end margins to use.
+ void SetMarginSize(int start, int end);
// Tells the preview page about the available autocomplete results.
void SendAutocompleteResults(

Powered by Google App Engine
This is Rietveld 408576698