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

Side by Side Diff: third_party/WebKit/Source/web/WebViewFrameWidget.h

Issue 1844013002: Fix main thread top controls scrolling to mirror CC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@propertyTreesBoundsDelta
Patch Set: Build fix after rebase Created 4 years, 7 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be found 2 // Use of this source code is governed by a BSD-style license that can be found
3 // in the LICENSE file. 3 // in the LICENSE file.
4 4
5 #ifndef WebViewFrameWidget_h 5 #ifndef WebViewFrameWidget_h
6 #define WebViewFrameWidget_h 6 #define WebViewFrameWidget_h
7 7
8 #include "platform/heap/Handle.h" 8 #include "platform/heap/Handle.h"
9 #include "public/web/WebFrameWidget.h" 9 #include "public/web/WebFrameWidget.h"
10 #include "wtf/Noncopyable.h" 10 #include "wtf/Noncopyable.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 bool isAcceleratedCompositingActive() const override; 80 bool isAcceleratedCompositingActive() const override;
81 bool isWebView() const override { return false; } 81 bool isWebView() const override { return false; }
82 bool isPagePopup() const override { return false; } 82 bool isPagePopup() const override { return false; }
83 void willCloseLayerTreeView() override; 83 void willCloseLayerTreeView() override;
84 void didAcquirePointerLock() override; 84 void didAcquirePointerLock() override;
85 void didNotAcquirePointerLock() override; 85 void didNotAcquirePointerLock() override;
86 void didLosePointerLock() override; 86 void didLosePointerLock() override;
87 void didChangeWindowResizerRect() override; 87 void didChangeWindowResizerRect() override;
88 WebColor backgroundColor() const override; 88 WebColor backgroundColor() const override;
89 WebPagePopup* pagePopup() const override; 89 WebPagePopup* pagePopup() const override;
90 void setTopControlsHeight(float height, bool topControlsShrinkLayoutSize) ov erride;
91 void updateTopControlsState(WebTopControlsState constraints, WebTopControlsS tate current, bool animate) override; 90 void updateTopControlsState(WebTopControlsState constraints, WebTopControlsS tate current, bool animate) override;
92 void setVisibilityState(WebPageVisibilityState, bool isInitialState) overrid e; 91 void setVisibilityState(WebPageVisibilityState, bool isInitialState) overrid e;
93 bool isTransparent() const override; 92 bool isTransparent() const override;
94 void setIsTransparent(bool) override; 93 void setIsTransparent(bool) override;
95 void setBaseBackgroundColor(WebColor) override; 94 void setBaseBackgroundColor(WebColor) override;
96 bool forSubframe() const { return false; } 95 bool forSubframe() const { return false; }
97 void scheduleAnimation() override; 96 void scheduleAnimation() override;
98 97
99 private: 98 private:
100 WebWidgetClient* m_client; 99 WebWidgetClient* m_client;
101 RefPtr<WebViewImpl> m_webView; 100 RefPtr<WebViewImpl> m_webView;
102 Persistent<WebLocalFrameImpl> m_mainFrame; 101 Persistent<WebLocalFrameImpl> m_mainFrame;
103 }; 102 };
104 103
105 } // namespace blink 104 } // namespace blink
106 105
107 #endif // WebViewFrameWidget_h 106 #endif // WebViewFrameWidget_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/ResizeViewportAnchor.cpp ('k') | third_party/WebKit/Source/web/WebViewFrameWidget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698