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

Unified Diff: chrome/browser/resources/settings/settings_page/settings_subheader.js

Issue 1826683002: MD Settings: Lazy-load sub-pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@WebAnimationsExterns
Patch Set: Created 4 years, 9 months 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/settings/settings_page/settings_subheader.js
diff --git a/chrome/browser/resources/settings/settings_page/settings_subheader.js b/chrome/browser/resources/settings/settings_page/settings_subheader.js
deleted file mode 100644
index 4f702c53e0179a407023ed1b91997dc2bec0402b..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/settings/settings_page/settings_subheader.js
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-/**
- * @fileoverview
- * 'settings-subheader' shows a subheader for subpages. This header contains
- * the subpage title and a back icon. The back icon fires an event which
- * is caught by settings-animated-pages, so it requires no separate handling.
- *
- * Examples:
- *
- * <settings-subheader i18n-values="page-title:internetPageTitle">
- * </settings-subheader>
- */
-Polymer({
- is: 'settings-subheader',
-
- /** @private */
- onTapBack_: function() {
- // Event is caught by settings-animated-pages.
- this.fire('subpage-back');
- },
-});

Powered by Google App Engine
This is Rietveld 408576698