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

Unified Diff: chrome/browser/instant/instant_tab.cc

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_tab.cc
diff --git a/chrome/browser/instant/instant_tab.cc b/chrome/browser/instant/instant_tab.cc
index 733c6f0a0f000188b544d0d7f7aad4854c94ad64..65e1ed7824eff7d5ee80aeb0d4c0819b61ba02f1 100644
--- a/chrome/browser/instant/instant_tab.cc
+++ b/chrome/browser/instant/instant_tab.cc
@@ -46,8 +46,8 @@ void InstantTab::UpOrDownKeyPressed(int count) {
client_.UpOrDownKeyPressed(count);
}
-void InstantTab::SetMarginSize(int start, int end) {
- client_.SetMarginSize(start, end);
+void InstantTab::SetStartMarginAndWidth(int margin, int width) {
+ client_.SetStartMarginAndWidth(margin, width);
}
void InstantTab::InitializeFonts() {

Powered by Google App Engine
This is Rietveld 408576698