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 Apple Inc. All rights reserved. | 3 * Copyright (C) 2008, 2009, 2010, 2011 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 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 | 82 |
83 private: | 83 private: |
84 RefPtr<EmptyPopupMenu> m_popup; | 84 RefPtr<EmptyPopupMenu> m_popup; |
85 }; | 85 }; |
86 | 86 |
87 class EmptyChromeClient : public ChromeClient { | 87 class EmptyChromeClient : public ChromeClient { |
88 public: | 88 public: |
89 virtual ~EmptyChromeClient() { } | 89 virtual ~EmptyChromeClient() { } |
90 virtual void chromeDestroyed() { } | 90 virtual void chromeDestroyed() { } |
91 | 91 |
| 92 virtual void* webView() const { return 0; } |
92 virtual void setWindowRect(const FloatRect&) { } | 93 virtual void setWindowRect(const FloatRect&) { } |
93 virtual FloatRect windowRect() { return FloatRect(); } | 94 virtual FloatRect windowRect() { return FloatRect(); } |
94 | 95 |
95 virtual FloatRect pageRect() { return FloatRect(); } | 96 virtual FloatRect pageRect() { return FloatRect(); } |
96 | 97 |
97 virtual float scaleFactor() { return 1.f; } | 98 virtual float scaleFactor() { return 1.f; } |
98 | 99 |
99 virtual void focus() { } | 100 virtual void focus() { } |
100 virtual void unfocus() { } | 101 virtual void unfocus() { } |
101 | 102 |
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
606 virtual void setController(DeviceOrientationController*) { } | 607 virtual void setController(DeviceOrientationController*) { } |
607 virtual void startUpdating() { } | 608 virtual void startUpdating() { } |
608 virtual void stopUpdating() { } | 609 virtual void stopUpdating() { } |
609 virtual DeviceOrientation* lastOrientation() const { return 0; } | 610 virtual DeviceOrientation* lastOrientation() const { return 0; } |
610 virtual void deviceOrientationControllerDestroyed() { } | 611 virtual void deviceOrientationControllerDestroyed() { } |
611 }; | 612 }; |
612 | 613 |
613 } | 614 } |
614 | 615 |
615 #endif // EmptyClients_h | 616 #endif // EmptyClients_h |
OLD | NEW |