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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/sources/OpenResourceDialog.js

Issue 2537223003: [DevTools] Introduce Project.isServiceProject method. (Closed)
Patch Set: rebased Created 4 years 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 * Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /** 7 /**
8 * @unrestricted 8 * @unrestricted
9 */ 9 */
10 Sources.OpenResourceDialog = class extends Sources.FilteredUISourceCodeListDeleg ate { 10 Sources.OpenResourceDialog = class extends Sources.FilteredUISourceCodeListDeleg ate {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 shouldShowMatchingItems(query) { 54 shouldShowMatchingItems(query) {
55 return !query.startsWith(':'); 55 return !query.startsWith(':');
56 } 56 }
57 57
58 /** 58 /**
59 * @override 59 * @override
60 * @param {!Workspace.Project} project 60 * @param {!Workspace.Project} project
61 * @return {boolean} 61 * @return {boolean}
62 */ 62 */
63 filterProject(project) { 63 filterProject(project) {
64 return !Workspace.Project.isServiceProject(project); 64 return !project.isServiceProject();
65 } 65 }
66 66
67 /** 67 /**
68 * @override 68 * @override
69 * @return {boolean} 69 * @return {boolean}
70 */ 70 */
71 renderAsTwoRows() { 71 renderAsTwoRows() {
72 return true; 72 return true;
73 } 73 }
74 }; 74 };
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 } 121 }
122 122
123 /** 123 /**
124 * @override 124 * @override
125 * @return {boolean} 125 * @return {boolean}
126 */ 126 */
127 renderAsTwoRows() { 127 renderAsTwoRows() {
128 return true; 128 return true;
129 } 129 }
130 }; 130 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698