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

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

Issue 2621303004: Keep track of coalesced events in main thread event queue (Closed)
Patch Set: Rebase Created 3 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 WebInputEventResult handleKeyEvent(const WebKeyboardEvent&) override; 75 WebInputEventResult handleKeyEvent(const WebKeyboardEvent&) override;
76 76
77 private: 77 private:
78 // WebWidget functions 78 // WebWidget functions
79 void beginFrame(double lastFrameTimeMonotonic) override; 79 void beginFrame(double lastFrameTimeMonotonic) override;
80 void updateAllLifecyclePhases() override; 80 void updateAllLifecyclePhases() override;
81 void willCloseLayerTreeView() override; 81 void willCloseLayerTreeView() override;
82 void paint(WebCanvas*, const WebRect&) override; 82 void paint(WebCanvas*, const WebRect&) override;
83 void resize(const WebSize&) override; 83 void resize(const WebSize&) override;
84 void close() override; 84 void close() override;
85 WebInputEventResult handleInputEvent(const WebInputEvent&) override; 85 WebInputEventResult handleInputEvent(const WebCoalescedInputEvent&) override;
86 void setFocus(bool) override; 86 void setFocus(bool) override;
87 bool isPagePopup() const override { return true; } 87 bool isPagePopup() const override { return true; }
88 bool isAcceleratedCompositingActive() const override { 88 bool isAcceleratedCompositingActive() const override {
89 return m_isAcceleratedCompositingActive; 89 return m_isAcceleratedCompositingActive;
90 } 90 }
91 91
92 // PageWidgetEventHandler functions 92 // PageWidgetEventHandler functions
93 WebInputEventResult handleCharEvent(const WebKeyboardEvent&) override; 93 WebInputEventResult handleCharEvent(const WebKeyboardEvent&) override;
94 WebInputEventResult handleGestureEvent(const WebGestureEvent&) override; 94 WebInputEventResult handleGestureEvent(const WebGestureEvent&) override;
95 void handleMouseDown(LocalFrame& mainFrame, const WebMouseEvent&) override; 95 void handleMouseDown(LocalFrame& mainFrame, const WebMouseEvent&) override;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 WebWidget, 131 WebWidget,
132 widget, 132 widget,
133 widget->isPagePopup(), 133 widget->isPagePopup(),
134 widget.isPagePopup()); 134 widget.isPagePopup());
135 // WebPagePopupImpl is the only implementation of PagePopup, so no 135 // WebPagePopupImpl is the only implementation of PagePopup, so no
136 // further checking required. 136 // further checking required.
137 DEFINE_TYPE_CASTS(WebPagePopupImpl, PagePopup, popup, true, true); 137 DEFINE_TYPE_CASTS(WebPagePopupImpl, PagePopup, popup, true, true);
138 138
139 } // namespace blink 139 } // namespace blink
140 #endif // WebPagePopupImpl_h 140 #endif // WebPagePopupImpl_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp ('k') | third_party/WebKit/Source/web/WebPagePopupImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698