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

Side by Side Diff: third_party/WebKit/Source/core/style/ComputedStyle.h

Issue 1468913002: Find In Page hides the text when text color matches text search hightlight color. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updating test case expectations Created 5 years 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) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.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 20 matching lines...) Expand all
31 #include "core/animation/css/CSSTransitionData.h" 31 #include "core/animation/css/CSSTransitionData.h"
32 #include "core/css/CSSPrimitiveValue.h" 32 #include "core/css/CSSPrimitiveValue.h"
33 #include "core/style/BorderValue.h" 33 #include "core/style/BorderValue.h"
34 #include "core/style/CounterDirectives.h" 34 #include "core/style/CounterDirectives.h"
35 #include "core/style/DataRef.h" 35 #include "core/style/DataRef.h"
36 #include "core/style/ComputedStyleConstants.h" 36 #include "core/style/ComputedStyleConstants.h"
37 #include "core/style/LineClampValue.h" 37 #include "core/style/LineClampValue.h"
38 #include "core/style/NinePieceImage.h" 38 #include "core/style/NinePieceImage.h"
39 #include "core/style/OutlineValue.h" 39 #include "core/style/OutlineValue.h"
40 #include "core/style/SVGComputedStyle.h" 40 #include "core/style/SVGComputedStyle.h"
41 #include "core/style/SVGComputedStyleDefs.h"
41 #include "core/style/ShapeValue.h" 42 #include "core/style/ShapeValue.h"
42 #include "core/style/StyleBackgroundData.h" 43 #include "core/style/StyleBackgroundData.h"
43 #include "core/style/StyleBoxData.h" 44 #include "core/style/StyleBoxData.h"
44 #include "core/style/StyleContentAlignmentData.h" 45 #include "core/style/StyleContentAlignmentData.h"
45 #include "core/style/StyleDeprecatedFlexibleBoxData.h" 46 #include "core/style/StyleDeprecatedFlexibleBoxData.h"
46 #include "core/style/StyleDifference.h" 47 #include "core/style/StyleDifference.h"
47 #include "core/style/StyleFilterData.h" 48 #include "core/style/StyleFilterData.h"
48 #include "core/style/StyleFlexibleBoxData.h" 49 #include "core/style/StyleFlexibleBoxData.h"
49 #include "core/style/StyleGridData.h" 50 #include "core/style/StyleGridData.h"
50 #include "core/style/StyleGridItemData.h" 51 #include "core/style/StyleGridItemData.h"
(...skipping 1417 matching lines...) Expand 10 before | Expand all | Expand 10 after
1468 void setSubtreeWillChangeContents(bool b) { SET_VAR(rareInheritedData, m_sub treeWillChangeContents, b); } 1469 void setSubtreeWillChangeContents(bool b) { SET_VAR(rareInheritedData, m_sub treeWillChangeContents, b); }
1469 1470
1470 bool requiresAcceleratedCompositingForExternalReasons(bool b) { return rareN onInheritedData->m_requiresAcceleratedCompositingForExternalReasons; } 1471 bool requiresAcceleratedCompositingForExternalReasons(bool b) { return rareN onInheritedData->m_requiresAcceleratedCompositingForExternalReasons; }
1471 void setRequiresAcceleratedCompositingForExternalReasons(bool b) { SET_VAR(r areNonInheritedData, m_requiresAcceleratedCompositingForExternalReasons, b); } 1472 void setRequiresAcceleratedCompositingForExternalReasons(bool b) { SET_VAR(r areNonInheritedData, m_requiresAcceleratedCompositingForExternalReasons, b); }
1472 1473
1473 const SVGComputedStyle& svgStyle() const { return *m_svgStyle.get(); } 1474 const SVGComputedStyle& svgStyle() const { return *m_svgStyle.get(); }
1474 SVGComputedStyle& accessSVGStyle() { return *m_svgStyle.access(); } 1475 SVGComputedStyle& accessSVGStyle() { return *m_svgStyle.access(); }
1475 1476
1476 const SVGPaintType& fillPaintType() const { return svgStyle().fillPaintType( ); } 1477 const SVGPaintType& fillPaintType() const { return svgStyle().fillPaintType( ); }
1477 Color fillPaintColor() const { return svgStyle().fillPaintColor(); } 1478 Color fillPaintColor() const { return svgStyle().fillPaintColor(); }
1479 void setFillPaintColor(const Color& c) { accessSVGStyle().setFillPaint(SVGPa intType::SVG_PAINTTYPE_RGBCOLOR, c, ""); }
1478 float fillOpacity() const { return svgStyle().fillOpacity(); } 1480 float fillOpacity() const { return svgStyle().fillOpacity(); }
1479 void setFillOpacity(float f) { accessSVGStyle().setFillOpacity(f); } 1481 void setFillOpacity(float f) { accessSVGStyle().setFillOpacity(f); }
1480 1482
1481 const SVGPaintType& strokePaintType() const { return svgStyle().strokePaintT ype(); } 1483 const SVGPaintType& strokePaintType() const { return svgStyle().strokePaintT ype(); }
1482 Color strokePaintColor() const { return svgStyle().strokePaintColor(); } 1484 Color strokePaintColor() const { return svgStyle().strokePaintColor(); }
1483 float strokeOpacity() const { return svgStyle().strokeOpacity(); } 1485 float strokeOpacity() const { return svgStyle().strokeOpacity(); }
1484 void setStrokeOpacity(float f) { accessSVGStyle().setStrokeOpacity(f); } 1486 void setStrokeOpacity(float f) { accessSVGStyle().setStrokeOpacity(f); }
1485 const UnzoomedLength& strokeWidth() const { return svgStyle().strokeWidth(); } 1487 const UnzoomedLength& strokeWidth() const { return svgStyle().strokeWidth(); }
1486 void setStrokeWidth(const UnzoomedLength& w) { accessSVGStyle().setStrokeWid th(w); } 1488 void setStrokeWidth(const UnzoomedLength& w) { accessSVGStyle().setStrokeWid th(w); }
1487 SVGDashArray* strokeDashArray() const { return svgStyle().strokeDashArray(); } 1489 SVGDashArray* strokeDashArray() const { return svgStyle().strokeDashArray(); }
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
1996 } 1998 }
1997 1999
1998 inline bool ComputedStyle::hasPseudoElementStyle() const 2000 inline bool ComputedStyle::hasPseudoElementStyle() const
1999 { 2001 {
2000 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; 2002 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK;
2001 } 2003 }
2002 2004
2003 } // namespace blink 2005 } // namespace blink
2004 2006
2005 #endif // ComputedStyle_h 2007 #endif // ComputedStyle_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698