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

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

Issue 1646603004: Move scroll event handlers from layer to layer tree view. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_cc_listeners
Patch Set: Rebase Created 4 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 void annotatedRegionsChanged() override; 107 void annotatedRegionsChanged() override;
108 PassOwnPtrWillBeRawPtr<ColorChooser> openColorChooser(LocalFrame*, ColorChoo serClient*, const Color&) override; 108 PassOwnPtrWillBeRawPtr<ColorChooser> openColorChooser(LocalFrame*, ColorChoo serClient*, const Color&) override;
109 PassRefPtrWillBeRawPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserC lient*, const DateTimeChooserParameters&) override; 109 PassRefPtrWillBeRawPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserC lient*, const DateTimeChooserParameters&) override;
110 void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) override; 110 void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) override;
111 void enumerateChosenDirectory(FileChooser*) override; 111 void enumerateChosenDirectory(FileChooser*) override;
112 void setCursor(const Cursor&, LocalFrame* localRoot) override; 112 void setCursor(const Cursor&, LocalFrame* localRoot) override;
113 Cursor lastSetCursorForTesting() const override; 113 Cursor lastSetCursorForTesting() const override;
114 void needTouchEvents(bool needTouchEvents) override; 114 void needTouchEvents(bool needTouchEvents) override;
115 void setHaveWheelEventHandlers(bool hasEventHandlers) override; 115 void setHaveWheelEventHandlers(bool hasEventHandlers) override;
116 bool haveWheelEventHandlers() const override; 116 bool haveWheelEventHandlers() const override;
117 void setHaveScrollEventHandlers(bool hasEventHandlers) override;
118 bool haveScrollEventHandlers() const override;
117 void setTouchAction(TouchAction) override; 119 void setTouchAction(TouchAction) override;
118 120
119 GraphicsLayerFactory* graphicsLayerFactory() const override; 121 GraphicsLayerFactory* graphicsLayerFactory() const override;
120 122
121 // Pass 0 as the GraphicsLayer to detatch the root layer. 123 // Pass 0 as the GraphicsLayer to detatch the root layer.
122 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override ; 124 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override ;
123 125
124 void didPaint(const PaintArtifact&) override; 126 void didPaint(const PaintArtifact&) override;
125 127
126 void attachCompositorAnimationTimeline(WebCompositorAnimationTimeline*, Loca lFrame* localRoot) override; 128 void attachCompositorAnimationTimeline(WebCompositorAnimationTimeline*, Loca lFrame* localRoot) override;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 Cursor m_lastSetMouseCursorForTesting; 196 Cursor m_lastSetMouseCursorForTesting;
195 bool m_cursorOverridden; 197 bool m_cursorOverridden;
196 bool m_didRequestNonEmptyToolTip; 198 bool m_didRequestNonEmptyToolTip;
197 }; 199 };
198 200
199 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 201 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
200 202
201 } // namespace blink 203 } // namespace blink
202 204
203 #endif 205 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698