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

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

Issue 23038013: [Android WebView] Avoid expanding layout width to match the old WebView (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed aelias' comments Created 7 years, 3 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/css/CSSParserMode.h ('k') | Source/web/WebSettingsImpl.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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 struct ViewportArguments { 48 struct ViewportArguments {
49 49
50 enum Type { 50 enum Type {
51 // These are ordered in increasing importance. 51 // These are ordered in increasing importance.
52 Implicit, 52 Implicit,
53 XHTMLMobileProfile, 53 XHTMLMobileProfile,
54 HandheldFriendlyMeta, 54 HandheldFriendlyMeta,
55 MobileOptimizedMeta, 55 MobileOptimizedMeta,
56 ViewportMeta, 56 ViewportMeta,
57 ViewportMetaLayoutSizeQuirk,
57 CSSDeviceAdaptation 58 CSSDeviceAdaptation
58 } type; 59 } type;
59 60
60 enum { 61 enum {
61 ValueAuto = -1, 62 ValueAuto = -1,
62 ValueDeviceWidth = -2, 63 ValueDeviceWidth = -2,
63 ValueDeviceHeight = -3, 64 ValueDeviceHeight = -3,
64 ValuePortrait = -4, 65 ValuePortrait = -4,
65 ValueLandscape = -5, 66 ValueLandscape = -5,
66 ValueDeviceDPI = -6, 67 ValueDeviceDPI = -6,
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 return !(*this == other); 127 return !(*this == other);
127 } 128 }
128 }; 129 };
129 130
130 void setViewportFeature(const String& keyString, const String& valueString, Docu ment*, void* data); 131 void setViewportFeature(const String& keyString, const String& valueString, Docu ment*, void* data);
131 void reportViewportWarning(Document*, ViewportErrorCode, const String& replaceme nt1, const String& replacement2); 132 void reportViewportWarning(Document*, ViewportErrorCode, const String& replaceme nt1, const String& replacement2);
132 133
133 } // namespace WebCore 134 } // namespace WebCore
134 135
135 #endif // ViewportArguments_h 136 #endif // ViewportArguments_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSParserMode.h ('k') | Source/web/WebSettingsImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698