| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 | 104 |
| 105 void setMenubarVisible(bool) override {} | 105 void setMenubarVisible(bool) override {} |
| 106 bool menubarVisible() override { return false; } | 106 bool menubarVisible() override { return false; } |
| 107 | 107 |
| 108 void setResizable(bool) override {} | 108 void setResizable(bool) override {} |
| 109 | 109 |
| 110 bool shouldReportDetailedMessageForSource(LocalFrame&, const String&) overri
de { return false; } | 110 bool shouldReportDetailedMessageForSource(LocalFrame&, const String&) overri
de { return false; } |
| 111 void addMessageToConsole(LocalFrame*, MessageSource, MessageLevel, const Str
ing&, unsigned, const String&, const String&) override {} | 111 void addMessageToConsole(LocalFrame*, MessageSource, MessageLevel, const Str
ing&, unsigned, const String&, const String&) override {} |
| 112 | 112 |
| 113 bool canOpenBeforeUnloadConfirmPanel() override { return false; } | 113 bool canOpenBeforeUnloadConfirmPanel() override { return false; } |
| 114 bool openBeforeUnloadConfirmPanelDelegate(LocalFrame*, const String&, bool)
override { return true; } | 114 bool openBeforeUnloadConfirmPanelDelegate(LocalFrame*, bool) override { retu
rn true; } |
| 115 | 115 |
| 116 void closeWindowSoon() override {} | 116 void closeWindowSoon() override {} |
| 117 | 117 |
| 118 bool openJavaScriptAlertDelegate(LocalFrame*, const String&) override { retu
rn false; } | 118 bool openJavaScriptAlertDelegate(LocalFrame*, const String&) override { retu
rn false; } |
| 119 bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) override { re
turn false; } | 119 bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) override { re
turn false; } |
| 120 bool openJavaScriptPromptDelegate(LocalFrame*, const String&, const String&,
String&) override { return false; } | 120 bool openJavaScriptPromptDelegate(LocalFrame*, const String&, const String&,
String&) override { return false; } |
| 121 | 121 |
| 122 bool hasOpenedPopup() const override { return false; } | 122 bool hasOpenedPopup() const override { return false; } |
| 123 PassRefPtrWillBeRawPtr<PopupMenu> openPopupMenu(LocalFrame&, HTMLSelectEleme
nt&) override; | 123 PassRefPtrWillBeRawPtr<PopupMenu> openPopupMenu(LocalFrame&, HTMLSelectEleme
nt&) override; |
| 124 DOMWindow* pagePopupWindowForTesting() const override { return nullptr; } | 124 DOMWindow* pagePopupWindowForTesting() const override { return nullptr; } |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 ~EmptyDragClient() override {} | 335 ~EmptyDragClient() override {} |
| 336 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes
tinationActionNone; } | 336 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes
tinationActionNone; } |
| 337 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*,
LocalFrame*, bool) override {} | 337 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*,
LocalFrame*, bool) override {} |
| 338 }; | 338 }; |
| 339 | 339 |
| 340 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); | 340 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); |
| 341 | 341 |
| 342 } // namespace blink | 342 } // namespace blink |
| 343 | 343 |
| 344 #endif // EmptyClients_h | 344 #endif // EmptyClients_h |
| OLD | NEW |