Java Code Examples for org.chromium.base.ObserverList#RewindableIterator

The following examples show how to use org.chromium.base.ObserverList#RewindableIterator . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MediaSessionImpl.java    From 365browser with Apache License 2.0 4 votes vote down vote up
@Override
public ObserverList.RewindableIterator<MediaSessionObserver> getObserversForTesting() {
    return mObservers.rewindableIterator();
}
 
Example 2
Source File: Tab.java    From delion with Apache License 2.0 2 votes vote down vote up
/**
 * @return An {@link ObserverList.RewindableIterator} instance that points to all of
 *         the current {@link TabObserver}s on this class.  Note that calling
 *         {@link java.util.Iterator#remove()} will throw an
 *         {@link UnsupportedOperationException}.
 */
public ObserverList.RewindableIterator<TabObserver> getTabObservers() {
    return mObservers.rewindableIterator();
}
 
Example 3
Source File: Tab.java    From AndroidChromium with Apache License 2.0 2 votes vote down vote up
/**
 * @return An {@link ObserverList.RewindableIterator} instance that points to all of
 *         the current {@link TabObserver}s on this class.  Note that calling
 *         {@link java.util.Iterator#remove()} will throw an
 *         {@link UnsupportedOperationException}.
 */
public ObserverList.RewindableIterator<TabObserver> getTabObservers() {
    return mObservers.rewindableIterator();
}
 
Example 4
Source File: Tab.java    From 365browser with Apache License 2.0 2 votes vote down vote up
/**
 * @return An {@link ObserverList.RewindableIterator} instance that points to all of
 *         the current {@link TabObserver}s on this class.  Note that calling
 *         {@link java.util.Iterator#remove()} will throw an
 *         {@link UnsupportedOperationException}.
 */
protected ObserverList.RewindableIterator<TabObserver> getTabObservers() {
    return mObservers.rewindableIterator();
}
 
Example 5
Source File: MediaSession.java    From 365browser with Apache License 2.0 2 votes vote down vote up
/**
 * @return The list of observers.
 */
@VisibleForTesting
public abstract ObserverList.RewindableIterator<MediaSessionObserver> getObserversForTesting();
 
Example 6
Source File: TabBase.java    From android-chromium with BSD 2-Clause "Simplified" License 2 votes vote down vote up
/**
 * @return An {@link ObserverList.RewindableIterator} instance that points to all of
 *         the current {@link TabObserver}s on this class.  Note that calling
 *         {@link Iterator#remove()} will throw an {@link UnsupportedOperationException}.
 */
protected ObserverList.RewindableIterator<TabObserver> getTabObservers() {
    return mObservers.rewindableIterator();
}
 
Example 7
Source File: TabBase.java    From android-chromium with BSD 2-Clause "Simplified" License 2 votes vote down vote up
/**
 * @return An {@link ObserverList.RewindableIterator} instance that points to all of
 *         the current {@link TabObserver}s on this class.  Note that calling
 *         {@link Iterator#remove()} will throw an {@link UnsupportedOperationException}.
 */
protected ObserverList.RewindableIterator<TabObserver> getTabObservers() {
    return mObservers.rewindableIterator();
}