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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/common/editable_text.js

Issue 2059143002: "up-to-date" should only use hyphens when used as compound modifier of a noun (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 goog.provide('cvox.ChromeVoxEditableContentEditable'); 5 goog.provide('cvox.ChromeVoxEditableContentEditable');
6 goog.provide('cvox.ChromeVoxEditableElement'); 6 goog.provide('cvox.ChromeVoxEditableElement');
7 goog.provide('cvox.ChromeVoxEditableHTMLInput'); 7 goog.provide('cvox.ChromeVoxEditableHTMLInput');
8 goog.provide('cvox.ChromeVoxEditableTextArea'); 8 goog.provide('cvox.ChromeVoxEditableTextArea');
9 goog.provide('cvox.TextHandlerInterface'); 9 goog.provide('cvox.TextHandlerInterface');
10 10
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 * @extends {cvox.ChromeVoxEditableElement} 312 * @extends {cvox.ChromeVoxEditableElement}
313 * @implements {cvox.TextHandlerInterface} 313 * @implements {cvox.TextHandlerInterface}
314 * @constructor 314 * @constructor
315 */ 315 */
316 cvox.ChromeVoxEditableTextArea = function(node, tts) { 316 cvox.ChromeVoxEditableTextArea = function(node, tts) {
317 goog.base(this, node, node.value, node.selectionStart, node.selectionEnd, 317 goog.base(this, node, node.value, node.selectionStart, node.selectionEnd,
318 false /* isPassword */, tts); 318 false /* isPassword */, tts);
319 this.multiline = true; 319 this.multiline = true;
320 320
321 /** 321 /**
322 * True if the shadow is up-to-date with the current value of this text area. 322 * True if the shadow is up to date with the current value of this text area.
323 * @type {boolean} 323 * @type {boolean}
324 * @private 324 * @private
325 */ 325 */
326 this.shadowIsCurrent_ = false; 326 this.shadowIsCurrent_ = false;
327 }; 327 };
328 goog.inherits(cvox.ChromeVoxEditableTextArea, 328 goog.inherits(cvox.ChromeVoxEditableTextArea,
329 cvox.ChromeVoxEditableElement); 329 cvox.ChromeVoxEditableElement);
330 330
331 331
332 /** 332 /**
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 // but there is still content after the new line (like the example 640 // but there is still content after the new line (like the example
641 // above after "Title"). In these cases, we "pretend" we're the 641 // above after "Title"). In these cases, we "pretend" we're the
642 // last character so we speak "blank". 642 // last character so we speak "blank".
643 return false; 643 return false;
644 } 644 }
645 645
646 // Otherwise, we should never speak "blank" no matter what (even if 646 // Otherwise, we should never speak "blank" no matter what (even if
647 // we're at the end of a content editable). 647 // we're at the end of a content editable).
648 return true; 648 return true;
649 }; 649 };
OLDNEW
« no previous file with comments | « chrome/browser/policy/cloud/cloud_policy_invalidator.h ('k') | chrome/browser/resources/plugin_metadata/plugins_win.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698