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

Unified Diff: Source/core/frame/FrameHost.h

Issue 893683003: Implement top controls show/hide functionality for main thread scrolling (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix minor macro issue Created 5 years, 10 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: Source/core/frame/FrameHost.h
diff --git a/Source/core/frame/FrameHost.h b/Source/core/frame/FrameHost.h
index e3258dd4b194a8f59584674924bd08c0ad390979..8941a6e6fd982bdca8a681d21b4101992df60586 100644
--- a/Source/core/frame/FrameHost.h
+++ b/Source/core/frame/FrameHost.h
@@ -32,6 +32,7 @@
#define FrameHost_h
#include "core/frame/PinchViewport.h"
+#include "core/frame/TopControls.h"
#include "platform/heap/Handle.h"
#include "wtf/FastAllocBase.h"
#include "wtf/Noncopyable.h"
@@ -77,6 +78,7 @@ public:
// This value does not account for Page zoom, use LocalFrame::devicePixelRatio instead.
float deviceScaleFactor() const;
+ TopControls& topControls() const;
PinchViewport& pinchViewport() const;
EventHandlerRegistry& eventHandlerRegistry() const;
@@ -100,6 +102,7 @@ private:
explicit FrameHost(Page&);
RawPtrWillBeMember<Page> m_page;
+ const OwnPtrWillBeMember<TopControls> m_topControls;
const OwnPtrWillBeMember<PinchViewport> m_pinchViewport;
const OwnPtrWillBeMember<EventHandlerRegistry> m_eventHandlerRegistry;
const OwnPtrWillBeMember<ConsoleMessageStorage> m_consoleMessageStorage;

Powered by Google App Engine
This is Rietveld 408576698