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

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

Issue 2479663002: Move compositor InputHandler from RenderViewImpl to RenderWidget. (Closed)
Patch Set: Check for layerTreeView while setting handlers. 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 setHasScrollEventHandlers(LocalFrame*, bool) override {}
209 bool hasScrollEventHandlers() const override { return false; }
210 211
211 void setTouchAction(TouchAction) override {} 212 void setTouchAction(TouchAction) override {}
212 213
213 void didAssociateFormControlsAfterLoad(LocalFrame*) override {} 214 void didAssociateFormControlsAfterLoad(LocalFrame*) override {}
214 215
215 void annotatedRegionsChanged() override {} 216 void annotatedRegionsChanged() override {}
216 String acceptLanguages() override; 217 String acceptLanguages() override;
217 218
218 CompositorProxyClient* createCompositorProxyClient(LocalFrame*) override { 219 CompositorProxyClient* createCompositorProxyClient(LocalFrame*) override {
219 return nullptr; 220 return nullptr;
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 ~EmptyContextMenuClient() override {} 427 ~EmptyContextMenuClient() override {}
427 bool showContextMenu(const ContextMenu*, bool) override { return false; } 428 bool showContextMenu(const ContextMenu*, bool) override { return false; }
428 void clearContextMenu() override {} 429 void clearContextMenu() override {}
429 }; 430 };
430 431
431 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 432 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
432 433
433 } // namespace blink 434 } // namespace blink
434 435
435 #endif // EmptyClients_h 436 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698