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

Side by Side Diff: third_party/WebKit/Source/web/WebAXObject.cpp

Issue 2382653006: Split CSSPrimitiveValue into CSSPrimitiveValue and CSSIdentifierValue (Closed)
Patch Set: Make check-webkit-style happy Created 4 years, 2 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 | « third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp ('k') | no next file » | 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 1051 matching lines...) Expand 10 before | Expand all | Expand 10 after
1062 1062
1063 Node* node = m_private->getNode(); 1063 Node* node = m_private->getNode();
1064 if (!node) 1064 if (!node)
1065 return WebString(); 1065 return WebString();
1066 1066
1067 const ComputedStyle* computedStyle = node->ensureComputedStyle(); 1067 const ComputedStyle* computedStyle = node->ensureComputedStyle();
1068 if (!computedStyle) 1068 if (!computedStyle)
1069 return WebString(); 1069 return WebString();
1070 1070
1071 return WebString( 1071 return WebString(
1072 CSSPrimitiveValue::create(computedStyle->display())->cssText()); 1072 CSSIdentifierValue::create(computedStyle->display())->cssText());
1073 } 1073 }
1074 1074
1075 bool WebAXObject::accessibilityIsIgnored() const { 1075 bool WebAXObject::accessibilityIsIgnored() const {
1076 if (isDetached()) 1076 if (isDetached())
1077 return false; 1077 return false;
1078 1078
1079 return m_private->accessibilityIsIgnored(); 1079 return m_private->accessibilityIsIgnored();
1080 } 1080 }
1081 1081
1082 bool WebAXObject::lineBreaks(WebVector<int>& result) const { 1082 bool WebAXObject::lineBreaks(WebVector<int>& result) const {
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
1455 WebAXObject& WebAXObject::operator=(AXObject* object) { 1455 WebAXObject& WebAXObject::operator=(AXObject* object) {
1456 m_private = object; 1456 m_private = object;
1457 return *this; 1457 return *this;
1458 } 1458 }
1459 1459
1460 WebAXObject::operator AXObject*() const { 1460 WebAXObject::operator AXObject*() const {
1461 return m_private.get(); 1461 return m_private.get();
1462 } 1462 }
1463 1463
1464 } // namespace blink 1464 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698