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

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

Issue 236713005: Use SizesAttributeParser to get the right srcset resource (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@sizes_parser8
Patch Set: Added preloder and JS tests. Fixed bugs; Created 6 years, 8 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 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 WebCore { 10 namespace WebCore {
(...skipping 15 matching lines...) Expand all
26 virtual int colorBitsPerComponent() const OVERRIDE; 26 virtual int colorBitsPerComponent() const OVERRIDE;
27 virtual int monochromeBitsPerComponent() const OVERRIDE; 27 virtual int monochromeBitsPerComponent() const OVERRIDE;
28 virtual PointerDeviceType pointer() const OVERRIDE; 28 virtual PointerDeviceType pointer() const OVERRIDE;
29 virtual bool threeDEnabled() const OVERRIDE; 29 virtual bool threeDEnabled() const OVERRIDE;
30 virtual bool scanMediaType() const OVERRIDE; 30 virtual bool scanMediaType() const OVERRIDE;
31 virtual bool screenMediaType() const OVERRIDE; 31 virtual bool screenMediaType() const OVERRIDE;
32 virtual bool printMediaType() const OVERRIDE; 32 virtual bool printMediaType() const OVERRIDE;
33 virtual bool strictMode() const OVERRIDE; 33 virtual bool strictMode() const OVERRIDE;
34 virtual Document* document() const OVERRIDE; 34 virtual Document* document() const OVERRIDE;
35 virtual bool hasValues() const OVERRIDE; 35 virtual bool hasValues() const OVERRIDE;
36
eseidel 2014/04/20 21:27:43 Spurious.
37 protected: 36 protected:
38 MediaValuesDynamic(PassRefPtr<LocalFrame>); 37 MediaValuesDynamic(PassRefPtr<LocalFrame>);
39 38
40 RefPtr<LocalFrame> m_frame; 39 RefPtr<LocalFrame> m_frame;
41 }; 40 };
42 41
43 } // namespace 42 } // namespace
44 43
45 #endif // MediaValuesDynamic_h 44 #endif // MediaValuesDynamic_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698