| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 | 95 |
| 96 virtual void setToolTip(const String&, TextDirection) override { } | 96 virtual void setToolTip(const String&, TextDirection) override { } |
| 97 | 97 |
| 98 virtual void setCursor(const Cursor&) override { } | 98 virtual void setCursor(const Cursor&) override { } |
| 99 | 99 |
| 100 virtual void attachRootGraphicsLayer(GraphicsLayer*) override { } | 100 virtual void attachRootGraphicsLayer(GraphicsLayer*) override { } |
| 101 | 101 |
| 102 virtual void needTouchEvents(bool) override { } | 102 virtual void needTouchEvents(bool) override { } |
| 103 virtual void setTouchAction(TouchAction touchAction) override { }; | 103 virtual void setTouchAction(TouchAction touchAction) override { }; |
| 104 | 104 |
| 105 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const
IntRect&, const IntRect&) override { return false; } | |
| 106 virtual String acceptLanguages() override; | 105 virtual String acceptLanguages() override; |
| 107 }; | 106 }; |
| 108 | 107 |
| 109 class EmptyFrameLoaderClient : public FrameLoaderClient { | 108 class EmptyFrameLoaderClient : public FrameLoaderClient { |
| 110 WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient); WTF_MAKE_FAST_ALLOCATED; | 109 WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient); WTF_MAKE_FAST_ALLOCATED; |
| 111 public: | 110 public: |
| 112 EmptyFrameLoaderClient() { } | 111 EmptyFrameLoaderClient() { } |
| 113 virtual ~EmptyFrameLoaderClient() { } | 112 virtual ~EmptyFrameLoaderClient() { } |
| 114 | 113 |
| 115 virtual void detachedFromParent() override { } | 114 virtual void detachedFromParent() override { } |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 virtual bool canPaste(LocalFrame*, bool defaultValue) const override { retur
n defaultValue; } | 185 virtual bool canPaste(LocalFrame*, bool defaultValue) const override { retur
n defaultValue; } |
| 187 | 186 |
| 188 virtual bool handleKeyboardEvent() override { return false; } | 187 virtual bool handleKeyboardEvent() override { return false; } |
| 189 }; | 188 }; |
| 190 | 189 |
| 191 void fillWithEmptyClients(Page::PageClients&); | 190 void fillWithEmptyClients(Page::PageClients&); |
| 192 | 191 |
| 193 } | 192 } |
| 194 | 193 |
| 195 #endif // EmptyClients_h | 194 #endif // EmptyClients_h |
| OLD | NEW |