зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1106935 - Part 5: Rename BrowserToolbarNewTablet -> BrowserToolbarTablet.
--HG-- rename : mobile/android/base/toolbar/BrowserToolbarNewTablet.java => mobile/android/base/toolbar/BrowserToolbarTablet.java extra : rebase_source : 20cda66a6b901a556283f9627b5156c66ab0a3ac
This commit is contained in:
Родитель
50884bb828
Коммит
fddc2fcd28
|
@ -440,10 +440,10 @@ gbjar.sources += [
|
|||
'toolbar/AutocompleteHandler.java',
|
||||
'toolbar/BackButton.java',
|
||||
'toolbar/BrowserToolbar.java',
|
||||
'toolbar/BrowserToolbarNewTablet.java',
|
||||
'toolbar/BrowserToolbarPhone.java',
|
||||
'toolbar/BrowserToolbarPhoneBase.java',
|
||||
'toolbar/BrowserToolbarPreHC.java',
|
||||
'toolbar/BrowserToolbarTablet.java',
|
||||
'toolbar/BrowserToolbarTabletBase.java',
|
||||
'toolbar/CanvasDelegate.java',
|
||||
'toolbar/ForwardButton.java',
|
||||
|
|
|
@ -12,7 +12,6 @@ import java.util.List;
|
|||
import org.mozilla.gecko.AppConstants.Versions;
|
||||
import org.mozilla.gecko.BrowserApp;
|
||||
import org.mozilla.gecko.GeckoAppShell;
|
||||
import org.mozilla.gecko.NewTabletUI;
|
||||
import org.mozilla.gecko.R;
|
||||
import org.mozilla.gecko.Tab;
|
||||
import org.mozilla.gecko.Tabs;
|
||||
|
@ -158,7 +157,7 @@ public abstract class BrowserToolbar extends ThemedRelativeLayout
|
|||
public static BrowserToolbar create(final Context context, final AttributeSet attrs) {
|
||||
final BrowserToolbar toolbar;
|
||||
if (HardwareUtils.isTablet()) {
|
||||
toolbar = new BrowserToolbarNewTablet(context, attrs);
|
||||
toolbar = new BrowserToolbarTablet(context, attrs);
|
||||
} else if (Versions.preHC) {
|
||||
toolbar = new BrowserToolbarPreHC(context, attrs);
|
||||
} else {
|
||||
|
|
|
@ -15,10 +15,9 @@ import android.graphics.drawable.Drawable;
|
|||
import android.util.AttributeSet;
|
||||
|
||||
/**
|
||||
* A toolbar implementation for the tablet redesign (bug 1014156).
|
||||
* Expected to replace BrowserToolbarTablet once complete.
|
||||
* The toolbar implementation for tablet.
|
||||
*/
|
||||
class BrowserToolbarNewTablet extends BrowserToolbarTabletBase {
|
||||
class BrowserToolbarTablet extends BrowserToolbarTabletBase {
|
||||
|
||||
private static final int FORWARD_ANIMATION_DURATION = 450;
|
||||
|
||||
|
@ -34,7 +33,7 @@ class BrowserToolbarNewTablet extends BrowserToolbarTabletBase {
|
|||
|
||||
private boolean backButtonWasEnabledOnStartEditing;
|
||||
|
||||
public BrowserToolbarNewTablet(final Context context, final AttributeSet attrs) {
|
||||
public BrowserToolbarTablet(final Context context, final AttributeSet attrs) {
|
||||
super(context, attrs);
|
||||
|
||||
forwardButtonTranslationWidth =
|
Загрузка…
Ссылка в новой задаче