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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/gesture/SearchGestureHost.java

Issue 2348443002: Revert of [TTS] Gather surrounding text on Tap before any UX. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package org.chromium.chrome.browser.contextualsearch.gesture;
6
7 import org.chromium.content_public.browser.WebContents;
8
9 /**
10 * Provides the host interface for Search Gestures, which can create Search Acti ons.
11 * When a gesture is recognized that it should trigger a search, this interface is used
12 * to communicate back to the host
13 * This is part of the 2016-refactoring (crbug.com/624609, go/cs-refactoring-201 6).
14 */
15 public interface SearchGestureHost {
16 /**
17 * @return the {@link WebContents} for the current base tab.
18 */
19 WebContents getTabWebContents();
20
21 /**
22 * Tells the host that the current gesture should be dismissed because proce ssing is complete.
23 */
24 void dismissGesture();
25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698