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

Side by Side Diff: Source/core/dom/Node.h

Issue 408883003: Remove shouldUseInputMethod (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove shouldUseInputMethod completely Created 6 years, 5 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
« no previous file with comments | « no previous file | Source/core/dom/Node.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. 5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved.
6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 switch (editableType) { 432 switch (editableType) {
433 case ContentIsEditable: 433 case ContentIsEditable:
434 return hasEditableStyle(RichlyEditable, UserSelectAllIsAlwaysNonEdit able); 434 return hasEditableStyle(RichlyEditable, UserSelectAllIsAlwaysNonEdit able);
435 case HasEditableAXRole: 435 case HasEditableAXRole:
436 return isEditableToAccessibility(RichlyEditable); 436 return isEditableToAccessibility(RichlyEditable);
437 } 437 }
438 ASSERT_NOT_REACHED(); 438 ASSERT_NOT_REACHED();
439 return false; 439 return false;
440 } 440 }
441 441
442 virtual bool shouldUseInputMethod();
443 virtual LayoutRect boundingBox() const; 442 virtual LayoutRect boundingBox() const;
444 IntRect pixelSnappedBoundingBox() const { return pixelSnappedIntRect(boundin gBox()); } 443 IntRect pixelSnappedBoundingBox() const { return pixelSnappedIntRect(boundin gBox()); }
445 444
446 // Returns true if the node has a non-empty bounding box in layout. 445 // Returns true if the node has a non-empty bounding box in layout.
447 // This does not 100% guarantee the user can see it, but is pretty close. 446 // This does not 100% guarantee the user can see it, but is pretty close.
448 // Note: This method only works properly after layout has occurred. 447 // Note: This method only works properly after layout has occurred.
449 bool hasNonEmptyBoundingBox() const; 448 bool hasNonEmptyBoundingBox() const;
450 449
451 unsigned nodeIndex() const; 450 unsigned nodeIndex() const;
452 451
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
908 } // namespace blink 907 } // namespace blink
909 908
910 #ifndef NDEBUG 909 #ifndef NDEBUG
911 // Outside the WebCore namespace for ease of invocation from gdb. 910 // Outside the WebCore namespace for ease of invocation from gdb.
912 void showNode(const blink::Node*); 911 void showNode(const blink::Node*);
913 void showTree(const blink::Node*); 912 void showTree(const blink::Node*);
914 void showNodePath(const blink::Node*); 913 void showNodePath(const blink::Node*);
915 #endif 914 #endif
916 915
917 #endif 916 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698