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

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

Issue 1225553002: CSSValue Immediates: Make CSSPrimitiveValue a container (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@cssvalue_patch_1
Patch Set: Rebase Created 5 years, 4 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 | « Source/web/PluginPlaceholderImplTest.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 1180 matching lines...) Expand 10 before | Expand all | Expand 10 after
1191 document->updateLayoutTreeIfNeeded(); 1191 document->updateLayoutTreeIfNeeded();
1192 1192
1193 Node* node = m_private->node(); 1193 Node* node = m_private->node();
1194 if (!node) 1194 if (!node)
1195 return WebString(); 1195 return WebString();
1196 1196
1197 const ComputedStyle* computedStyle = node->ensureComputedStyle(); 1197 const ComputedStyle* computedStyle = node->ensureComputedStyle();
1198 if (!computedStyle) 1198 if (!computedStyle)
1199 return WebString(); 1199 return WebString();
1200 1200
1201 return WebString(CSSPrimitiveValue::create(computedStyle->display())->getStr ingValue()); 1201 return WebString(CSSPrimitiveValue::create(computedStyle->display()).getStri ngValue());
1202 } 1202 }
1203 1203
1204 bool WebAXObject::accessibilityIsIgnored() const 1204 bool WebAXObject::accessibilityIsIgnored() const
1205 { 1205 {
1206 if (isDetached()) 1206 if (isDetached())
1207 return false; 1207 return false;
1208 1208
1209 return m_private->accessibilityIsIgnored(); 1209 return m_private->accessibilityIsIgnored();
1210 } 1210 }
1211 1211
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
1570 m_private = object; 1570 m_private = object;
1571 return *this; 1571 return *this;
1572 } 1572 }
1573 1573
1574 WebAXObject::operator PassRefPtrWillBeRawPtr<AXObject>() const 1574 WebAXObject::operator PassRefPtrWillBeRawPtr<AXObject>() const
1575 { 1575 {
1576 return m_private.get(); 1576 return m_private.get();
1577 } 1577 }
1578 1578
1579 } // namespace blink 1579 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/PluginPlaceholderImplTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698