Commit d46a8230 authored by Peter Boström's avatar Peter Boström Committed by Commit Bot

Remove IsSecondaryUiMaterial() method.

All calls to this function have been removed and it's no longer in use.

Bug: chromium:867557
Change-Id: I8334510e9fe4b685c7c724f7e35f098435c24bb6
Reviewed-on: https://chromium-review.googlesource.com/1170991Reviewed-by: default avatarScott Violet <sky@chromium.org>
Commit-Queue: Peter Boström <pbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#582295}
parent 4caaa081
...@@ -175,11 +175,6 @@ MaterialDesignController::Mode MaterialDesignController::GetMode() { ...@@ -175,11 +175,6 @@ MaterialDesignController::Mode MaterialDesignController::GetMode() {
return mode_; return mode_;
} }
// static
bool MaterialDesignController::IsSecondaryUiMaterial() {
return true;
}
// static // static
bool MaterialDesignController::IsTouchOptimizedUiEnabled() { bool MaterialDesignController::IsTouchOptimizedUiEnabled() {
return GetMode() == MATERIAL_TOUCH_OPTIMIZED || return GetMode() == MATERIAL_TOUCH_OPTIMIZED ||
......
...@@ -38,10 +38,6 @@ class UI_BASE_EXPORT MaterialDesignController { ...@@ -38,10 +38,6 @@ class UI_BASE_EXPORT MaterialDesignController {
// Get the current Mode that should be used by the system. // Get the current Mode that should be used by the system.
static Mode GetMode(); static Mode GetMode();
// Returns true if the current mode is a material design variant and this mode
// should be extended to cover secondary UI.
static bool IsSecondaryUiMaterial();
// Returns true if the touch-optimized UI material design mode is enabled. // Returns true if the touch-optimized UI material design mode is enabled.
static bool IsTouchOptimizedUiEnabled(); static bool IsTouchOptimizedUiEnabled();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment