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

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

Issue 2342103002: Refactor the way PaintArtifactCompositor is attached and used. (Closed)
Patch Set: none Created 4 years, 3 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 ColorChooser* openColorChooser(LocalFrame*, ColorChooserClient*, const Color &) override; 152 ColorChooser* openColorChooser(LocalFrame*, ColorChooserClient*, const Color &) override;
153 DateTimeChooser* openDateTimeChooser(DateTimeChooserClient*, const DateTimeC hooserParameters&) override; 153 DateTimeChooser* openDateTimeChooser(DateTimeChooserClient*, const DateTimeC hooserParameters&) override;
154 void openTextDataListChooser(HTMLInputElement&) override; 154 void openTextDataListChooser(HTMLInputElement&) override;
155 155
156 void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) override; 156 void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) override;
157 157
158 void setCursor(const Cursor&, LocalFrame* localRoot) override {} 158 void setCursor(const Cursor&, LocalFrame* localRoot) override {}
159 Cursor lastSetCursorForTesting() const override { return pointerCursor(); } 159 Cursor lastSetCursorForTesting() const override { return pointerCursor(); }
160 160
161 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override {} 161 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override {}
162 void attachRootLayer(WebLayer*, LocalFrame* localRoot) override {}
162 163
163 void setEventListenerProperties(WebEventListenerClass, WebEventListenerPrope rties) override {} 164 void setEventListenerProperties(WebEventListenerClass, WebEventListenerPrope rties) override {}
164 WebEventListenerProperties eventListenerProperties(WebEventListenerClass) co nst override { return WebEventListenerProperties::Nothing; } 165 WebEventListenerProperties eventListenerProperties(WebEventListenerClass) co nst override { return WebEventListenerProperties::Nothing; }
165 void setHasScrollEventHandlers(bool) override {} 166 void setHasScrollEventHandlers(bool) override {}
166 bool hasScrollEventHandlers() const override { return false; } 167 bool hasScrollEventHandlers() const override { return false; }
167 168
168 void setTouchAction(TouchAction) override {} 169 void setTouchAction(TouchAction) override {}
169 170
170 void didAssociateFormControlsAfterLoad(LocalFrame*) override {} 171 void didAssociateFormControlsAfterLoad(LocalFrame*) override {}
171 172
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 ~EmptyContextMenuClient() override {} 331 ~EmptyContextMenuClient() override {}
331 bool showContextMenu(const ContextMenu*, bool) override { return false; } 332 bool showContextMenu(const ContextMenu*, bool) override { return false; }
332 void clearContextMenu() override {} 333 void clearContextMenu() override {}
333 }; 334 };
334 335
335 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 336 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
336 337
337 } // namespace blink 338 } // namespace blink
338 339
339 #endif // EmptyClients_h 340 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698