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

Side by Side Diff: Source/core/dom/ViewportArguments.h

Issue 25494003: Move geometry classes from core/platform/graphics to platform/geometry (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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
« no previous file with comments | « Source/core/dom/Touch.h ('k') | Source/core/editing/Caret.h » ('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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
7 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 7 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2012-2013 Intel Corporation. All rights reserved. 9 * Copyright (C) 2012-2013 Intel Corporation. All rights reserved.
10 * 10 *
(...skipping 12 matching lines...) Expand all
23 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 23 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
24 * Boston, MA 02110-1301, USA. 24 * Boston, MA 02110-1301, USA.
25 * 25 *
26 */ 26 */
27 27
28 #ifndef ViewportArguments_h 28 #ifndef ViewportArguments_h
29 #define ViewportArguments_h 29 #define ViewportArguments_h
30 30
31 #include "core/page/PageScaleConstraints.h" 31 #include "core/page/PageScaleConstraints.h"
32 #include "core/platform/Length.h" 32 #include "core/platform/Length.h"
33 #include "core/platform/graphics/FloatSize.h" 33 #include "platform/geometry/FloatSize.h"
34 #include "wtf/Forward.h" 34 #include "wtf/Forward.h"
35 35
36 namespace WebCore { 36 namespace WebCore {
37 37
38 class Document; 38 class Document;
39 39
40 enum ViewportErrorCode { 40 enum ViewportErrorCode {
41 UnrecognizedViewportArgumentKeyError, 41 UnrecognizedViewportArgumentKeyError,
42 UnrecognizedViewportArgumentValueError, 42 UnrecognizedViewportArgumentValueError,
43 TruncatedViewportArgumentValueError, 43 TruncatedViewportArgumentValueError,
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 enum Direction { Horizontal, Vertical }; 121 enum Direction { Horizontal, Vertical };
122 static float resolveViewportLength(const Length&, const FloatSize& initialVi ewportSize, Direction); 122 static float resolveViewportLength(const Length&, const FloatSize& initialVi ewportSize, Direction);
123 }; 123 };
124 124
125 void setViewportFeature(const String& keyString, const String& valueString, Docu ment*, void* data); 125 void setViewportFeature(const String& keyString, const String& valueString, Docu ment*, void* data);
126 void reportViewportWarning(Document*, ViewportErrorCode, const String& replaceme nt1, const String& replacement2); 126 void reportViewportWarning(Document*, ViewportErrorCode, const String& replaceme nt1, const String& replacement2);
127 127
128 } // namespace WebCore 128 } // namespace WebCore
129 129
130 #endif // ViewportArguments_h 130 #endif // ViewportArguments_h
OLDNEW
« no previous file with comments | « Source/core/dom/Touch.h ('k') | Source/core/editing/Caret.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698