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

Side by Side Diff: content/public/android/java/src/org/chromium/content/browser/PositionObserver.java

Issue 407893003: Implement clearListener() method for PositionObserver to clear all registered listeners when Con (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.content.browser; 5 package org.chromium.content.browser;
6 6
7 /** 7 /**
8 * Used to register listeners that can be notified of changes to the position of a view. 8 * Used to register listeners that can be notified of changes to the position of a view.
9 */ 9 */
10 public interface PositionObserver { 10 public interface PositionObserver {
(...skipping 16 matching lines...) Expand all
27 27
28 /** 28 /**
29 * Register a listener to be called when the position of the underlying view changes. 29 * Register a listener to be called when the position of the underlying view changes.
30 */ 30 */
31 void addListener(Listener listener); 31 void addListener(Listener listener);
32 32
33 /** 33 /**
34 * Remove a previously installed listener. 34 * Remove a previously installed listener.
35 */ 35 */
36 void removeListener(Listener listener); 36 void removeListener(Listener listener);
37
38 /**
39 * Clears registerned listener(s).
40 */
41 void clearListener();
37 } 42 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698