Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 } | |
| OLD | NEW |