Commit 529be939 authored by Roman Arora's avatar Roman Arora Committed by Commit Bot

Tab Search: Propagate UseRipples platform setting to WebUI

Bug: 1128599
Change-Id: Ibbf2b73ab4da67ce5cfc6130bbef860b0ee21132
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2459126Reviewed-by: default avatarThomas Lukaszewicz <tluk@chromium.org>
Commit-Queue: Roman Arora <romanarora@chromium.org>
Cr-Commit-Position: refs/heads/master@{#815430}
parent 6517ee37
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
#include "content/public/browser/web_ui.h" #include "content/public/browser/web_ui.h"
#include "content/public/browser/web_ui_data_source.h" #include "content/public/browser/web_ui_data_source.h"
#include "ui/base/webui/web_ui_util.h" #include "ui/base/webui/web_ui_util.h"
#include "ui/views/style/platform_style.h"
#if BUILDFLAG(ENABLE_TAB_SEARCH) #if BUILDFLAG(ENABLE_TAB_SEARCH)
#include "chrome/grit/tab_search_resources.h" #include "chrome/grit/tab_search_resources.h"
...@@ -57,6 +58,7 @@ TabSearchUI::TabSearchUI(content::WebUI* web_ui) ...@@ -57,6 +58,7 @@ TabSearchUI::TabSearchUI(content::WebUI* web_ui)
source->AddBoolean( source->AddBoolean(
"submitFeedbackEnabled", "submitFeedbackEnabled",
base::FeatureList::IsEnabled(features::kTabSearchFeedback)); base::FeatureList::IsEnabled(features::kTabSearchFeedback));
source->AddBoolean("useRipples", views::PlatformStyle::kUseRipples);
// Add the configuration parameters for fuzzy search. // Add the configuration parameters for fuzzy search.
source->AddBoolean("searchIgnoreLocation", source->AddBoolean("searchIgnoreLocation",
......
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