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

Unified Diff: third_party/WebKit/Source/core/css/MediaValues.h

Issue 1641853003: Create MediaValuesCached and TokenPreloadScanner on the parser thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@TRV_MediaValuesCached
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/MediaValues.h
diff --git a/third_party/WebKit/Source/core/css/MediaValues.h b/third_party/WebKit/Source/core/css/MediaValues.h
index 498d41ef4d65100a56e5641c970f3aec283426b1..0ef8607031cc3f178c5d66a8309e83f605263816 100644
--- a/third_party/WebKit/Source/core/css/MediaValues.h
+++ b/third_party/WebKit/Source/core/css/MediaValues.h
@@ -59,22 +59,22 @@ public:
virtual bool hasValues() const = 0;
protected:
- double calculateViewportWidth(LocalFrame*) const;
- double calculateViewportHeight(LocalFrame*) const;
- int calculateDeviceWidth(LocalFrame*) const;
- int calculateDeviceHeight(LocalFrame*) const;
- bool calculateStrictMode(LocalFrame*) const;
- float calculateDevicePixelRatio(LocalFrame*) const;
- int calculateColorBitsPerComponent(LocalFrame*) const;
- int calculateMonochromeBitsPerComponent(LocalFrame*) const;
- int calculateDefaultFontSize(LocalFrame*) const;
- const String calculateMediaType(LocalFrame*) const;
- WebDisplayMode calculateDisplayMode(LocalFrame*) const;
- bool calculateThreeDEnabled(LocalFrame*) const;
- PointerType calculatePrimaryPointerType(LocalFrame*) const;
- int calculateAvailablePointerTypes(LocalFrame*) const;
- HoverType calculatePrimaryHoverType(LocalFrame*) const;
- int calculateAvailableHoverTypes(LocalFrame*) const;
+ static double calculateViewportWidth(LocalFrame*);
+ static double calculateViewportHeight(LocalFrame*);
+ static int calculateDeviceWidth(LocalFrame*);
+ static int calculateDeviceHeight(LocalFrame*);
+ static bool calculateStrictMode(LocalFrame*);
+ static float calculateDevicePixelRatio(LocalFrame*);
+ static int calculateColorBitsPerComponent(LocalFrame*);
+ static int calculateMonochromeBitsPerComponent(LocalFrame*);
+ static int calculateDefaultFontSize(LocalFrame*);
+ static const String calculateMediaType(LocalFrame*);
+ static WebDisplayMode calculateDisplayMode(LocalFrame*);
+ static bool calculateThreeDEnabled(LocalFrame*);
+ static PointerType calculatePrimaryPointerType(LocalFrame*);
+ static int calculateAvailablePointerTypes(LocalFrame*);
+ static HoverType calculatePrimaryHoverType(LocalFrame*);
+ static int calculateAvailableHoverTypes(LocalFrame*);
static LocalFrame* frameFrom(Document&);
};

Powered by Google App Engine
This is Rietveld 408576698