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

Side by Side Diff: Source/core/rendering/style/StyleRareNonInheritedData.cpp

Issue 18371008: Add a WebDocument::watchCssSelectors(selectors) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@pinned
Patch Set: Add a test for watching dynamic attribute changes Created 7 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 && m_clipPath == o.m_clipPath 188 && m_clipPath == o.m_clipPath
189 && m_textDecorationColor == o.m_textDecorationColor 189 && m_textDecorationColor == o.m_textDecorationColor
190 && m_visitedLinkTextDecorationColor == o.m_visitedLinkTextDecorationColo r 190 && m_visitedLinkTextDecorationColor == o.m_visitedLinkTextDecorationColo r
191 && m_visitedLinkBackgroundColor == o.m_visitedLinkBackgroundColor 191 && m_visitedLinkBackgroundColor == o.m_visitedLinkBackgroundColor
192 && m_visitedLinkOutlineColor == o.m_visitedLinkOutlineColor 192 && m_visitedLinkOutlineColor == o.m_visitedLinkOutlineColor
193 && m_visitedLinkBorderLeftColor == o.m_visitedLinkBorderLeftColor 193 && m_visitedLinkBorderLeftColor == o.m_visitedLinkBorderLeftColor
194 && m_visitedLinkBorderRightColor == o.m_visitedLinkBorderRightColor 194 && m_visitedLinkBorderRightColor == o.m_visitedLinkBorderRightColor
195 && m_visitedLinkBorderTopColor == o.m_visitedLinkBorderTopColor 195 && m_visitedLinkBorderTopColor == o.m_visitedLinkBorderTopColor
196 && m_visitedLinkBorderBottomColor == o.m_visitedLinkBorderBottomColor 196 && m_visitedLinkBorderBottomColor == o.m_visitedLinkBorderBottomColor
197 && m_order == o.m_order 197 && m_order == o.m_order
198 && m_callbackSelectors == o.m_callbackSelectors
198 && m_flowThread == o.m_flowThread 199 && m_flowThread == o.m_flowThread
199 && m_regionThread == o.m_regionThread 200 && m_regionThread == o.m_regionThread
200 && m_regionFragment == o.m_regionFragment 201 && m_regionFragment == o.m_regionFragment
201 && m_regionBreakAfter == o.m_regionBreakAfter 202 && m_regionBreakAfter == o.m_regionBreakAfter
202 && m_regionBreakBefore == o.m_regionBreakBefore 203 && m_regionBreakBefore == o.m_regionBreakBefore
203 && m_regionBreakInside == o.m_regionBreakInside 204 && m_regionBreakInside == o.m_regionBreakInside
204 && m_pageSizeType == o.m_pageSizeType 205 && m_pageSizeType == o.m_pageSizeType
205 && m_transformStyle3D == o.m_transformStyle3D 206 && m_transformStyle3D == o.m_transformStyle3D
206 && m_backfaceVisibility == o.m_backfaceVisibility 207 && m_backfaceVisibility == o.m_backfaceVisibility
207 && m_alignContent == o.m_alignContent 208 && m_alignContent == o.m_alignContent
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 bool StyleRareNonInheritedData::transitionDataEquivalent(const StyleRareNonInher itedData& o) const 280 bool StyleRareNonInheritedData::transitionDataEquivalent(const StyleRareNonInher itedData& o) const
280 { 281 {
281 if ((!m_transitions && o.m_transitions) || (m_transitions && !o.m_transition s)) 282 if ((!m_transitions && o.m_transitions) || (m_transitions && !o.m_transition s))
282 return false; 283 return false;
283 if (m_transitions && o.m_transitions && (*m_transitions != *o.m_transitions) ) 284 if (m_transitions && o.m_transitions && (*m_transitions != *o.m_transitions) )
284 return false; 285 return false;
285 return true; 286 return true;
286 } 287 }
287 288
288 } // namespace WebCore 289 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/style/StyleRareNonInheritedData.h ('k') | Source/web/FrameLoaderClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698