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

Side by Side Diff: Source/core/page/Page.h

Issue 1277583003: Restore scale even if scroll is not restored (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Improve readability Created 5 years, 4 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 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserv ed.
3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 bool tabKeyCyclesThroughElements() const { return m_tabKeyCyclesThroughEleme nts; } 153 bool tabKeyCyclesThroughElements() const { return m_tabKeyCyclesThroughEleme nts; }
154 154
155 void unmarkAllTextMatches(); 155 void unmarkAllTextMatches();
156 156
157 // DefersLoading is used to delay loads during modal dialogs. 157 // DefersLoading is used to delay loads during modal dialogs.
158 // Modal dialogs are supposed to freeze all background processes 158 // Modal dialogs are supposed to freeze all background processes
159 // in the page, including prevent additional loads from staring/continuing. 159 // in the page, including prevent additional loads from staring/continuing.
160 void setDefersLoading(bool); 160 void setDefersLoading(bool);
161 bool defersLoading() const { return m_defersLoading; } 161 bool defersLoading() const { return m_defersLoading; }
162 162
163 void setPageScaleFactor(float scale, const IntPoint& origin); 163 void setPageScaleFactor(float);
164 float pageScaleFactor() const; 164 float pageScaleFactor() const;
165 165
166 float deviceScaleFactor() const { return m_deviceScaleFactor; } 166 float deviceScaleFactor() const { return m_deviceScaleFactor; }
167 void setDeviceScaleFactor(float); 167 void setDeviceScaleFactor(float);
168 void setDeviceColorProfile(const Vector<char>&); 168 void setDeviceColorProfile(const Vector<char>&);
169 void resetDeviceColorProfile(); 169 void resetDeviceColorProfile();
170 170
171 static void allVisitedStateChanged(); 171 static void allVisitedStateChanged();
172 static void visitedStateChanged(LinkHash visitedHash); 172 static void visitedStateChanged(LinkHash visitedHash);
173 173
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 // A pointer to all the interfaces provided to in-process Frames for this Pa ge. 267 // A pointer to all the interfaces provided to in-process Frames for this Pa ge.
268 // FIXME: Most of the members of Page should move onto FrameHost. 268 // FIXME: Most of the members of Page should move onto FrameHost.
269 OwnPtrWillBeMember<FrameHost> m_frameHost; 269 OwnPtrWillBeMember<FrameHost> m_frameHost;
270 }; 270 };
271 271
272 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; 272 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>;
273 273
274 } // namespace blink 274 } // namespace blink
275 275
276 #endif // Page_h 276 #endif // Page_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698