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

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

Issue 2649573003: Revert of Move compositor InputHandler from RenderViewImpl to RenderWidget. (Closed)
Patch Set: Created 3 years, 11 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 ColorChooser* openColorChooser(LocalFrame*, 129 ColorChooser* openColorChooser(LocalFrame*,
130 ColorChooserClient*, 130 ColorChooserClient*,
131 const Color&) override; 131 const Color&) override;
132 DateTimeChooser* openDateTimeChooser( 132 DateTimeChooser* openDateTimeChooser(
133 DateTimeChooserClient*, 133 DateTimeChooserClient*,
134 const DateTimeChooserParameters&) override; 134 const DateTimeChooserParameters&) override;
135 void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) override; 135 void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) override;
136 void enumerateChosenDirectory(FileChooser*) override; 136 void enumerateChosenDirectory(FileChooser*) override;
137 void setCursor(const Cursor&, LocalFrame*) override; 137 void setCursor(const Cursor&, LocalFrame*) override;
138 Cursor lastSetCursorForTesting() const override; 138 Cursor lastSetCursorForTesting() const override;
139 // The client keeps track of which touch/mousewheel event types have handlers, 139 void setEventListenerProperties(WebEventListenerClass,
140 // and if they do, whether the handlers are passive and/or blocking. This
141 // allows the client to know which optimizations can be used for the
142 // associated event classes.
143 void setEventListenerProperties(LocalFrame*,
144 WebEventListenerClass,
145 WebEventListenerProperties) override; 140 WebEventListenerProperties) override;
146 WebEventListenerProperties eventListenerProperties( 141 WebEventListenerProperties eventListenerProperties(
147 LocalFrame*,
148 WebEventListenerClass) const override; 142 WebEventListenerClass) const override;
149 void updateTouchRectsForSubframeIfNecessary(LocalFrame*); 143 void setHasScrollEventHandlers(bool hasEventHandlers) override;
150 // Informs client about the existence of handlers for scroll events so 144 bool hasScrollEventHandlers() const override;
151 // appropriate scroll optimizations can be chosen.
152 void setHasScrollEventHandlers(LocalFrame*, bool hasEventHandlers) override;
153 void setTouchAction(LocalFrame*, TouchAction) override; 145 void setTouchAction(LocalFrame*, TouchAction) override;
154 146
155 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override; 147 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override;
156 148
157 void attachRootLayer(WebLayer*, LocalFrame* localRoot) override; 149 void attachRootLayer(WebLayer*, LocalFrame* localRoot) override;
158 150
159 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*, 151 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*,
160 LocalFrame*) override; 152 LocalFrame*) override;
161 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*, 153 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*,
162 LocalFrame*) override; 154 LocalFrame*) override;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 240
249 DEFINE_TYPE_CASTS(ChromeClientImpl, 241 DEFINE_TYPE_CASTS(ChromeClientImpl,
250 ChromeClient, 242 ChromeClient,
251 client, 243 client,
252 client->isChromeClientImpl(), 244 client->isChromeClientImpl(),
253 client.isChromeClientImpl()); 245 client.isChromeClientImpl());
254 246
255 } // namespace blink 247 } // namespace blink
256 248
257 #endif 249 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/ChromeClient.h ('k') | third_party/WebKit/Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698