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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 virtual void runJavaScriptAlert(Frame*, const String&) { } | 114 virtual void runJavaScriptAlert(Frame*, const String&) { } |
115 virtual bool runJavaScriptConfirm(Frame*, const String&) { return false; } | 115 virtual bool runJavaScriptConfirm(Frame*, const String&) { return false; } |
116 virtual bool runJavaScriptPrompt(Frame*, const String&, const String&, Strin
g&) { return false; } | 116 virtual bool runJavaScriptPrompt(Frame*, const String&, const String&, Strin
g&) { return false; } |
117 virtual bool shouldInterruptJavaScript() { return false; } | 117 virtual bool shouldInterruptJavaScript() { return false; } |
118 | 118 |
119 virtual bool selectItemWritingDirectionIsNatural() { return false; } | 119 virtual bool selectItemWritingDirectionIsNatural() { return false; } |
120 virtual bool selectItemAlignmentFollowsMenuWritingDirection() { return false
; } | 120 virtual bool selectItemAlignmentFollowsMenuWritingDirection() { return false
; } |
121 virtual bool hasOpenedPopup() const OVERRIDE { return false; } | 121 virtual bool hasOpenedPopup() const OVERRIDE { return false; } |
122 virtual PassRefPtr<PopupMenu> createPopupMenu(PopupMenuClient*) const OVERRI
DE; | 122 virtual PassRefPtr<PopupMenu> createPopupMenu(PopupMenuClient*) const OVERRI
DE; |
123 virtual PassRefPtr<SearchPopupMenu> createSearchPopupMenu(PopupMenuClient*)
const OVERRIDE; | 123 virtual PassRefPtr<SearchPopupMenu> createSearchPopupMenu(PopupMenuClient*)
const OVERRIDE; |
124 #if ENABLE(PAGE_POPUP) | |
125 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect&) OVERRIDE
{ return 0; } | 124 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect&) OVERRIDE
{ return 0; } |
126 virtual void closePagePopup(PagePopup*) OVERRIDE { } | 125 virtual void closePagePopup(PagePopup*) OVERRIDE { } |
127 virtual void setPagePopupDriver(PagePopupDriver*) OVERRIDE { } | 126 virtual void setPagePopupDriver(PagePopupDriver*) OVERRIDE { } |
128 virtual void resetPagePopupDriver() OVERRIDE { } | 127 virtual void resetPagePopupDriver() OVERRIDE { } |
129 #endif | |
130 | 128 |
131 virtual void setStatusbarText(const String&) { } | 129 virtual void setStatusbarText(const String&) { } |
132 | 130 |
133 virtual KeyboardUIMode keyboardUIMode() { return KeyboardAccessDefault; } | 131 virtual KeyboardUIMode keyboardUIMode() { return KeyboardAccessDefault; } |
134 | 132 |
135 virtual IntRect windowResizerRect() const { return IntRect(); } | 133 virtual IntRect windowResizerRect() const { return IntRect(); } |
136 | 134 |
137 virtual void invalidateRootView(const IntRect&) OVERRIDE { } | 135 virtual void invalidateRootView(const IntRect&) OVERRIDE { } |
138 virtual void invalidateContentsAndRootView(const IntRect&) OVERRIDE { } | 136 virtual void invalidateContentsAndRootView(const IntRect&) OVERRIDE { } |
139 virtual void invalidateContentsForSlowScroll(const IntRect&) OVERRIDE { } | 137 virtual void invalidateContentsForSlowScroll(const IntRect&) OVERRIDE { } |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
483 virtual int forwardListCount() { return 0; } | 481 virtual int forwardListCount() { return 0; } |
484 virtual bool isActive() { return false; } | 482 virtual bool isActive() { return false; } |
485 virtual void close() { } | 483 virtual void close() { } |
486 }; | 484 }; |
487 | 485 |
488 void fillWithEmptyClients(Page::PageClients&); | 486 void fillWithEmptyClients(Page::PageClients&); |
489 | 487 |
490 } | 488 } |
491 | 489 |
492 #endif // EmptyClients_h | 490 #endif // EmptyClients_h |
OLD | NEW |