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

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

Issue 339333002: Removing using declarations that import names in the C++ Standard library. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing mac error Created 6 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
« no previous file with comments | « Source/core/rendering/RenderPart.cpp ('k') | Source/core/rendering/RenderRegion.cpp » ('j') | 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) 2010 Nokia Corporation and/or its subsidiary(-ies). 2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details. 12 * Library General Public License for more details.
13 * 13 *
14 * You should have received a copy of the GNU Library General Public License 14 * You should have received a copy of the GNU Library General Public License
15 * along with this library; see the file COPYING.LIB. If not, write to 15 * along with this library; see the file COPYING.LIB. If not, write to
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA. 17 * Boston, MA 02110-1301, USA.
18 * 18 *
19 */ 19 */
20 20
21 #include "config.h" 21 #include "config.h"
22 22
23 #include "core/rendering/RenderProgress.h" 23 #include "core/rendering/RenderProgress.h"
24 24
25 #include "core/html/HTMLProgressElement.h" 25 #include "core/html/HTMLProgressElement.h"
26 #include "core/rendering/RenderTheme.h" 26 #include "core/rendering/RenderTheme.h"
27 #include "wtf/CurrentTime.h" 27 #include "wtf/CurrentTime.h"
28 #include "wtf/RefPtr.h" 28 #include "wtf/RefPtr.h"
29 29
30 using namespace std;
31
32 namespace WebCore { 30 namespace WebCore {
33 31
34 RenderProgress::RenderProgress(HTMLElement* element) 32 RenderProgress::RenderProgress(HTMLElement* element)
35 : RenderBlockFlow(element) 33 : RenderBlockFlow(element)
36 , m_position(HTMLProgressElement::InvalidPosition) 34 , m_position(HTMLProgressElement::InvalidPosition)
37 , m_animationStartTime(0) 35 , m_animationStartTime(0)
38 , m_animationRepeatInterval(0) 36 , m_animationRepeatInterval(0)
39 , m_animationDuration(0) 37 , m_animationDuration(0)
40 , m_animating(false) 38 , m_animating(false)
41 , m_animationTimer(this, &RenderProgress::animationTimerFired) 39 , m_animationTimer(this, &RenderProgress::animationTimerFired)
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 return 0; 97 return 0;
100 98
101 if (isHTMLProgressElement(*node())) 99 if (isHTMLProgressElement(*node()))
102 return toHTMLProgressElement(node()); 100 return toHTMLProgressElement(node());
103 101
104 ASSERT(node()->shadowHost()); 102 ASSERT(node()->shadowHost());
105 return toHTMLProgressElement(node()->shadowHost()); 103 return toHTMLProgressElement(node()->shadowHost());
106 } 104 }
107 105
108 } // namespace WebCore 106 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderPart.cpp ('k') | Source/core/rendering/RenderRegion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698