| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 | 159 |
| 160 /** | 160 /** |
| 161 * @return {!WebInspector.RenderingOptionsView} | 161 * @return {!WebInspector.RenderingOptionsView} |
| 162 */ | 162 */ |
| 163 WebInspector.RenderingOptionsView.instance = function() | 163 WebInspector.RenderingOptionsView.instance = function() |
| 164 { | 164 { |
| 165 if (!WebInspector.RenderingOptionsView._instanceObject) | 165 if (!WebInspector.RenderingOptionsView._instanceObject) |
| 166 WebInspector.RenderingOptionsView._instanceObject = new WebInspector.Ren
deringOptionsView(); | 166 WebInspector.RenderingOptionsView._instanceObject = new WebInspector.Ren
deringOptionsView(); |
| 167 return WebInspector.RenderingOptionsView._instanceObject; | 167 return WebInspector.RenderingOptionsView._instanceObject; |
| 168 } | 168 } |
| 169 | |
| 170 /** | |
| 171 * @constructor | |
| 172 * @implements {WebInspector.ActionDelegate} | |
| 173 */ | |
| 174 WebInspector.RenderingOptionsView.ShowActionDelegate = function() | |
| 175 { | |
| 176 } | |
| 177 | |
| 178 WebInspector.RenderingOptionsView.ShowActionDelegate.prototype = { | |
| 179 /** | |
| 180 * @override | |
| 181 * @param {!WebInspector.Context} context | |
| 182 * @param {string} actionId | |
| 183 * @return {boolean} | |
| 184 */ | |
| 185 handleAction: function(context, actionId) | |
| 186 { | |
| 187 WebInspector.inspectorView.showViewInDrawer("rendering"); | |
| 188 return true; | |
| 189 } | |
| 190 } | |
| OLD | NEW |