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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 virtual void setCursor(const Cursor&) override { } | 145 virtual void setCursor(const Cursor&) override { } |
146 | 146 |
147 virtual void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot)
override { } | 147 virtual void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot)
override { } |
148 | 148 |
149 virtual void needTouchEvents(bool) override { } | 149 virtual void needTouchEvents(bool) override { } |
150 virtual void setTouchAction(TouchAction touchAction) override { }; | 150 virtual void setTouchAction(TouchAction touchAction) override { }; |
151 | 151 |
152 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem
ber<Element>>&, LocalFrame* frame) override { } | 152 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem
ber<Element>>&, LocalFrame* frame) override { } |
153 | 153 |
154 virtual void annotatedRegionsChanged() override { } | 154 virtual void annotatedRegionsChanged() override { } |
155 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const
IntRect&, const IntRect&) override { return false; } | |
156 virtual String acceptLanguages() override; | 155 virtual String acceptLanguages() override; |
157 }; | 156 }; |
158 | 157 |
159 class CORE_EXPORT EmptyFrameLoaderClient : public FrameLoaderClient { | 158 class CORE_EXPORT EmptyFrameLoaderClient : public FrameLoaderClient { |
160 WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient); WTF_MAKE_FAST_ALLOCATED(EmptyF
rameLoaderClient); | 159 WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient); WTF_MAKE_FAST_ALLOCATED(EmptyF
rameLoaderClient); |
161 public: | 160 public: |
162 EmptyFrameLoaderClient() { } | 161 EmptyFrameLoaderClient() { } |
163 virtual ~EmptyFrameLoaderClient() { } | 162 virtual ~EmptyFrameLoaderClient() { } |
164 | 163 |
165 virtual bool hasWebView() const override { return true; } // mainly for asse
rtions | 164 virtual bool hasWebView() const override { return true; } // mainly for asse
rtions |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 virtual ~EmptyDragClient() {} | 307 virtual ~EmptyDragClient() {} |
309 virtual DragDestinationAction actionMaskForDrag(DragData*) override { return
DragDestinationActionNone; } | 308 virtual DragDestinationAction actionMaskForDrag(DragData*) override { return
DragDestinationActionNone; } |
310 virtual void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTra
nsfer*, LocalFrame*, bool) override { } | 309 virtual void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTra
nsfer*, LocalFrame*, bool) override { } |
311 }; | 310 }; |
312 | 311 |
313 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); | 312 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); |
314 | 313 |
315 } | 314 } |
316 | 315 |
317 #endif // EmptyClients_h | 316 #endif // EmptyClients_h |
OLD | NEW |