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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 // 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 , primaryHoverType(HoverTypeNone) 45 , primaryHoverType(HoverTypeNone)
46 , availableHoverTypes(HoverTypeNone) 46 , availableHoverTypes(HoverTypeNone)
47 , defaultFontSize(16) 47 , defaultFontSize(16)
48 , threeDEnabled(false) 48 , threeDEnabled(false)
49 , strictMode(true) 49 , strictMode(true)
50 , displayMode(WebDisplayModeBrowser) 50 , displayMode(WebDisplayModeBrowser)
51 { 51 {
52 } 52 }
53 }; 53 };
54 54
55 static PassRefPtrWillBeRawPtr<MediaValuesCached> create(); 55 static RawPtr<MediaValuesCached> create();
56 static PassRefPtrWillBeRawPtr<MediaValuesCached> create(Document&); 56 static RawPtr<MediaValuesCached> create(Document&);
57 static PassRefPtrWillBeRawPtr<MediaValuesCached> create(LocalFrame*); 57 static RawPtr<MediaValuesCached> create(LocalFrame*);
58 static PassRefPtrWillBeRawPtr<MediaValuesCached> create(MediaValuesCachedDat a&); 58 static RawPtr<MediaValuesCached> create(MediaValuesCachedData&);
59 PassRefPtrWillBeRawPtr<MediaValues> copy() const override; 59 RawPtr<MediaValues> copy() const override;
60 bool isSafeToSendToAnotherThread() const; 60 bool isSafeToSendToAnotherThread() const;
61 bool computeLength(double value, CSSPrimitiveValue::UnitType, int& result) c onst override; 61 bool computeLength(double value, CSSPrimitiveValue::UnitType, int& result) c onst override;
62 bool computeLength(double value, CSSPrimitiveValue::UnitType, double& result ) const override; 62 bool computeLength(double value, CSSPrimitiveValue::UnitType, double& result ) const override;
63 63
64 double viewportWidth() const override; 64 double viewportWidth() const override;
65 double viewportHeight() const override; 65 double viewportHeight() const override;
66 int deviceWidth() const override; 66 int deviceWidth() const override;
67 int deviceHeight() const override; 67 int deviceHeight() const override;
68 float devicePixelRatio() const override; 68 float devicePixelRatio() const override;
69 int colorBitsPerComponent() const override; 69 int colorBitsPerComponent() const override;
(...skipping 16 matching lines...) Expand all
86 MediaValuesCached(); 86 MediaValuesCached();
87 MediaValuesCached(LocalFrame*); 87 MediaValuesCached(LocalFrame*);
88 MediaValuesCached(const MediaValuesCachedData&); 88 MediaValuesCached(const MediaValuesCachedData&);
89 89
90 MediaValuesCachedData m_data; 90 MediaValuesCachedData m_data;
91 }; 91 };
92 92
93 } // namespace blink 93 } // namespace blink
94 94
95 #endif // MediaValuesCached_h 95 #endif // MediaValuesCached_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698