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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
164 virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const OVE RRIDE { return false; } | 164 virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const OVE RRIDE { return false; } |
165 | 165 |
166 virtual void didAssociateFormControls(const Vector<RefPtr<Element> >&) OVERR IDE { } | 166 virtual void didAssociateFormControls(const Vector<RefPtr<Element> >&) OVERR IDE { } |
167 | 167 |
168 virtual void popupOpened(PopupContainer* popupContainer, const IntRect& boun ds, bool handleExternal) OVERRIDE { } | 168 virtual void popupOpened(PopupContainer* popupContainer, const IntRect& boun ds, bool handleExternal) OVERRIDE { } |
169 virtual void popupClosed(PopupContainer* popupContainer) OVERRIDE { } | 169 virtual void popupClosed(PopupContainer* popupContainer) OVERRIDE { } |
170 | 170 |
171 virtual void annotatedRegionsChanged() OVERRIDE { } | 171 virtual void annotatedRegionsChanged() OVERRIDE { } |
172 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const IntRect&, const IntRect&) OVERRIDE { return false; } | 172 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const IntRect&, const IntRect&) OVERRIDE { return false; } |
173 virtual String acceptLanguages() OVERRIDE; | 173 virtual String acceptLanguages() OVERRIDE; |
174 | |
175 virtual float minimumPageScaleFactor() const OVERRIDE { return 0; }; | |
176 virtual float maximumPageScaleFactor() const OVERRIDE { return 0; }; | |
Rick Byers
2014/02/14 21:27:53
perhaps 1 would be a better default maximum (and p
| |
174 }; | 177 }; |
175 | 178 |
176 class EmptyFrameLoaderClient FINAL : public FrameLoaderClient { | 179 class EmptyFrameLoaderClient FINAL : public FrameLoaderClient { |
177 WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient); WTF_MAKE_FAST_ALLOCATED; | 180 WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient); WTF_MAKE_FAST_ALLOCATED; |
178 public: | 181 public: |
179 EmptyFrameLoaderClient() { } | 182 EmptyFrameLoaderClient() { } |
180 virtual ~EmptyFrameLoaderClient() { } | 183 virtual ~EmptyFrameLoaderClient() { } |
181 | 184 |
182 virtual bool hasWebView() const OVERRIDE { return true; } // mainly for asse rtions | 185 virtual bool hasWebView() const OVERRIDE { return true; } // mainly for asse rtions |
183 | 186 |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
323 virtual int backListCount() OVERRIDE { return 0; } | 326 virtual int backListCount() OVERRIDE { return 0; } |
324 virtual int forwardListCount() OVERRIDE { return 0; } | 327 virtual int forwardListCount() OVERRIDE { return 0; } |
325 virtual int backForwardListCount() OVERRIDE { return 0; } | 328 virtual int backForwardListCount() OVERRIDE { return 0; } |
326 }; | 329 }; |
327 | 330 |
328 void fillWithEmptyClients(Page::PageClients&); | 331 void fillWithEmptyClients(Page::PageClients&); |
329 | 332 |
330 } | 333 } |
331 | 334 |
332 #endif // EmptyClients_h | 335 #endif // EmptyClients_h |
OLD | NEW |