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

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

Issue 2813543003: Notify Blink to suppress frame requests during BeginMainFrame (Closed)
Patch Set: Created 3 years, 8 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 "web/WebFrameWidgetBase.h" 9 #include "web/WebFrameWidgetBase.h"
10 #include "web/WebInputMethodControllerImpl.h" 10 #include "web/WebInputMethodControllerImpl.h"
(...skipping 30 matching lines...) Expand all
41 WebLocalFrameImpl&); 41 WebLocalFrameImpl&);
42 virtual ~WebViewFrameWidget(); 42 virtual ~WebViewFrameWidget();
43 43
44 // WebFrameWidget overrides: 44 // WebFrameWidget overrides:
45 void close() override; 45 void close() override;
46 WebSize size() override; 46 WebSize size() override;
47 void resize(const WebSize&) override; 47 void resize(const WebSize&) override;
48 void resizeVisualViewport(const WebSize&) override; 48 void resizeVisualViewport(const WebSize&) override;
49 void didEnterFullscreen() override; 49 void didEnterFullscreen() override;
50 void didExitFullscreen() override; 50 void didExitFullscreen() override;
51 void setSuppressFrameRequestsWorkaroundFor704763Only(bool) final;
51 void beginFrame(double lastFrameTimeMonotonic) override; 52 void beginFrame(double lastFrameTimeMonotonic) override;
52 void updateAllLifecyclePhases() override; 53 void updateAllLifecyclePhases() override;
53 void paint(WebCanvas*, const WebRect& viewPort) override; 54 void paint(WebCanvas*, const WebRect& viewPort) override;
54 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; 55 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override;
55 void compositeAndReadbackAsync( 56 void compositeAndReadbackAsync(
56 WebCompositeAndReadbackAsyncCallback*) override; 57 WebCompositeAndReadbackAsyncCallback*) override;
57 void themeChanged() override; 58 void themeChanged() override;
58 WebInputEventResult handleInputEvent(const WebCoalescedInputEvent&) override; 59 WebInputEventResult handleInputEvent(const WebCoalescedInputEvent&) override;
59 void setCursorVisibilityState(bool isVisible) override; 60 void setCursorVisibilityState(bool isVisible) override;
60 bool hasTouchEventHandlersAt(const WebPoint&) override; 61 bool hasTouchEventHandlersAt(const WebPoint&) override;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 105
105 private: 106 private:
106 WebWidgetClient* m_client; 107 WebWidgetClient* m_client;
107 RefPtr<WebViewImpl> m_webView; 108 RefPtr<WebViewImpl> m_webView;
108 Persistent<WebLocalFrameImpl> m_mainFrame; 109 Persistent<WebLocalFrameImpl> m_mainFrame;
109 }; 110 };
110 111
111 } // namespace blink 112 } // namespace blink
112 113
113 #endif // WebViewFrameWidget_h 114 #endif // WebViewFrameWidget_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebPagePopupImpl.cpp ('k') | third_party/WebKit/Source/web/WebViewFrameWidget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698