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

Unified Diff: chrome/browser/resources/settings/settings_ui/breadcrumb.js

Issue 1815523002: [MD settings] remove breadcrumb code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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_ui/breadcrumb.js
diff --git a/chrome/browser/resources/settings/settings_ui/breadcrumb.js b/chrome/browser/resources/settings/settings_ui/breadcrumb.js
deleted file mode 100644
index 4e4321b891ce1597f3651795a326f7c3e1f4c0b9..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/settings/settings_ui/breadcrumb.js
+++ /dev/null
@@ -1,52 +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-breadcrumb' displays the breadcrumb.
- *
- * Example:
- *
- * <settings-breadcrumb current-route="{{currentRoute}}">
- * </settings-breadcrumb>
- */
-Polymer({
- is: 'settings-breadcrumb',
-
- properties: {
- /**
- * The current active route.
- */
- currentRoute: {
- type: Object,
- notify: true,
- },
-
- /**
- * Page titles for the currently active route.
- */
- currentRouteTitles: {
- type: Object,
- },
- },
-
- /** @private */
- onTapPage_: function() {
- this.currentRoute = {
- page: this.currentRoute.page,
- section: '',
- subpage: [],
- };
- },
-
- /** @private */
- onTapSubpage_: function(event) {
- var clickedIndex = event.target.dataset.subpageIndex;
- this.currentRoute = {
- page: this.currentRoute.page,
- section: this.currentRoute.section,
- subpage: this.currentRoute.subpage.slice(0, clickedIndex + 1),
- };
- },
-});

Powered by Google App Engine
This is Rietveld 408576698