Commit 8026df5c authored by Kyle Milka's avatar Kyle Milka Committed by Commit Bot

[NTP] Remove unsused IDS and CLASSES from local_ntp.js

Bug: None
Change-Id: I7e3aff5d30853dd8c38ab1c7f74c554b76faeef3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1618144Reviewed-by: default avatarGayane Petrosyan <gayane@chromium.org>
Commit-Queue: Kyle Milka <kmilka@chromium.org>
Cr-Commit-Position: refs/heads/master@{#661117}
parent b63885fd
......@@ -575,10 +575,6 @@ html[darkmode=true] .customize-dialog::backdrop {
width: 100%;
}
#custom-links-edit.show {
display: block;
}
#one-google {
display: none;
position: absolute;
......
......@@ -84,11 +84,8 @@ const CLASSES = {
FAKEBOX_FOCUS: 'fakebox-focused', // Applies focus styles to the fakebox
// Shows a search icon in the fakebox.
SHOW_FAKEBOX_ICON: 'show-fakebox-icon',
SHOW_EDIT_DIALOG: 'show', // Displays the edit custom link dialog.
// Applied when the fakebox placeholder text should not be hidden on focus.
SHOW_PLACEHOLDER: 'show-placeholder',
HIDE_BODY_OVERFLOW: 'hidden', // Prevents scrolling while the edit custom
// link dialog is open.
// Applies float animations to the Most Visited notification
FLOAT_DOWN: 'float-down',
FLOAT_UP: 'float-up',
......@@ -127,12 +124,10 @@ const IDS = {
ERROR_NOTIFICATION_LINK: 'error-notice-link',
ERROR_NOTIFICATION_MSG: 'error-notice-msg',
FAKEBOX: 'fakebox',
FAKEBOX_CONTAINER: 'fakebox-container',
FAKEBOX_ICON: 'fakebox-search-icon',
FAKEBOX_INPUT: 'fakebox-input',
FAKEBOX_TEXT: 'fakebox-text',
FAKEBOX_MICROPHONE: 'fakebox-microphone',
LOGO: 'logo',
MOST_VISITED: 'most-visited',
NOTIFICATION: 'mv-notice',
NOTIFICATION_CONTAINER: 'mv-notice-container',
......@@ -149,18 +144,6 @@ const IDS = {
};
/**
* Counterpart of search_provider_logos::LogoType.
* @enum {string}
* @const
*/
const LOGO_TYPE = {
SIMPLE: 'SIMPLE',
ANIMATED: 'ANIMATED',
INTERACTIVE: 'INTERACTIVE',
};
/**
* The different types of events that are logged from the NTP. This enum is
* used to transfer information from the NTP JavaScript to the renderer and is
......
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