| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008, 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2009 Joseph Pecoraro | 3 * Copyright (C) 2009 Joseph Pecoraro |
| 4 * Copyright (C) 2013 Samsung Electronics. All rights reserved. | 4 * Copyright (C) 2013 Samsung Electronics. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 909 onselect: function(selectedByUser) | 909 onselect: function(selectedByUser) |
| 910 { | 910 { |
| 911 if (!selectedByUser) | 911 if (!selectedByUser) |
| 912 return false; | 912 return false; |
| 913 var itemURL = this.itemURL; | 913 var itemURL = this.itemURL; |
| 914 if (itemURL) | 914 if (itemURL) |
| 915 this._storagePanel._resourcesLastSelectedItemSetting.set(itemURL); | 915 this._storagePanel._resourcesLastSelectedItemSetting.set(itemURL); |
| 916 return false; | 916 return false; |
| 917 }, | 917 }, |
| 918 | 918 |
| 919 /** | |
| 920 * @override | |
| 921 */ | |
| 922 onreveal: function() | |
| 923 { | |
| 924 if (this.listItemElement) | |
| 925 this.listItemElement.scrollIntoViewIfNeeded(false); | |
| 926 }, | |
| 927 | |
| 928 get titleText() | 919 get titleText() |
| 929 { | 920 { |
| 930 return this._titleText; | 921 return this._titleText; |
| 931 }, | 922 }, |
| 932 | 923 |
| 933 set titleText(titleText) | 924 set titleText(titleText) |
| 934 { | 925 { |
| 935 this._titleText = titleText; | 926 this._titleText = titleText; |
| 936 this._updateTitle(); | 927 this._updateTitle(); |
| 937 }, | 928 }, |
| (...skipping 1402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2340 WebInspector.ResourcesPanelFactory.prototype = { | 2331 WebInspector.ResourcesPanelFactory.prototype = { |
| 2341 /** | 2332 /** |
| 2342 * @override | 2333 * @override |
| 2343 * @return {!WebInspector.Panel} | 2334 * @return {!WebInspector.Panel} |
| 2344 */ | 2335 */ |
| 2345 createPanel: function() | 2336 createPanel: function() |
| 2346 { | 2337 { |
| 2347 return WebInspector.ResourcesPanel._instance(); | 2338 return WebInspector.ResourcesPanel._instance(); |
| 2348 } | 2339 } |
| 2349 } | 2340 } |
| OLD | NEW |