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 22 matching lines...) Expand all Loading... |
33 #include "core/editing/commands/UndoStep.h" | 33 #include "core/editing/commands/UndoStep.h" |
34 #include "core/loader/FrameLoaderClient.h" | 34 #include "core/loader/FrameLoaderClient.h" |
35 #include "core/page/ChromeClient.h" | 35 #include "core/page/ChromeClient.h" |
36 #include "core/page/ContextMenuClient.h" | 36 #include "core/page/ContextMenuClient.h" |
37 #include "core/page/DragClient.h" | 37 #include "core/page/DragClient.h" |
38 #include "core/page/EditorClient.h" | 38 #include "core/page/EditorClient.h" |
39 #include "core/page/Page.h" | 39 #include "core/page/Page.h" |
40 #include "core/page/SpellCheckerClient.h" | 40 #include "core/page/SpellCheckerClient.h" |
41 #include "platform/DragImage.h" | 41 #include "platform/DragImage.h" |
42 #include "platform/geometry/FloatPoint.h" | 42 #include "platform/geometry/FloatPoint.h" |
| 43 #include "platform/geometry/FloatRect.h" |
43 #include "platform/geometry/IntRect.h" | 44 #include "platform/geometry/IntRect.h" |
44 #include "platform/heap/Handle.h" | 45 #include "platform/heap/Handle.h" |
45 #include "platform/network/ResourceError.h" | 46 #include "platform/network/ResourceError.h" |
46 #include "platform/text/TextCheckerClient.h" | 47 #include "platform/text/TextCheckerClient.h" |
47 #include "public/platform/WebFocusType.h" | 48 #include "public/platform/WebFocusType.h" |
48 #include "public/platform/WebFrameScheduler.h" | 49 #include "public/platform/WebFrameScheduler.h" |
49 #include "public/platform/WebMediaPlayer.h" | 50 #include "public/platform/WebMediaPlayer.h" |
50 #include "public/platform/WebScreenInfo.h" | 51 #include "public/platform/WebScreenInfo.h" |
51 #include "wtf/Forward.h" | 52 #include "wtf/Forward.h" |
52 #include <v8.h> | 53 #include <v8.h> |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 void setStatusbarText(const String&) override {} | 126 void setStatusbarText(const String&) override {} |
126 | 127 |
127 bool tabsToLinks() override { return false; } | 128 bool tabsToLinks() override { return false; } |
128 | 129 |
129 IntRect windowResizerRect() const override { return IntRect(); } | 130 IntRect windowResizerRect() const override { return IntRect(); } |
130 | 131 |
131 void invalidateRect(const IntRect&) override {} | 132 void invalidateRect(const IntRect&) override {} |
132 void scheduleAnimation(Widget*) override {} | 133 void scheduleAnimation(Widget*) override {} |
133 | 134 |
134 IntRect viewportToScreen(const IntRect& r) const override { return r; } | 135 IntRect viewportToScreen(const IntRect& r) const override { return r; } |
| 136 FloatRect windowToViewport(const FloatRect& r) const override { return r; } |
135 WebScreenInfo screenInfo() const override { return WebScreenInfo(); } | 137 WebScreenInfo screenInfo() const override { return WebScreenInfo(); } |
136 void contentsSizeChanged(LocalFrame*, const IntSize&) const override {} | 138 void contentsSizeChanged(LocalFrame*, const IntSize&) const override {} |
137 | 139 |
138 void showMouseOverURL(const HitTestResult&) override {} | 140 void showMouseOverURL(const HitTestResult&) override {} |
139 | 141 |
140 void setToolTip(const String&, TextDirection) override {} | 142 void setToolTip(const String&, TextDirection) override {} |
141 | 143 |
142 void printDelegate(LocalFrame*) override {} | 144 void printDelegate(LocalFrame*) override {} |
143 | 145 |
144 void enumerateChosenDirectory(FileChooser*) override {} | 146 void enumerateChosenDirectory(FileChooser*) override {} |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 ~EmptyDragClient() override {} | 331 ~EmptyDragClient() override {} |
330 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes
tinationActionNone; } | 332 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes
tinationActionNone; } |
331 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*,
LocalFrame*, bool) override {} | 333 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*,
LocalFrame*, bool) override {} |
332 }; | 334 }; |
333 | 335 |
334 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); | 336 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); |
335 | 337 |
336 } // namespace blink | 338 } // namespace blink |
337 | 339 |
338 #endif // EmptyClients_h | 340 #endif // EmptyClients_h |
OLD | NEW |