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

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

Issue 2440953003: DevTools: use semicolons after each statement. (Closed)
Patch Set: rebaseline Created 4 years, 2 months 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/Tooltip.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/Tooltip.js b/third_party/WebKit/Source/devtools/front_end/ui/Tooltip.js
index 426498cb634b649b25df01b00d7610f072277aa2..8f11ebed18a60cd3cbec0ad47f2c9cb9bb32af9f 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/Tooltip.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/Tooltip.js
@@ -18,14 +18,14 @@ WebInspector.Tooltip = function(doc)
doc.addEventListener("keydown", this._hide.bind(this, true), true);
WebInspector.zoomManager.addEventListener(WebInspector.ZoomManager.Events.ZoomChanged, this._reset, this);
doc.defaultView.addEventListener("resize", this._reset.bind(this), false);
-}
+};
WebInspector.Tooltip.Timing = {
// Max time between tooltips showing that no opening delay is required.
"InstantThreshold": 300,
// Wait time before opening a tooltip.
"OpeningDelay": 600
-}
+};
WebInspector.Tooltip.prototype = {
/**
@@ -144,7 +144,7 @@ WebInspector.Tooltip.prototype = {
this._tooltipElement.style.maxWidth = "0";
this._tooltipElement.style.maxHeight = "0";
}
-}
+};
WebInspector.Tooltip._symbol = Symbol("Tooltip");
@@ -154,7 +154,7 @@ WebInspector.Tooltip._symbol = Symbol("Tooltip");
WebInspector.Tooltip.installHandler = function(doc)
{
new WebInspector.Tooltip(doc);
-}
+};
/**
* @param {!Element} element
@@ -169,7 +169,7 @@ WebInspector.Tooltip.install = function(element, tooltipContent, actionId, optio
return;
}
element[WebInspector.Tooltip._symbol] = { content: tooltipContent, actionId: actionId, options: options || {} };
-}
+};
/**
* @param {!Element} element
@@ -177,7 +177,7 @@ WebInspector.Tooltip.install = function(element, tooltipContent, actionId, optio
WebInspector.Tooltip.addNativeOverrideContainer = function(element)
{
WebInspector.Tooltip._nativeOverrideContainer.push(element);
-}
+};
/** @type {!Array.<!Element>} */
WebInspector.Tooltip._nativeOverrideContainer = [];
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js ('k') | third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698