OLD | NEW |
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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 void setTouchAction(TouchAction) override {} | 163 void setTouchAction(TouchAction) override {} |
164 | 164 |
165 void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMember<Elem
ent>>&, LocalFrame*) override {} | 165 void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMember<Elem
ent>>&, LocalFrame*) override {} |
166 | 166 |
167 void annotatedRegionsChanged() override {} | 167 void annotatedRegionsChanged() override {} |
168 String acceptLanguages() override; | 168 String acceptLanguages() override; |
169 | 169 |
170 void registerPopupOpeningObserver(PopupOpeningObserver*) override {} | 170 void registerPopupOpeningObserver(PopupOpeningObserver*) override {} |
171 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override {} | 171 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override {} |
172 | 172 |
173 PassOwnPtr<WebFrameScheduler> createFrameScheduler() override; | 173 PassOwnPtr<WebFrameScheduler> createFrameScheduler(BlameContext*) override; |
174 }; | 174 }; |
175 | 175 |
176 class CORE_EXPORT EmptyFrameLoaderClient : public FrameLoaderClient { | 176 class CORE_EXPORT EmptyFrameLoaderClient : public FrameLoaderClient { |
177 WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient); | 177 WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient); |
178 USING_FAST_MALLOC_WILL_BE_REMOVED(EmptyFrameLoaderClient); | 178 USING_FAST_MALLOC_WILL_BE_REMOVED(EmptyFrameLoaderClient); |
179 public: | 179 public: |
180 static PassOwnPtrWillBeRawPtr<EmptyFrameLoaderClient> create() { return adop
tPtrWillBeNoop(new EmptyFrameLoaderClient); } | 180 static PassOwnPtrWillBeRawPtr<EmptyFrameLoaderClient> create() { return adop
tPtrWillBeNoop(new EmptyFrameLoaderClient); } |
181 ~EmptyFrameLoaderClient() override {} | 181 ~EmptyFrameLoaderClient() override {} |
182 | 182 |
183 bool hasWebView() const override { return true; } // mainly for assertions | 183 bool hasWebView() const override { return true; } // mainly for assertions |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 ~EmptyDragClient() override {} | 336 ~EmptyDragClient() override {} |
337 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes
tinationActionNone; } | 337 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes
tinationActionNone; } |
338 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*,
LocalFrame*, bool) override {} | 338 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*,
LocalFrame*, bool) override {} |
339 }; | 339 }; |
340 | 340 |
341 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); | 341 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); |
342 | 342 |
343 } // namespace blink | 343 } // namespace blink |
344 | 344 |
345 #endif // EmptyClients_h | 345 #endif // EmptyClients_h |
OLD | NEW |