Commit b8fff7d7 authored by Evan Stade's avatar Evan Stade Committed by Commit Bot

Use inclusive terminology in //ui/webui

Fixed: 1109261
Change-Id: I1533048a2d8e67f0b82a1d20769ad22bf35c6213
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2317765
Commit-Queue: Evan Stade <estade@chromium.org>
Reviewed-by: default avatardpapad <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#791508}
parent da48b024
...@@ -71,8 +71,8 @@ def _CheckWebDevStyle(input_api, output_api): ...@@ -71,8 +71,8 @@ def _CheckWebDevStyle(input_api, output_api):
cwd = input_api.PresubmitLocalPath() cwd = input_api.PresubmitLocalPath()
sys.path += [input_api.os_path.join(cwd, '..', '..', '..', 'tools')] sys.path += [input_api.os_path.join(cwd, '..', '..', '..', 'tools')]
from web_dev_style import presubmit_support from web_dev_style import presubmit_support
BLACKLIST = ['ui/webui/resources/js/jstemplate_compiled.js'] IGNORELIST = ['ui/webui/resources/js/jstemplate_compiled.js']
file_filter = lambda f: f.LocalPath() not in BLACKLIST file_filter = lambda f: f.LocalPath() not in IGNORELIST
results += presubmit_support.CheckStyle(input_api, output_api, file_filter) results += presubmit_support.CheckStyle(input_api, output_api, file_filter)
finally: finally:
sys.path = old_sys_path sys.path = old_sys_path
......
...@@ -100,12 +100,13 @@ ...@@ -100,12 +100,13 @@
} }
/** /**
* Disables text selection and dragging, with optional whitelist callbacks. * Disables text selection and dragging, with optional callbacks to specify
* overrides.
* @param {function(Event):boolean=} opt_allowSelectStart Unless this function * @param {function(Event):boolean=} opt_allowSelectStart Unless this function
* is defined and returns true, the onselectionstart event will be * is defined and returns true, the onselectionstart event will be
* surpressed. * suppressed.
* @param {function(Event):boolean=} opt_allowDragStart Unless this function * @param {function(Event):boolean=} opt_allowDragStart Unless this function
* is defined and returns true, the ondragstart event will be surpressed. * is defined and returns true, the ondragstart event will be suppressed.
*/ */
/* #export */ function disableTextSelectAndDrag( /* #export */ function disableTextSelectAndDrag(
opt_allowSelectStart, opt_allowDragStart) { opt_allowSelectStart, opt_allowDragStart) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment