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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/ViewportControl.js

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/ui/ViewportControl.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/ViewportControl.js b/third_party/WebKit/Source/devtools/front_end/ui/ViewportControl.js
index 25ef0cf2dcd6952a112e54a7633f451caa74eae4..df26c8491faa796a461e201706892e8826e157c5 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/ViewportControl.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/ViewportControl.js
@@ -31,9 +31,9 @@
/**
* @unrestricted
*/
-WebInspector.ViewportControl = class {
+UI.ViewportControl = class {
/**
- * @param {!WebInspector.ViewportControl.Provider} provider
+ * @param {!UI.ViewportControl.Provider} provider
*/
constructor(provider) {
this.element = createElement('div');
@@ -128,7 +128,7 @@ WebInspector.ViewportControl = class {
/**
* @param {number} index
- * @return {?WebInspector.ViewportElement}
+ * @return {?UI.ViewportElement}
*/
_providerElement(index) {
if (!this._cachedProviderElements)
@@ -355,7 +355,7 @@ WebInspector.ViewportControl = class {
this._cumulativeHeights[this._cumulativeHeights.length - 1] - this._cumulativeHeights[this._lastActiveIndex];
/**
- * @this {WebInspector.ViewportControl}
+ * @this {UI.ViewportControl}
*/
function prepare() {
this._topGapElement.style.height = topGapHeight + 'px';
@@ -575,9 +575,9 @@ WebInspector.ViewportControl = class {
/**
* @interface
*/
-WebInspector.ViewportControl.Provider = function() {};
+UI.ViewportControl.Provider = function() {};
-WebInspector.ViewportControl.Provider.prototype = {
+UI.ViewportControl.Provider.prototype = {
/**
* @param {number} index
* @return {number}
@@ -602,7 +602,7 @@ WebInspector.ViewportControl.Provider.prototype = {
/**
* @param {number} index
- * @return {?WebInspector.ViewportElement}
+ * @return {?UI.ViewportElement}
*/
itemElement: function(index) {
return null;
@@ -612,8 +612,8 @@ WebInspector.ViewportControl.Provider.prototype = {
/**
* @interface
*/
-WebInspector.ViewportElement = function() {};
-WebInspector.ViewportElement.prototype = {
+UI.ViewportElement = function() {};
+UI.ViewportElement.prototype = {
willHide: function() {},
wasShown: function() {},
@@ -625,10 +625,10 @@ WebInspector.ViewportElement.prototype = {
};
/**
- * @implements {WebInspector.ViewportElement}
+ * @implements {UI.ViewportElement}
* @unrestricted
*/
-WebInspector.StaticViewportElement = class {
+UI.StaticViewportElement = class {
/**
* @param {!Element} element
*/
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/View.js ('k') | third_party/WebKit/Source/devtools/front_end/ui/Widget.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698