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

Side by Side Diff: third_party/WebKit/Source/core/loader/EmptyClients.h

Issue 2479663002: Move compositor InputHandler from RenderViewImpl to RenderWidget. (Closed)
Patch Set: Plumb pseudo touch-event-rects for OOPIFs to compositor. 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) 2006 Eric Seidel (eric@webkit.org) 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org)
3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 void openTextDataListChooser(HTMLInputElement&) override; 192 void openTextDataListChooser(HTMLInputElement&) override;
193 193
194 void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) override; 194 void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) override;
195 195
196 void setCursor(const Cursor&, LocalFrame* localRoot) override {} 196 void setCursor(const Cursor&, LocalFrame* localRoot) override {}
197 Cursor lastSetCursorForTesting() const override { return pointerCursor(); } 197 Cursor lastSetCursorForTesting() const override { return pointerCursor(); }
198 198
199 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override; 199 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override;
200 void attachRootLayer(WebLayer*, LocalFrame* localRoot) override {} 200 void attachRootLayer(WebLayer*, LocalFrame* localRoot) override {}
201 201
202 void setEventListenerProperties(WebEventListenerClass, 202 void setEventListenerProperties(LocalFrame*,
203 WebEventListenerClass,
203 WebEventListenerProperties) override {} 204 WebEventListenerProperties) override {}
204 WebEventListenerProperties eventListenerProperties( 205 WebEventListenerProperties eventListenerProperties(
205 WebEventListenerClass) const override { 206 LocalFrame*,
207 WebEventListenerClass eventClass) const override {
206 return WebEventListenerProperties::Nothing; 208 return WebEventListenerProperties::Nothing;
207 } 209 }
208 void setHasScrollEventHandlers(bool) override {} 210 void updateTouchRectsForSubframeIfNecessary(LocalFrame* frame) override {}
209 bool hasScrollEventHandlers() const override { return false; } 211 void setHasScrollEventHandlers(LocalFrame*, bool) override {}
210 212
211 void setTouchAction(LocalFrame*, TouchAction) override {} 213 void setTouchAction(LocalFrame*, TouchAction) override {}
212 214
213 void didAssociateFormControlsAfterLoad(LocalFrame*) override {} 215 void didAssociateFormControlsAfterLoad(LocalFrame*) override {}
214 216
215 void annotatedRegionsChanged() override {} 217 void annotatedRegionsChanged() override {}
216 String acceptLanguages() override; 218 String acceptLanguages() override;
217 219
218 CompositorProxyClient* createCompositorProxyClient(LocalFrame*) override { 220 CompositorProxyClient* createCompositorProxyClient(LocalFrame*) override {
219 return nullptr; 221 return nullptr;
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 ~EmptyContextMenuClient() override {} 423 ~EmptyContextMenuClient() override {}
422 bool showContextMenu(const ContextMenu*, bool) override { return false; } 424 bool showContextMenu(const ContextMenu*, bool) override { return false; }
423 void clearContextMenu() override {} 425 void clearContextMenu() override {}
424 }; 426 };
425 427
426 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 428 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
427 429
428 } // namespace blink 430 } // namespace blink
429 431
430 #endif // EmptyClients_h 432 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698