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

Side by Side Diff: third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h

Issue 2813863003: Rewrite references to "wtf/" to "platform/wtf/" in core/css and core/style. (Closed)
Patch Set: Rebase. Created 3 years, 8 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) 2007 Alexey Proskuryakov <ap@nypop.com>. 2 * Copyright (C) 2007 Alexey Proskuryakov <ap@nypop.com>.
3 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
4 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. 4 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved.
5 * (http://www.torchmobile.com/) 5 * (http://www.torchmobile.com/)
6 * Copyright (C) 2009 Jeff Schiller <codedread@gmail.com> 6 * Copyright (C) 2009 Jeff Schiller <codedread@gmail.com>
7 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 7 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
8 * 8 *
9 * Redistribution and use in source and binary forms, with or without 9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions 10 * modification, are permitted provided that the following conditions
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #include "core/style/SVGComputedStyleDefs.h" 42 #include "core/style/SVGComputedStyleDefs.h"
43 #include "platform/Length.h" 43 #include "platform/Length.h"
44 #include "platform/ThemeTypes.h" 44 #include "platform/ThemeTypes.h"
45 #include "platform/fonts/FontDescription.h" 45 #include "platform/fonts/FontDescription.h"
46 #include "platform/fonts/FontSmoothingMode.h" 46 #include "platform/fonts/FontSmoothingMode.h"
47 #include "platform/fonts/TextRenderingMode.h" 47 #include "platform/fonts/TextRenderingMode.h"
48 #include "platform/graphics/GraphicsTypes.h" 48 #include "platform/graphics/GraphicsTypes.h"
49 #include "platform/scroll/ScrollableArea.h" 49 #include "platform/scroll/ScrollableArea.h"
50 #include "platform/text/TextRun.h" 50 #include "platform/text/TextRun.h"
51 #include "platform/text/WritingMode.h" 51 #include "platform/text/WritingMode.h"
52 #include "platform/wtf/MathExtras.h"
52 #include "public/platform/WebBlendMode.h" 53 #include "public/platform/WebBlendMode.h"
53 #include "wtf/MathExtras.h"
54 54
55 namespace blink { 55 namespace blink {
56 56
57 // TODO(sashab): Move these to CSSPrimitiveValue.h. 57 // TODO(sashab): Move these to CSSPrimitiveValue.h.
58 template <> 58 template <>
59 inline short CSSPrimitiveValue::ConvertTo() const { 59 inline short CSSPrimitiveValue::ConvertTo() const {
60 DCHECK(IsNumber()); 60 DCHECK(IsNumber());
61 return clampTo<short>(GetDoubleValue()); 61 return clampTo<short>(GetDoubleValue());
62 } 62 }
63 63
(...skipping 3345 matching lines...) Expand 10 before | Expand all | Expand 10 after
3409 default: 3409 default:
3410 break; 3410 break;
3411 } 3411 }
3412 NOTREACHED(); 3412 NOTREACHED();
3413 return kContainsNone; 3413 return kContainsNone;
3414 } 3414 }
3415 3415
3416 } // namespace blink 3416 } // namespace blink
3417 3417
3418 #endif 3418 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp ('k') | third_party/WebKit/Source/core/css/CSSProperty.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698