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

Side by Side Diff: Source/core/css/MediaValuesCached.h

Issue 1104103002: Add <meta viewport> support to the preloader (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: moved CachedDocumentParameters constructor to private Created 5 years, 7 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/css/MediaValues.h ('k') | Source/core/css/MediaValuesCached.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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MediaValuesCached_h 5 #ifndef MediaValuesCached_h
6 #define MediaValuesCached_h 6 #define MediaValuesCached_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/css/MediaValues.h" 9 #include "core/css/MediaValues.h"
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 virtual int availablePointerTypes() const override; 71 virtual int availablePointerTypes() const override;
72 virtual HoverType primaryHoverType() const override; 72 virtual HoverType primaryHoverType() const override;
73 virtual int availableHoverTypes() const override; 73 virtual int availableHoverTypes() const override;
74 virtual bool threeDEnabled() const override; 74 virtual bool threeDEnabled() const override;
75 virtual bool strictMode() const override; 75 virtual bool strictMode() const override;
76 virtual Document* document() const override; 76 virtual Document* document() const override;
77 virtual bool hasValues() const override; 77 virtual bool hasValues() const override;
78 virtual const String mediaType() const override; 78 virtual const String mediaType() const override;
79 virtual WebDisplayMode displayMode() const override; 79 virtual WebDisplayMode displayMode() const override;
80 80
81 void setViewportWidth(int);
82 void setViewportHeight(int);
83
84 virtual bool isCached() const override { return true; }
81 protected: 85 protected:
82 MediaValuesCached(); 86 MediaValuesCached();
83 MediaValuesCached(LocalFrame*); 87 MediaValuesCached(LocalFrame*);
84 MediaValuesCached(const MediaValuesCachedData&); 88 MediaValuesCached(const MediaValuesCachedData&);
85 89
86 MediaValuesCachedData m_data; 90 MediaValuesCachedData m_data;
87 }; 91 };
88 92
89 } // namespace 93 } // namespace
90 94
91 #endif // MediaValuesCached_h 95 #endif // MediaValuesCached_h
OLDNEW
« no previous file with comments | « Source/core/css/MediaValues.h ('k') | Source/core/css/MediaValuesCached.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698