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

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

Issue 2547053003: s/ passed(...) / WTF::passed(...) / to avoid future ambiguity w/ base::Passed. (Closed)
Patch Set: Rebasing... Created 4 years 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 namespace blink { 43 namespace blink {
44 44
45 // This class harmonizes the viewport (particularly page scale) constraints from 45 // This class harmonizes the viewport (particularly page scale) constraints from
46 // the meta viewport tag and other sources. 46 // the meta viewport tag and other sources.
47 class CORE_EXPORT PageScaleConstraintsSet { 47 class CORE_EXPORT PageScaleConstraintsSet {
48 USING_FAST_MALLOC(PageScaleConstraintsSet); 48 USING_FAST_MALLOC(PageScaleConstraintsSet);
49 49
50 public: 50 public:
51 static std::unique_ptr<PageScaleConstraintsSet> create() { 51 static std::unique_ptr<PageScaleConstraintsSet> create() {
52 return wrapUnique(new PageScaleConstraintsSet); 52 return WTF::wrapUnique(new PageScaleConstraintsSet);
53 } 53 }
54 54
55 void setDefaultConstraints(const PageScaleConstraints&); 55 void setDefaultConstraints(const PageScaleConstraints&);
56 const PageScaleConstraints& defaultConstraints() const; 56 const PageScaleConstraints& defaultConstraints() const;
57 57
58 // Settings defined in the website's viewport tag, if viewport tag support 58 // Settings defined in the website's viewport tag, if viewport tag support
59 // is enabled. 59 // is enabled.
60 const PageScaleConstraints& pageDefinedConstraints() const { 60 const PageScaleConstraints& pageDefinedConstraints() const {
61 return m_pageDefinedConstraints; 61 return m_pageDefinedConstraints;
62 } 62 }
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 int m_lastContentsWidth; 123 int m_lastContentsWidth;
124 IntSize m_icbSize; 124 IntSize m_icbSize;
125 125
126 bool m_needsReset; 126 bool m_needsReset;
127 bool m_constraintsDirty; 127 bool m_constraintsDirty;
128 }; 128 };
129 129
130 } // namespace blink 130 } // namespace blink
131 131
132 #endif // PageScaleConstraintsSet_h 132 #endif // PageScaleConstraintsSet_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrame.cpp ('k') | third_party/WebKit/Source/core/frame/Settings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698