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

Side by Side Diff: chrome/android/java_staging/src/org/chromium/chrome/browser/widget/ControlContainer.java

Issue 1141283003: Upstream oodles of Chrome for Android code into Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: final patch? Created 5 years, 7 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 2015 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.widget;
6
7 import android.view.View;
8
9 import org.chromium.chrome.browser.compositor.layouts.eventfilter.EdgeSwipeHandl er;
10 import org.chromium.ui.resources.dynamics.ViewResourceAdapter;
11
12 /**
13 * Interface that defines the responsibilities of the layout container for the t op controls.
14 * <p>
15 * Concrete implementations of this class must extend ViewGroup.
16 */
17 public interface ControlContainer {
18 /**
19 * @return The {@link ViewResourceAdapter} that exposes this {@link View} as a CC resource.
20 */
21 ViewResourceAdapter getToolbarResourceAdapter();
22
23 /**
24 * @return The {@link ViewResourceAdapter} that exposes the progress widget as a CC resource
25 * (if applicable).
26 */
27 ViewResourceAdapter getProgressResourceAdapter();
28
29 /**
30 * @param handler The swipe handler to be notified of swipe events on this c ontainer.
31 */
32 void setSwipeHandler(EdgeSwipeHandler handler);
33 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698