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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/action/SearchActionListener.java

Issue 2211353002: [TTS] Gather surrounding text on Tap before any UX. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Split usage of the Tapped text from the SearchAction into a separate CL. Created 4 years, 4 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.action;
6
7 /**
8 * Notifications sent by the {@link SearchAction} class.
9 * This is part of the 2016-refactoring, see go/cs-refactoring-2016.
10 */
11 public class SearchActionListener {
12 /**
13 * Indicates that the Context is ready.
Theresa 2016/08/16 15:41:49 "Context" is a pre-existing Android class. This ne
Donn Denman 2016/08/17 04:35:22 Done.
14 * @param action The {@link SearchAction} whose context is ready.
15 */
16 protected void onContextReady(SearchAction action) {}
17
18 /**
19 * Indicates that the {@code SearchAction} has been accepted (not suppressed ).
20 * @param action The {@link SearchAction} that has been accepted.
21 */
22 protected void onActionAccepted(SearchAction action) {}
23
24 /**
25 * Indicates that the {@code SearchAction} has been suppressed (not accepted ).
26 * @param action The {@link SearchAction} that has been suppressed.
27 */
28 protected void onActionSuppressed(SearchAction action) {}
29
30 /**
31 * Indicates that the {@code SearchAction} has ended.
32 * @param action The {@link SearchAction} that has ended.
33 */
34 protected void onActionEnded(SearchAction action) {}
35 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698