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

Unified Diff: ui/webui/resources/js/cr/ui/focus_manager.js

Issue 2603443002: Clang format JS: Disallow single line functions, conditionals, loops, and switch statements (Closed)
Patch Set: more options Created 4 years 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: ui/webui/resources/js/cr/ui/focus_manager.js
diff --git a/ui/webui/resources/js/cr/ui/focus_manager.js b/ui/webui/resources/js/cr/ui/focus_manager.js
index 8fb528dcc332897797f3aff477a0200c90877317..3f36a4254f5c557b19251680958c301f294c1ed3 100644
--- a/ui/webui/resources/js/cr/ui/focus_manager.js
+++ b/ui/webui/resources/js/cr/ui/focus_manager.js
@@ -9,7 +9,8 @@ cr.define('cr.ui', function() {
* the topmost overlay) do not receive focus.
* @constructor
*/
- function FocusManager() {}
+ function FocusManager() {
+ }
FocusManager.prototype = {
/**
@@ -36,7 +37,9 @@ cr.define('cr.ui', function() {
* allowed to receive focus.
* @return {Element} The element containing focusable elements.
*/
- getFocusParent: function() { return document.body; },
+ getFocusParent: function() {
+ return document.body;
+ },
/**
* Returns the elements on the page capable of receiving focus.

Powered by Google App Engine
This is Rietveld 408576698