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

Side by Side Diff: third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp

Issue 2589143003: Add 'get' prefix for Settings.in generated code. (Closed)
Patch Set: Only get prefix and no capitalization. Created 3 years, 11 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 /* 1 /*
2 * Copyright (C) 2014, Google Inc. All rights reserved. 2 * Copyright (C) 2014, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 1028 matching lines...) Expand 10 before | Expand all | Expand 10 after
1039 } 1039 }
1040 1040
1041 Settings* AXObjectCacheImpl::settings() { 1041 Settings* AXObjectCacheImpl::settings() {
1042 return m_document->settings(); 1042 return m_document->settings();
1043 } 1043 }
1044 1044
1045 bool AXObjectCacheImpl::accessibilityEnabled() { 1045 bool AXObjectCacheImpl::accessibilityEnabled() {
1046 Settings* settings = this->settings(); 1046 Settings* settings = this->settings();
1047 if (!settings) 1047 if (!settings)
1048 return false; 1048 return false;
1049 return settings->accessibilityEnabled(); 1049 return settings->getAccessibilityEnabled();
1050 } 1050 }
1051 1051
1052 bool AXObjectCacheImpl::inlineTextBoxAccessibilityEnabled() { 1052 bool AXObjectCacheImpl::inlineTextBoxAccessibilityEnabled() {
1053 Settings* settings = this->settings(); 1053 Settings* settings = this->settings();
1054 if (!settings) 1054 if (!settings)
1055 return false; 1055 return false;
1056 return settings->inlineTextBoxAccessibilityEnabled(); 1056 return settings->getInlineTextBoxAccessibilityEnabled();
1057 } 1057 }
1058 1058
1059 const Element* AXObjectCacheImpl::rootAXEditableElement(const Node* node) { 1059 const Element* AXObjectCacheImpl::rootAXEditableElement(const Node* node) {
1060 const Element* result = rootEditableElement(*node); 1060 const Element* result = rootEditableElement(*node);
1061 const Element* element = 1061 const Element* element =
1062 node->isElementNode() ? toElement(node) : node->parentElement(); 1062 node->isElementNode() ? toElement(node) : node->parentElement();
1063 1063
1064 for (; element; element = element->parentElement()) { 1064 for (; element; element = element->parentElement()) {
1065 if (nodeIsTextControl(element)) 1065 if (nodeIsTextControl(element))
1066 result = element; 1066 result = element;
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
1253 visitor->trace(m_document); 1253 visitor->trace(m_document);
1254 visitor->trace(m_nodeObjectMapping); 1254 visitor->trace(m_nodeObjectMapping);
1255 1255
1256 visitor->trace(m_objects); 1256 visitor->trace(m_objects);
1257 visitor->trace(m_notificationsToPost); 1257 visitor->trace(m_notificationsToPost);
1258 1258
1259 AXObjectCache::trace(visitor); 1259 AXObjectCache::trace(visitor);
1260 } 1260 }
1261 1261
1262 } // namespace blink 1262 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698