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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 virtual void needTouchEvents(bool) OVERRIDE { } | 155 virtual void needTouchEvents(bool) OVERRIDE { } |
156 virtual void setTouchAction(TouchAction touchAction) OVERRIDE { }; | 156 virtual void setTouchAction(TouchAction touchAction) OVERRIDE { }; |
157 | 157 |
158 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem
ber<Element> >&) OVERRIDE { } | 158 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem
ber<Element> >&) OVERRIDE { } |
159 | 159 |
160 virtual void annotatedRegionsChanged() OVERRIDE { } | 160 virtual void annotatedRegionsChanged() OVERRIDE { } |
161 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const
IntRect&, const IntRect&) OVERRIDE { return false; } | 161 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const
IntRect&, const IntRect&) OVERRIDE { return false; } |
162 virtual String acceptLanguages() OVERRIDE; | 162 virtual String acceptLanguages() OVERRIDE; |
163 }; | 163 }; |
164 | 164 |
165 class EmptyFrameLoaderClient FINAL : public FrameLoaderClient { | 165 class EmptyFrameLoaderClient : public FrameLoaderClient { |
166 WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient); WTF_MAKE_FAST_ALLOCATED; | 166 WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient); WTF_MAKE_FAST_ALLOCATED; |
167 public: | 167 public: |
168 EmptyFrameLoaderClient() { } | 168 EmptyFrameLoaderClient() { } |
169 virtual ~EmptyFrameLoaderClient() { } | 169 virtual ~EmptyFrameLoaderClient() { } |
170 | 170 |
171 virtual bool hasWebView() const OVERRIDE { return true; } // mainly for asse
rtions | 171 virtual bool hasWebView() const OVERRIDE { return true; } // mainly for asse
rtions |
172 | 172 |
173 virtual Frame* opener() const OVERRIDE { return 0; } | 173 virtual Frame* opener() const OVERRIDE { return 0; } |
174 virtual void setOpener(Frame*) OVERRIDE { } | 174 virtual void setOpener(Frame*) OVERRIDE { } |
175 | 175 |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 public: | 332 public: |
333 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() OVERRID
E; | 333 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() OVERRID
E; |
334 virtual bool canAccessStorage(LocalFrame*, StorageType) const OVERRIDE { ret
urn false; } | 334 virtual bool canAccessStorage(LocalFrame*, StorageType) const OVERRIDE { ret
urn false; } |
335 }; | 335 }; |
336 | 336 |
337 void fillWithEmptyClients(Page::PageClients&); | 337 void fillWithEmptyClients(Page::PageClients&); |
338 | 338 |
339 } | 339 } |
340 | 340 |
341 #endif // EmptyClients_h | 341 #endif // EmptyClients_h |
OLD | NEW |