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

Side by Side Diff: third_party/WebKit/Source/core/frame/PageScaleConstraintsSet.h

Issue 1412083007: Remove FastAllocBase.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 18 matching lines...) Expand all
29 */ 29 */
30 30
31 #ifndef PageScaleConstraintsSet_h 31 #ifndef PageScaleConstraintsSet_h
32 #define PageScaleConstraintsSet_h 32 #define PageScaleConstraintsSet_h
33 33
34 #include "core/CoreExport.h" 34 #include "core/CoreExport.h"
35 #include "core/dom/ViewportDescription.h" 35 #include "core/dom/ViewportDescription.h"
36 #include "core/frame/PageScaleConstraints.h" 36 #include "core/frame/PageScaleConstraints.h"
37 #include "platform/Length.h" 37 #include "platform/Length.h"
38 #include "platform/geometry/IntSize.h" 38 #include "platform/geometry/IntSize.h"
39 #include "wtf/FastAllocBase.h" 39 #include "wtf/Allocator.h"
40 #include "wtf/PassOwnPtr.h" 40 #include "wtf/PassOwnPtr.h"
41 41
42 namespace blink { 42 namespace blink {
43 43
44 // This class harmonizes the viewport (particularly page scale) constraints from 44 // This class harmonizes the viewport (particularly page scale) constraints from
45 // the meta viewport tag and other sources. 45 // the meta viewport tag and other sources.
46 class CORE_EXPORT PageScaleConstraintsSet { 46 class CORE_EXPORT PageScaleConstraintsSet {
47 WTF_MAKE_FAST_ALLOCATED(PageScaleConstraintsSet); 47 WTF_MAKE_FAST_ALLOCATED(PageScaleConstraintsSet);
48 public: 48 public:
49 static PassOwnPtr<PageScaleConstraintsSet> create() 49 static PassOwnPtr<PageScaleConstraintsSet> create()
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 int m_lastContentsWidth; 105 int m_lastContentsWidth;
106 IntSize m_viewSize; 106 IntSize m_viewSize;
107 107
108 bool m_needsReset; 108 bool m_needsReset;
109 bool m_constraintsDirty; 109 bool m_constraintsDirty;
110 }; 110 };
111 111
112 } // namespace blink 112 } // namespace blink
113 113
114 #endif // PageScaleConstraintsSet_h 114 #endif // PageScaleConstraintsSet_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameViewAutoSizeInfo.h ('k') | third_party/WebKit/Source/core/frame/csp/CSPSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698