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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ApplicationInitialization.java

Issue 714003002: Allow changing top controls height (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/layer_tree_settings.cc ('k') | content/browser/android/content_view_core_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/ApplicationInitialization.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ApplicationInitialization.java b/chrome/android/java/src/org/chromium/chrome/browser/ApplicationInitialization.java
index 4af293d9d19a35e4a592f95090c6828770a5b40f..6f0472dc2c3970ccd6c0a53cab0ec1f56ceffa80 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ApplicationInitialization.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ApplicationInitialization.java
@@ -37,12 +37,6 @@ public final class ApplicationInitialization {
commandLine.appendSwitch(ContentSwitches.ENABLE_TOP_CONTROLS_POSITION_CALCULATION);
- float controlsHeightDp =
- resources.getDimensionPixelSize(resControlContainerHeight)
- / resources.getDisplayMetrics().density;
- commandLine.appendSwitchWithValue(
- ContentSwitches.TOP_CONTROLS_HEIGHT, Float.toString(controlsHeightDp));
-
TypedValue threshold = new TypedValue();
resources.getValue(R.floats.top_controls_show_threshold, threshold, true);
commandLine.appendSwitchWithValue(
« no previous file with comments | « cc/trees/layer_tree_settings.cc ('k') | content/browser/android/content_view_core_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698