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

Unified Diff: chrome/browser/resources/ntp4/new_tab.js

Issue 1440113002: [MD] Change appearance of incognito NTP to MD spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 1 month 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
Index: chrome/browser/resources/ntp4/new_tab.js
diff --git a/chrome/browser/resources/ntp4/new_tab.js b/chrome/browser/resources/ntp4/new_tab.js
index cb0c42dc9d0fcaf35773a4ffb6c77324a222436e..bce5b23db2511b6b711c04973177cbe6ac037597 100644
--- a/chrome/browser/resources/ntp4/new_tab.js
+++ b/chrome/browser/resources/ntp4/new_tab.js
@@ -333,8 +333,10 @@ cr.define('ntp', function() {
/**
* Called when the theme has changed.
+ * @param {Object} opt_themeData Not used; only exists to match equivalent
+ * function in incognito NTP.
*/
- function themeChanged() {
+ function themeChanged(opt_themeData) {
$('themecss').href = 'chrome://theme/css/new_tab_theme.css?' + Date.now();
}
« no previous file with comments | « chrome/browser/resources/ntp4/new_incognito_tab_theme.css ('k') | chrome/browser/ui/webui/ntp/new_tab_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698