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

Unified Diff: chrome/browser/instant/instant_loader.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: Sync to r180728 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.cc
diff --git a/chrome/browser/instant/instant_loader.cc b/chrome/browser/instant/instant_loader.cc
index 7f64072c38bc251480da8e92992ebc2a0ac5e881..314b9c41e475389ec47e77a7061e7d8e08008190 100644
--- a/chrome/browser/instant/instant_loader.cc
+++ b/chrome/browser/instant/instant_loader.cc
@@ -244,8 +244,8 @@ void InstantLoader::SetPopupBounds(const gfx::Rect& bounds) {
client_.SetPopupBounds(bounds);
}
-void InstantLoader::SetMarginSize(int start, int end) {
- client_.SetMarginSize(start, end);
+void InstantLoader::SetLocationBarMarginAndWidth(int margin, int width) {
+ client_.SetLocationBarMarginAndWidth(margin, width);
}
void InstantLoader::InitializeFonts() {

Powered by Google App Engine
This is Rietveld 408576698