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

Unified Diff: third_party/WebKit/Source/core/frame/FrameHost.cpp

Issue 2720723004: Remove 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/FrameHost.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameHost.cpp b/third_party/WebKit/Source/core/frame/FrameHost.cpp
index b9b1ea2d08b3f812432803d330eecbfc64fa06c6..c8393af9e00a5cc04cbeac6c1484c57163844ace 100644
--- a/third_party/WebKit/Source/core/frame/FrameHost.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameHost.cpp
@@ -33,7 +33,6 @@
#include "core/frame/BrowserControls.h"
#include "core/frame/EventHandlerRegistry.h"
#include "core/frame/FrameView.h"
-#include "core/frame/PageScaleConstraints.h"
#include "core/frame/VisualViewport.h"
#include "core/inspector/ConsoleMessageStorage.h"
#include "core/page/Page.h"
@@ -154,13 +153,4 @@ int FrameHost::subframeCount() const {
return m_subframeCount;
}
-void FrameHost::setDefaultPageScaleLimits(float minScale, float maxScale) {
- page().setDefaultPageScaleLimits(minScale, maxScale);
-}
-
-void FrameHost::setUserAgentPageScaleConstraints(
- const PageScaleConstraints& newConstraints) {
- page().setUserAgentPageScaleConstraints(newConstraints);
-}
-
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameHost.h ('k') | third_party/WebKit/Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698