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

Unified Diff: chrome/browser/instant/instant_loader.h

Issue 12047107: Change the SearchBox API from using the start/end margins of the location bar to using the start ma… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added test Created 7 years, 10 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
Index: chrome/browser/instant/instant_loader.h
diff --git a/chrome/browser/instant/instant_loader.h b/chrome/browser/instant/instant_loader.h
index be244f5a18c650be6ad2f86ad3f78b0228109c91..8a47f7ef605959a31554b0fd879ddfb93f5adb2e 100644
--- a/chrome/browser/instant/instant_loader.h
+++ b/chrome/browser/instant/instant_loader.h
@@ -98,7 +98,7 @@ class InstantLoader : public InstantClient::Delegate,
void Submit(const string16& text);
void Cancel(const string16& text);
void SetPopupBounds(const gfx::Rect& bounds);
- void SetMarginSize(int start, int end);
+ void SetStartMarginAndWidth(int margin, int width);
void InitializeFonts();
void SendAutocompleteResults(
const std::vector<InstantAutocompleteResult>& results);

Powered by Google App Engine
This is Rietveld 408576698