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

Unified Diff: third_party/WebKit/LayoutTests/inspector/editor/text-editor-word-jumps.html

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/LayoutTests/inspector/editor/text-editor-word-jumps.html
diff --git a/third_party/WebKit/LayoutTests/inspector/editor/text-editor-word-jumps.html b/third_party/WebKit/LayoutTests/inspector/editor/text-editor-word-jumps.html
index dfa6e0c26af2cd863fe69f23e2fde76e4fe8f808..42ae8f32cee7118d9d3cc79efd2f25fe8b16386e 100644
--- a/third_party/WebKit/LayoutTests/inspector/editor/text-editor-word-jumps.html
+++ b/third_party/WebKit/LayoutTests/inspector/editor/text-editor-word-jumps.html
@@ -27,8 +27,8 @@ function testMyCamelMove(foo, bar)
textEditor.element.focus();
InspectorTest.addResult(textEditor.text());
- const wordJumpModifier = WebInspector.isMac() ? "altKey" : "ctrlKey";
- const camelJumpModifier = WebInspector.isMac() ? "ctrlKey" : "altKey";
+ const wordJumpModifier = Host.isMac() ? "altKey" : "ctrlKey";
+ const camelJumpModifier = Host.isMac() ? "ctrlKey" : "altKey";
function dumpEditorSelection()
{
@@ -44,14 +44,14 @@ function testMyCamelMove(foo, bar)
function setCursorAtBeginning()
{
- textEditor.setSelection(WebInspector.TextRange.createFromLocation(0, 0));
+ textEditor.setSelection(Common.TextRange.createFromLocation(0, 0));
}
function setCursorAtEnd()
{
var lastLine = textEditor.linesCount - 1;
var lastColumn = textEditor.line(lastLine).length;
- textEditor.setSelection(WebInspector.TextRange.createFromLocation(lastLine, lastColumn));
+ textEditor.setSelection(Common.TextRange.createFromLocation(lastLine, lastColumn));
}
function fireEventWhileSelectionChanges(eventType, modifiers, callback)

Powered by Google App Engine
This is Rietveld 408576698