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

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

Issue 2722773002: Moved FrameHost::setDefaultPageScaleLimits/UserAgentPageScaleConstraints (Closed)
Patch Set: Rebase Created 3 years, 9 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 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights
3 * reserved. 3 * reserved.
4 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. 4 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved.
5 * (http://www.torchmobile.com/) 5 * (http://www.torchmobile.com/)
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 class ClientRectList; 51 class ClientRectList;
52 class ContextMenuClient; 52 class ContextMenuClient;
53 class ContextMenuController; 53 class ContextMenuController;
54 class Document; 54 class Document;
55 class DragCaret; 55 class DragCaret;
56 class DragController; 56 class DragController;
57 class EditorClient; 57 class EditorClient;
58 class FocusController; 58 class FocusController;
59 class Frame; 59 class Frame;
60 class FrameHost; 60 class FrameHost;
61 struct PageScaleConstraints;
61 class PageScaleConstraintsSet; 62 class PageScaleConstraintsSet;
62 class PluginData; 63 class PluginData;
63 class PointerLockController; 64 class PointerLockController;
64 class ScopedPageSuspender; 65 class ScopedPageSuspender;
65 class ScrollingCoordinator; 66 class ScrollingCoordinator;
66 class Settings; 67 class Settings;
67 class SpellCheckerClient; 68 class SpellCheckerClient;
68 class ValidationMessageClient; 69 class ValidationMessageClient;
69 class WebLayerTreeView; 70 class WebLayerTreeView;
70 71
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 static void allVisitedStateChanged(bool invalidateVisitedLinkHashes); 220 static void allVisitedStateChanged(bool invalidateVisitedLinkHashes);
220 static void visitedStateChanged(LinkHash visitedHash); 221 static void visitedStateChanged(LinkHash visitedHash);
221 222
222 void setVisibilityState(PageVisibilityState, bool); 223 void setVisibilityState(PageVisibilityState, bool);
223 PageVisibilityState visibilityState() const; 224 PageVisibilityState visibilityState() const;
224 bool isPageVisible() const; 225 bool isPageVisible() const;
225 226
226 bool isCursorVisible() const; 227 bool isCursorVisible() const;
227 void setIsCursorVisible(bool isVisible) { m_isCursorVisible = isVisible; } 228 void setIsCursorVisible(bool isVisible) { m_isCursorVisible = isVisible; }
228 229
230 void setDefaultPageScaleLimits(float minScale, float maxScale);
231 void setUserAgentPageScaleConstraints(
232 const PageScaleConstraints& newConstraints);
233
229 #if DCHECK_IS_ON() 234 #if DCHECK_IS_ON()
230 void setIsPainting(bool painting) { m_isPainting = painting; } 235 void setIsPainting(bool painting) { m_isPainting = painting; }
231 bool isPainting() const { return m_isPainting; } 236 bool isPainting() const { return m_isPainting; }
232 #endif 237 #endif
233 238
234 void didCommitLoad(LocalFrame*); 239 void didCommitLoad(LocalFrame*);
235 240
236 void acceptLanguagesChanged(); 241 void acceptLanguagesChanged();
237 242
238 DECLARE_TRACE(); 243 DECLARE_TRACE();
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 // Page. 320 // Page.
316 // FIXME: Most of the members of Page should move onto FrameHost. 321 // FIXME: Most of the members of Page should move onto FrameHost.
317 Member<FrameHost> m_frameHost; 322 Member<FrameHost> m_frameHost;
318 }; 323 };
319 324
320 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>; 325 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>;
321 326
322 } // namespace blink 327 } // namespace blink
323 328
324 #endif // Page_h 329 #endif // Page_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameHost.cpp ('k') | third_party/WebKit/Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698