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

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

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 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 23085632d566e43e9a71465f0b23364935591c69..c57176fe62f429d991342598954492d605d4cad1 100644
--- a/chrome/browser/instant/instant_tab.cc
+++ b/chrome/browser/instant/instant_tab.cc
@@ -42,6 +42,10 @@ void InstantTab::UpOrDownKeyPressed(int count) {
client_.UpOrDownKeyPressed(count);
}
+void InstantTab::SetMarginSize(int start, int end) {
+ client_.SetMarginSize(start, end);
+}
+
void InstantTab::SetSuggestions(
const std::vector<InstantSuggestion>& suggestions) {
InstantSupportDetermined(true);

Powered by Google App Engine
This is Rietveld 408576698