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

Unified Diff: chrome/browser/android/contextualsearch/contextual_search_manager.h

Issue 1205033005: Adds selection expansion support for Contextual Search. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed java tests Created 5 years, 5 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/android/contextualsearch/contextual_search_manager.h
diff --git a/chrome/browser/android/contextualsearch/contextual_search_manager.h b/chrome/browser/android/contextualsearch/contextual_search_manager.h
index d03281047c6a99940ee90f05b1e307c831acebc5..5fd7211789af7457a534241f1d6185a36b819ede 100644
--- a/chrome/browser/android/contextualsearch/contextual_search_manager.h
+++ b/chrome/browser/android/contextualsearch/contextual_search_manager.h
@@ -90,7 +90,9 @@ class ContextualSearchManager {
const std::string& search_term,
const std::string& display_text,
const std::string& alternate_term,
- bool prevent_preload);
+ bool prevent_preload,
+ int selection_start_adjust,
+ int selection_end_adjust);
// Calls back to Java with the surrounding text to be displayed.
void OnSurroundingTextAvailable(const std::string& before_text,

Powered by Google App Engine
This is Rietveld 408576698