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

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

Issue 2479663002: Move compositor InputHandler from RenderViewImpl to RenderWidget. (Closed)
Patch Set: Rebase to master@{#445291}. 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 void setEventListenerProperties(WebEventListenerClass, 139 // The client keeps track of which touch/mousewheel event types have handlers,
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,
140 WebEventListenerProperties) override; 145 WebEventListenerProperties) override;
141 WebEventListenerProperties eventListenerProperties( 146 WebEventListenerProperties eventListenerProperties(
147 LocalFrame*,
142 WebEventListenerClass) const override; 148 WebEventListenerClass) const override;
143 void setHasScrollEventHandlers(bool hasEventHandlers) override; 149 void updateTouchRectsForSubframeIfNecessary(LocalFrame*);
144 bool hasScrollEventHandlers() const override; 150 // Informs client about the existence of handlers for scroll events so
151 // appropriate scroll optimizations can be chosen.
152 void setHasScrollEventHandlers(LocalFrame*, bool hasEventHandlers) override;
145 void setTouchAction(LocalFrame*, TouchAction) override; 153 void setTouchAction(LocalFrame*, TouchAction) override;
146 154
147 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override; 155 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override;
148 156
149 void attachRootLayer(WebLayer*, LocalFrame* localRoot) override; 157 void attachRootLayer(WebLayer*, LocalFrame* localRoot) override;
150 158
151 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*, 159 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*,
152 LocalFrame*) override; 160 LocalFrame*) override;
153 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*, 161 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*,
154 LocalFrame*) override; 162 LocalFrame*) override;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 248
241 DEFINE_TYPE_CASTS(ChromeClientImpl, 249 DEFINE_TYPE_CASTS(ChromeClientImpl,
242 ChromeClient, 250 ChromeClient,
243 client, 251 client,
244 client->isChromeClientImpl(), 252 client->isChromeClientImpl(),
245 client.isChromeClientImpl()); 253 client.isChromeClientImpl());
246 254
247 } // namespace blink 255 } // namespace blink
248 256
249 #endif 257 #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