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

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

Issue 2150443002: Supplement should have a Member to the corresponding Supplementable object (Part 1) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: temp Created 4 years, 4 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 void setHasScrollEventHandlers(bool) override {} 165 void setHasScrollEventHandlers(bool) override {}
166 bool hasScrollEventHandlers() const override { return false; } 166 bool hasScrollEventHandlers() const override { return false; }
167 167
168 void setTouchAction(TouchAction) override {} 168 void setTouchAction(TouchAction) override {}
169 169
170 void didAssociateFormControlsAfterLoad(LocalFrame*) override {} 170 void didAssociateFormControlsAfterLoad(LocalFrame*) override {}
171 171
172 void annotatedRegionsChanged() override {} 172 void annotatedRegionsChanged() override {}
173 String acceptLanguages() override; 173 String acceptLanguages() override;
174 174
175 CompositorProxyClient* createCompositorProxyClient(LocalFrame*) override { r eturn nullptr; } 175 CompositorProxyClient* createCompositorProxyClient(LocalFrame*, WorkerClient s&) override { return nullptr; }
176 176
177 void registerPopupOpeningObserver(PopupOpeningObserver*) override {} 177 void registerPopupOpeningObserver(PopupOpeningObserver*) override {}
178 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override {} 178 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override {}
179 179
180 std::unique_ptr<WebFrameScheduler> createFrameScheduler(BlameContext*) overr ide; 180 std::unique_ptr<WebFrameScheduler> createFrameScheduler(BlameContext*) overr ide;
181 }; 181 };
182 182
183 class CORE_EXPORT EmptyFrameLoaderClient : public FrameLoaderClient { 183 class CORE_EXPORT EmptyFrameLoaderClient : public FrameLoaderClient {
184 WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient); 184 WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient);
185 public: 185 public:
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 ~EmptyContextMenuClient() override {} 328 ~EmptyContextMenuClient() override {}
329 bool showContextMenu(const ContextMenu*, bool) override { return false; } 329 bool showContextMenu(const ContextMenu*, bool) override { return false; }
330 void clearContextMenu() override {} 330 void clearContextMenu() override {}
331 }; 331 };
332 332
333 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 333 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
334 334
335 } // namespace blink 335 } // namespace blink
336 336
337 #endif // EmptyClients_h 337 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698