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

Unified Diff: third_party/WebKit/Source/core/input/GestureManager.cpp

Issue 2763123003: Remove a bunch of unused frameHost() methods (Closed)
Patch Set: 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/input/GestureManager.cpp
diff --git a/third_party/WebKit/Source/core/input/GestureManager.cpp b/third_party/WebKit/Source/core/input/GestureManager.cpp
index 4b4617dacce1e998af2d3dedfd30053f68a872fb..8cdaaaa95f78415d88032c251967c157947898c9 100644
--- a/third_party/WebKit/Source/core/input/GestureManager.cpp
+++ b/third_party/WebKit/Source/core/input/GestureManager.cpp
@@ -8,7 +8,6 @@
#include "core/dom/DocumentUserGestureToken.h"
#include "core/editing/SelectionController.h"
#include "core/events/GestureEvent.h"
-#include "core/frame/FrameHost.h"
#include "core/frame/FrameView.h"
#include "core/frame/Settings.h"
#include "core/frame/VisualViewport.h"
@@ -426,13 +425,6 @@ WebInputEventResult GestureManager::handleGestureShowPress() {
return WebInputEventResult::NotHandled;
}
-FrameHost* GestureManager::frameHost() const {
- if (!m_frame->page())
- return nullptr;
-
- return &m_frame->page()->frameHost();
-}
-
WTF::Optional<WTF::TimeTicks> GestureManager::getLastShowPressTimestamp()
const {
return m_lastShowPressTimestamp;
« no previous file with comments | « third_party/WebKit/Source/core/input/GestureManager.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