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

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

Issue 1463823003: Return a enumeration of the state of handling of InputEvents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 void willEndLiveResize() override; 46 void willEndLiveResize() override;
47 void didEnterFullScreen() override; 47 void didEnterFullScreen() override;
48 void didExitFullScreen() override; 48 void didExitFullScreen() override;
49 void beginFrame(double lastFrameTimeMonotonic) override; 49 void beginFrame(double lastFrameTimeMonotonic) override;
50 void updateAllLifecyclePhases() override; 50 void updateAllLifecyclePhases() override;
51 void paint(WebCanvas*, const WebRect& viewPort) override; 51 void paint(WebCanvas*, const WebRect& viewPort) override;
52 void paintCompositedDeprecated(WebCanvas*, const WebRect&) override; 52 void paintCompositedDeprecated(WebCanvas*, const WebRect&) override;
53 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; 53 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override;
54 void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*) overri de; 54 void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*) overri de;
55 void themeChanged() override; 55 void themeChanged() override;
56 bool handleInputEvent(const WebInputEvent&) override; 56 WebInputEventResult handleInputEvent(const WebInputEvent&) override;
57 void setCursorVisibilityState(bool isVisible) override; 57 void setCursorVisibilityState(bool isVisible) override;
58 bool hasTouchEventHandlersAt(const WebPoint&) override; 58 bool hasTouchEventHandlersAt(const WebPoint&) override;
59 void applyViewportDeltas( 59 void applyViewportDeltas(
60 const WebFloatSize& visualViewportDelta, 60 const WebFloatSize& visualViewportDelta,
61 const WebFloatSize& layoutViewportDelta, 61 const WebFloatSize& layoutViewportDelta,
62 const WebFloatSize& elasticOverscrollDelta, 62 const WebFloatSize& elasticOverscrollDelta,
63 float scaleFactor, 63 float scaleFactor,
64 float topControlsShownRatioDelta) override; 64 float topControlsShownRatioDelta) override;
65 void recordFrameTimingEvent(FrameTimingEventType, int64_t rectId, const WebV ector<WebFrameTimingEvent>& events) override; 65 void recordFrameTimingEvent(FrameTimingEventType, int64_t rectId, const WebV ector<WebFrameTimingEvent>& events) override;
66 void mouseCaptureLost() override; 66 void mouseCaptureLost() override;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 private: 99 private:
100 WebWidgetClient* m_client; 100 WebWidgetClient* m_client;
101 RefPtr<WebViewImpl> m_webView; 101 RefPtr<WebViewImpl> m_webView;
102 RefPtrWillBePersistent<WebLocalFrameImpl> m_mainFrame; 102 RefPtrWillBePersistent<WebLocalFrameImpl> m_mainFrame;
103 }; 103 };
104 104
105 } // namespace blink 105 } // namespace blink
106 106
107 #endif // WebViewFrameWidget_h 107 #endif // WebViewFrameWidget_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698