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

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

Issue 1895873006: compositor-worker: Initialize CW machinery plumbing to compositor and fire CW rAF callbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bring up oilpan support during compositor worker creation and oilpan the compositor mutator and pro… Created 4 years, 7 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 void setHasScrollEventHandlers(bool) override {} 162 void setHasScrollEventHandlers(bool) override {}
163 bool hasScrollEventHandlers() const override { return false; } 163 bool hasScrollEventHandlers() const override { return false; }
164 164
165 void setTouchAction(TouchAction) override {} 165 void setTouchAction(TouchAction) override {}
166 166
167 void didAssociateFormControls(const HeapVector<Member<Element>>&, LocalFrame *) override {} 167 void didAssociateFormControls(const HeapVector<Member<Element>>&, LocalFrame *) override {}
168 168
169 void annotatedRegionsChanged() override {} 169 void annotatedRegionsChanged() override {}
170 String acceptLanguages() override; 170 String acceptLanguages() override;
171 171
172 CompositorProxyClient* createCompositorProxyClient(LocalFrame*) override { r eturn nullptr; }
173
172 void registerPopupOpeningObserver(PopupOpeningObserver*) override {} 174 void registerPopupOpeningObserver(PopupOpeningObserver*) override {}
173 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override {} 175 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override {}
174 176
175 PassOwnPtr<WebFrameScheduler> createFrameScheduler(BlameContext*) override; 177 PassOwnPtr<WebFrameScheduler> createFrameScheduler(BlameContext*) override;
176 }; 178 };
177 179
178 class CORE_EXPORT EmptyFrameLoaderClient : public FrameLoaderClient { 180 class CORE_EXPORT EmptyFrameLoaderClient : public FrameLoaderClient {
179 WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient); 181 WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient);
180 public: 182 public:
181 static EmptyFrameLoaderClient* create() { return new EmptyFrameLoaderClient; } 183 static EmptyFrameLoaderClient* create() { return new EmptyFrameLoaderClient; }
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 ~EmptyContextMenuClient() override {} 328 ~EmptyContextMenuClient() override {}
327 void showContextMenu(const ContextMenu*) override {} 329 void showContextMenu(const ContextMenu*) override {}
328 void clearContextMenu() override {} 330 void clearContextMenu() override {}
329 }; 331 };
330 332
331 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 333 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
332 334
333 } // namespace blink 335 } // namespace blink
334 336
335 #endif // EmptyClients_h 337 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698