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

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

Issue 2772993002: Remove the final methods from FrameHost (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
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameHost.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ebf4ebe0395a8fb17684cd2a0a07c7813768eb5b..4a43c86b28d8f30676ec7c88ad904e7f7cd3b942 100644
--- a/third_party/WebKit/Source/core/frame/FrameHost.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameHost.cpp
@@ -30,10 +30,7 @@
#include "core/frame/FrameHost.h"
-#include "core/frame/FrameView.h"
#include "core/page/Page.h"
-#include "public/platform/Platform.h"
-#include "public/platform/WebScheduler.h"
namespace blink {
@@ -46,22 +43,6 @@ FrameHost::FrameHost(Page& page) : m_page(&page) {}
// Explicitly in the .cpp to avoid default constructor in .h
FrameHost::~FrameHost() {}
-Page& FrameHost::page() {
- return *m_page;
-}
-
-const Page& FrameHost::page() const {
- return *m_page;
-}
-
-BrowserControls& FrameHost::browserControls() {
- return m_page->browserControls();
-}
-
-const BrowserControls& FrameHost::browserControls() const {
- return m_page->browserControls();
-}
-
DEFINE_TRACE(FrameHost) {
visitor->trace(m_page);
}
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameHost.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698