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

Side by Side Diff: Source/core/rendering/RenderThemeChromiumSkia.cpp

Issue 16415007: Cleanup usage of CSSPropertyID and CSSValueID inside Blink. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007 Apple Inc. 2 * Copyright (C) 2007 Apple Inc.
3 * Copyright (C) 2007 Alp Toker <alp@atoker.com> 3 * Copyright (C) 2007 Alp Toker <alp@atoker.com>
4 * Copyright (C) 2008 Collabora Ltd. 4 * Copyright (C) 2008 Collabora Ltd.
5 * Copyright (C) 2008, 2009 Google Inc. 5 * Copyright (C) 2008, 2009 Google Inc.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 double RenderThemeChromiumSkia::caretBlinkInterval() const 130 double RenderThemeChromiumSkia::caretBlinkInterval() const
131 { 131 {
132 // Disable the blinking caret in layout test mode, as it introduces 132 // Disable the blinking caret in layout test mode, as it introduces
133 // a race condition for the pixel tests. http://b/1198440 133 // a race condition for the pixel tests. http://b/1198440
134 if (isRunningLayoutTest()) 134 if (isRunningLayoutTest())
135 return 0; 135 return 0;
136 136
137 return caretBlinkIntervalInternal(); 137 return caretBlinkIntervalInternal();
138 } 138 }
139 139
140 void RenderThemeChromiumSkia::systemFont(int propId, FontDescription& fontDescri ption) const 140 void RenderThemeChromiumSkia::systemFont(CSSValueID valueID, FontDescription& fo ntDescription) const
141 { 141 {
142 RenderThemeChromiumFontProvider::systemFont(propId, fontDescription); 142 RenderThemeChromiumFontProvider::systemFont(valueID, fontDescription);
143 } 143 }
144 144
145 int RenderThemeChromiumSkia::minimumMenuListSize(RenderStyle* style) const 145 int RenderThemeChromiumSkia::minimumMenuListSize(RenderStyle* style) const
146 { 146 {
147 return 0; 147 return 0;
148 } 148 }
149 149
150 // These are the default dimensions of radio buttons and checkboxes. 150 // These are the default dimensions of radio buttons and checkboxes.
151 static const int widgetStandardWidth = 13; 151 static const int widgetStandardWidth = 13;
152 static const int widgetStandardHeight = 13; 152 static const int widgetStandardHeight = 13;
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 } 483 }
484 484
485 RenderThemeChromiumSkia::DirectionFlippingScope::~DirectionFlippingScope() 485 RenderThemeChromiumSkia::DirectionFlippingScope::~DirectionFlippingScope()
486 { 486 {
487 if (!m_needsFlipping) 487 if (!m_needsFlipping)
488 return; 488 return;
489 m_paintInfo.context->restore(); 489 m_paintInfo.context->restore();
490 } 490 }
491 491
492 } // namespace WebCore 492 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumSkia.h ('k') | Source/core/rendering/RenderThemeChromiumWin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698