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

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

Issue 2479663002: Move compositor InputHandler from RenderViewImpl to RenderWidget. (Closed)
Patch Set: Account for the fact that OOPIF subframes don't have an InnerViewportScrollLayer. 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(LocalFrame*, TouchAction) override {} 212 void setTouchAction(LocalFrame*, 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 ~EmptyContextMenuClient() override {} 422 ~EmptyContextMenuClient() override {}
422 bool showContextMenu(const ContextMenu*, bool) override { return false; } 423 bool showContextMenu(const ContextMenu*, bool) override { return false; }
423 void clearContextMenu() override {} 424 void clearContextMenu() override {}
424 }; 425 };
425 426
426 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 427 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
427 428
428 } // namespace blink 429 } // namespace blink
429 430
430 #endif // EmptyClients_h 431 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698