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

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

Issue 853483003: Add support for 'display-mode' MQ defined in Manifest spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 5 years, 11 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/MediaValuesCached.cpp ('k') | Source/core/css/MediaValuesDynamic.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 MediaValuesDynamic_h 5 #ifndef MediaValuesDynamic_h
6 #define MediaValuesDynamic_h 6 #define MediaValuesDynamic_h
7 7
8 #include "core/css/MediaValues.h" 8 #include "core/css/MediaValues.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 16 matching lines...) Expand all
27 virtual float devicePixelRatio() const override; 27 virtual float devicePixelRatio() const override;
28 virtual int colorBitsPerComponent() const override; 28 virtual int colorBitsPerComponent() const override;
29 virtual int monochromeBitsPerComponent() const override; 29 virtual int monochromeBitsPerComponent() const override;
30 virtual PointerType primaryPointerType() const override; 30 virtual PointerType primaryPointerType() const override;
31 virtual int availablePointerTypes() const override; 31 virtual int availablePointerTypes() const override;
32 virtual HoverType primaryHoverType() const override; 32 virtual HoverType primaryHoverType() const override;
33 virtual int availableHoverTypes() const override; 33 virtual int availableHoverTypes() const override;
34 virtual bool threeDEnabled() const override; 34 virtual bool threeDEnabled() const override;
35 virtual bool strictMode() const override; 35 virtual bool strictMode() const override;
36 virtual const String mediaType() const override; 36 virtual const String mediaType() const override;
37 virtual DisplayMode displayMode() const override;
37 virtual Document* document() const override; 38 virtual Document* document() const override;
38 virtual bool hasValues() const override; 39 virtual bool hasValues() const override;
39 40
40 protected: 41 protected:
41 MediaValuesDynamic(LocalFrame*); 42 MediaValuesDynamic(LocalFrame*);
42 43
43 // This raw ptr is safe, as MediaValues would not outlive MediaQueryEvaluato r, and 44 // This raw ptr is safe, as MediaValues would not outlive MediaQueryEvaluato r, and
44 // MediaQueryEvaluator is reset on |Document::detach|. 45 // MediaQueryEvaluator is reset on |Document::detach|.
45 // FIXME: Oilpan: This raw ptr should be changed to a Member when LocalFrame is migrated to the heap. 46 // FIXME: Oilpan: This raw ptr should be changed to a Member when LocalFrame is migrated to the heap.
46 LocalFrame* m_frame; 47 LocalFrame* m_frame;
47 }; 48 };
48 49
49 } // namespace 50 } // namespace
50 51
51 #endif // MediaValuesDynamic_h 52 #endif // MediaValuesDynamic_h
OLDNEW
« no previous file with comments | « Source/core/css/MediaValuesCached.cpp ('k') | Source/core/css/MediaValuesDynamic.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698