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

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

Issue 1639363002: Move have_wheel_event_handlers to WebLayerTreeView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove blank line 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const o verride; 105 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const o verride;
106 void printDelegate(LocalFrame*) override; 106 void printDelegate(LocalFrame*) override;
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;
116 bool haveWheelEventHandlers() const override;
115 void setTouchAction(TouchAction) override; 117 void setTouchAction(TouchAction) override;
116 118
117 GraphicsLayerFactory* graphicsLayerFactory() const override; 119 GraphicsLayerFactory* graphicsLayerFactory() const override;
118 120
119 // Pass 0 as the GraphicsLayer to detatch the root layer. 121 // Pass 0 as the GraphicsLayer to detatch the root layer.
120 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override ; 122 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override ;
121 123
122 void didPaint(const PaintArtifact&) override; 124 void didPaint(const PaintArtifact&) override;
123 125
124 void attachCompositorAnimationTimeline(WebCompositorAnimationTimeline*, Loca lFrame* localRoot) override; 126 void attachCompositorAnimationTimeline(WebCompositorAnimationTimeline*, Loca lFrame* localRoot) override;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 Cursor m_lastSetMouseCursorForTesting; 194 Cursor m_lastSetMouseCursorForTesting;
193 bool m_cursorOverridden; 195 bool m_cursorOverridden;
194 bool m_didRequestNonEmptyToolTip; 196 bool m_didRequestNonEmptyToolTip;
195 }; 197 };
196 198
197 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 199 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
198 200
199 } // namespace blink 201 } // namespace blink
200 202
201 #endif 203 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698