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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 void setStatusbarText(const String&) override {} | 124 void setStatusbarText(const String&) override {} |
125 | 125 |
126 bool tabsToLinks() override { return false; } | 126 bool tabsToLinks() override { return false; } |
127 | 127 |
128 IntRect windowResizerRect() const override { return IntRect(); } | 128 IntRect windowResizerRect() const override { return IntRect(); } |
129 | 129 |
130 void invalidateRect(const IntRect&) override {} | 130 void invalidateRect(const IntRect&) override {} |
131 void scheduleAnimation(Widget*) override {} | 131 void scheduleAnimation(Widget*) override {} |
132 | 132 |
133 IntRect viewportToScreen(const IntRect& r) const override { return r; } | 133 IntRect viewportToScreen(const IntRect& r) const override { return r; } |
| 134 float windowToViewport(float scalar) const override { return scalar; } |
134 WebScreenInfo screenInfo() const override { return WebScreenInfo(); } | 135 WebScreenInfo screenInfo() const override { return WebScreenInfo(); } |
135 void contentsSizeChanged(LocalFrame*, const IntSize&) const override {} | 136 void contentsSizeChanged(LocalFrame*, const IntSize&) const override {} |
136 | 137 |
137 void showMouseOverURL(const HitTestResult&) override {} | 138 void showMouseOverURL(const HitTestResult&) override {} |
138 | 139 |
139 void setToolTip(const String&, TextDirection) override {} | 140 void setToolTip(const String&, TextDirection) override {} |
140 | 141 |
141 void printDelegate(LocalFrame*) override {} | 142 void printDelegate(LocalFrame*) override {} |
142 | 143 |
143 void enumerateChosenDirectory(FileChooser*) override {} | 144 void enumerateChosenDirectory(FileChooser*) override {} |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 ~EmptyDragClient() override {} | 329 ~EmptyDragClient() override {} |
329 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes
tinationActionNone; } | 330 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes
tinationActionNone; } |
330 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*,
LocalFrame*, bool) override {} | 331 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*,
LocalFrame*, bool) override {} |
331 }; | 332 }; |
332 | 333 |
333 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); | 334 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); |
334 | 335 |
335 } // namespace blink | 336 } // namespace blink |
336 | 337 |
337 #endif // EmptyClients_h | 338 #endif // EmptyClients_h |
OLD | NEW |