| 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 18 matching lines...) Expand all Loading... |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 /** | 31 /** |
| 32 * @constructor | 32 * @constructor |
| 33 * @extends {WebInspector.VBox} | 33 * @extends {WebInspector.VBox} |
| 34 * @implements {WebInspector.DOMNodeHighlighter} | 34 * @implements {WebInspector.DOMNodeHighlighter} |
| 35 */ | 35 */ |
| 36 WebInspector.ScreencastView = function() | 36 WebInspector.ScreencastView = function() |
| 37 { | 37 { |
| 38 WebInspector.VBox.call(this); | 38 WebInspector.VBox.call(this); |
| 39 this.setMinimumSize(150, 150); | 39 this.setConstraints(150, 150); |
| 40 this.registerRequiredCSS("screencastView.css"); | 40 this.registerRequiredCSS("screencastView.css"); |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 WebInspector.ScreencastView._bordersSize = 40; | 43 WebInspector.ScreencastView._bordersSize = 40; |
| 44 | 44 |
| 45 WebInspector.ScreencastView._navBarHeight = 29; | 45 WebInspector.ScreencastView._navBarHeight = 29; |
| 46 | 46 |
| 47 WebInspector.ScreencastView._HttpRegex = /^https?:\/\/(.+)/; | 47 WebInspector.ScreencastView._HttpRegex = /^https?:\/\/(.+)/; |
| 48 | 48 |
| 49 WebInspector.ScreencastView.prototype = { | 49 WebInspector.ScreencastView.prototype = { |
| (...skipping 932 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 982 * @return {!Element} | 982 * @return {!Element} |
| 983 */ | 983 */ |
| 984 statusBarItem: function() | 984 statusBarItem: function() |
| 985 { | 985 { |
| 986 if (this._initialized) | 986 if (this._initialized) |
| 987 return this._toggleScreencastButton.element; | 987 return this._toggleScreencastButton.element; |
| 988 this._statusBarPlaceholder = document.createElement("div"); | 988 this._statusBarPlaceholder = document.createElement("div"); |
| 989 return this._statusBarPlaceholder; | 989 return this._statusBarPlaceholder; |
| 990 } | 990 } |
| 991 }; | 991 }; |
| OLD | NEW |