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

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

Issue 1679703002: Revert of 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, 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/MediaValues.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0ef8607031cc3f178c5d66a8309e83f605263816..498d41ef4d65100a56e5641c970f3aec283426b1 100644
--- a/third_party/WebKit/Source/core/css/MediaValues.h
+++ b/third_party/WebKit/Source/core/css/MediaValues.h
@@ -59,22 +59,22 @@
virtual bool hasValues() const = 0;
protected:
- 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*);
+ 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 LocalFrame* frameFrom(Document&);
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/MediaValues.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698