| 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 }; | 156 }; |
| 157 | 157 |
| 158 class CORE_EXPORT EmptyFrameLoaderClient : public FrameLoaderClient { | 158 class CORE_EXPORT EmptyFrameLoaderClient : public FrameLoaderClient { |
| 159 WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient); WTF_MAKE_FAST_ALLOCATED(EmptyF
rameLoaderClient); | 159 WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient); WTF_MAKE_FAST_ALLOCATED(EmptyF
rameLoaderClient); |
| 160 public: | 160 public: |
| 161 EmptyFrameLoaderClient() { } | 161 EmptyFrameLoaderClient() { } |
| 162 virtual ~EmptyFrameLoaderClient() { } | 162 virtual ~EmptyFrameLoaderClient() { } |
| 163 | 163 |
| 164 virtual bool hasWebView() const override { return true; } // mainly for asse
rtions | 164 virtual bool hasWebView() const override { return true; } // mainly for asse
rtions |
| 165 | 165 |
| 166 virtual bool inShadowTree() const override { return false; } |
| 167 |
| 166 virtual Frame* opener() const override { return 0; } | 168 virtual Frame* opener() const override { return 0; } |
| 167 virtual void setOpener(Frame*) override { } | 169 virtual void setOpener(Frame*) override { } |
| 168 | 170 |
| 169 virtual Frame* parent() const override { return 0; } | 171 virtual Frame* parent() const override { return 0; } |
| 170 virtual Frame* top() const override { return 0; } | 172 virtual Frame* top() const override { return 0; } |
| 171 virtual Frame* previousSibling() const override { return 0; } | 173 virtual Frame* previousSibling() const override { return 0; } |
| 172 virtual Frame* nextSibling() const override { return 0; } | 174 virtual Frame* nextSibling() const override { return 0; } |
| 173 virtual Frame* firstChild() const override { return 0; } | 175 virtual Frame* firstChild() const override { return 0; } |
| 174 virtual Frame* lastChild() const override { return 0; } | 176 virtual Frame* lastChild() const override { return 0; } |
| 175 virtual void willBeDetached() override { } | 177 virtual void willBeDetached() override { } |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 virtual ~EmptyDragClient() {} | 309 virtual ~EmptyDragClient() {} |
| 308 virtual DragDestinationAction actionMaskForDrag(DragData*) override { return
DragDestinationActionNone; } | 310 virtual DragDestinationAction actionMaskForDrag(DragData*) override { return
DragDestinationActionNone; } |
| 309 virtual void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTra
nsfer*, LocalFrame*, bool) override { } | 311 virtual void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTra
nsfer*, LocalFrame*, bool) override { } |
| 310 }; | 312 }; |
| 311 | 313 |
| 312 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); | 314 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); |
| 313 | 315 |
| 314 } // namespace blink | 316 } // namespace blink |
| 315 | 317 |
| 316 #endif // EmptyClients_h | 318 #endif // EmptyClients_h |
| OLD | NEW |