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

Unified Diff: chrome/browser/resources/options2/cookies_view_app.js

Issue 10809005: Options: Rename chrome/browser/resources/options2 -> chrome/browser/resources/options. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix. Created 8 years, 4 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/options2/cookies_view_app.js
diff --git a/chrome/browser/resources/options2/cookies_view_app.js b/chrome/browser/resources/options2/cookies_view_app.js
deleted file mode 100644
index b9ee641593edb05d19b583546d4b8d08ae6ea2db..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/options2/cookies_view_app.js
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright (c) 2012 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.
-
-cr.define('options', function() {
-
- /////////////////////////////////////////////////////////////////////////////
- // CookiesViewApp class:
-
- /**
- * Encapsulated handling of app cookies and other data page. It
- * derives from the regular CookiesView.
- * @constructor
- */
- function CookiesViewApp(model) {
- options.OptionsPage.call(this, 'app-cookies',
- loadTimeData.getString('cookiesViewPageTabTitle'),
- 'app-cookies-view-page');
- }
-
- cr.addSingletonGetter(CookiesViewApp);
-
- CookiesViewApp.prototype = {
- __proto__: options.CookiesView.prototype,
-
- isAppContext: function() {
- return true;
- },
- };
-
- // CookiesViewHandler callbacks.
- CookiesViewApp.onTreeItemAdded = function(args) {
- $('app-cookies-list').addByParentId(args[0], args[1], args[2]);
- };
-
- CookiesViewApp.onTreeItemRemoved = function(args) {
- $('app-cookies-list').removeByParentId(args[0], args[1], args[2]);
- };
-
- CookiesViewApp.loadChildren = function(args) {
- $('app-cookies-list').loadChildren(args[0], args[1]);
- };
-
- // Export
- return {
- CookiesViewApp: CookiesViewApp
- };
-});
« no previous file with comments | « chrome/browser/resources/options2/cookies_view_app.html ('k') | chrome/browser/resources/options2/deletable_item_list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698