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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/resources/DOMStorageItemsView.js

Issue 2466123002: DevTools: reformat front-end code to match chromium style. (Closed)
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Nokia Inc. All rights reserved. 2 * Copyright (C) 2008 Nokia Inc. All rights reserved.
3 * Copyright (C) 2013 Samsung Electronics. All rights reserved. 3 * Copyright (C) 2013 Samsung Electronics. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 WebInspector.DOMStorageItemsView.prototype = { 52 WebInspector.DOMStorageItemsView.prototype = {
53 /** 53 /**
54 * @override 54 * @override
55 * @return {!Array.<!WebInspector.ToolbarItem>} 55 * @return {!Array.<!WebInspector.ToolbarItem>}
56 */ 56 */
57 syncToolbarItems: function() 57 syncToolbarItems: function()
58 { 58 {
59 return [this.refreshButton, this.deleteButton]; 59 return [this.refreshButton, this.deleteButton];
60 }, 60 },
61 61
62 /**
63 * @override
64 */
62 wasShown: function() 65 wasShown: function()
63 { 66 {
64 this._update(); 67 this._update();
65 }, 68 },
66 69
70 /**
71 * @override
72 */
67 willHide: function() 73 willHide: function()
68 { 74 {
69 this.deleteButton.setVisible(false); 75 this.deleteButton.setVisible(false);
70 }, 76 },
71 77
72 /** 78 /**
73 * @param {!WebInspector.Event} event 79 * @param {!WebInspector.Event} event
74 */ 80 */
75 _domStorageItemsCleared: function(event) 81 _domStorageItemsCleared: function(event)
76 { 82 {
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 { 260 {
255 if (!node || node.isCreationNode) 261 if (!node || node.isCreationNode)
256 return; 262 return;
257 263
258 if (this.domStorage) 264 if (this.domStorage)
259 this.domStorage.removeItem(node.data.key); 265 this.domStorage.removeItem(node.data.key);
260 }, 266 },
261 267
262 __proto__: WebInspector.SimpleView.prototype 268 __proto__: WebInspector.SimpleView.prototype
263 }; 269 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698