OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 // ChromeClientImpl: | 154 // ChromeClientImpl: |
155 void setCursorForPlugin(const WebCursorInfo&); | 155 void setCursorForPlugin(const WebCursorInfo&); |
156 void setNewWindowNavigationPolicy(WebNavigationPolicy); | 156 void setNewWindowNavigationPolicy(WebNavigationPolicy); |
157 | 157 |
158 virtual bool hasOpenedPopup() const OVERRIDE; | 158 virtual bool hasOpenedPopup() const OVERRIDE; |
159 virtual PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, Popup
MenuClient*) const OVERRIDE; | 159 virtual PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, Popup
MenuClient*) const OVERRIDE; |
160 PagePopup* openPagePopup(PagePopupClient*, const IntRect&); | 160 PagePopup* openPagePopup(PagePopupClient*, const IntRect&); |
161 void closePagePopup(PagePopup*); | 161 void closePagePopup(PagePopup*); |
162 virtual void setPagePopupDriver(PagePopupDriver*) OVERRIDE; | 162 virtual void setPagePopupDriver(PagePopupDriver*) OVERRIDE; |
163 virtual void resetPagePopupDriver() OVERRIDE; | 163 virtual void resetPagePopupDriver() OVERRIDE; |
| 164 virtual PagePopupDriver* pagePopupDriver() const OVERRIDE { return m_pagePop
upDriver; } |
164 | 165 |
165 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons
t String& dialogMessage, Document::PageDismissalType) const OVERRIDE; | 166 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons
t String& dialogMessage, Document::PageDismissalType) const OVERRIDE; |
166 | 167 |
167 virtual bool requestPointerLock() OVERRIDE; | 168 virtual bool requestPointerLock() OVERRIDE; |
168 virtual void requestPointerUnlock() OVERRIDE; | 169 virtual void requestPointerUnlock() OVERRIDE; |
169 | 170 |
170 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem
ber<Element> >&) OVERRIDE; | 171 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem
ber<Element> >&) OVERRIDE; |
171 virtual void didChangeValueInTextField(HTMLFormControlElement&) OVERRIDE; | 172 virtual void didChangeValueInTextField(HTMLFormControlElement&) OVERRIDE; |
172 virtual void didEndEditingOnTextField(HTMLInputElement&) OVERRIDE; | 173 virtual void didEndEditingOnTextField(HTMLInputElement&) OVERRIDE; |
173 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent
&) OVERRIDE; | 174 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent
&) OVERRIDE; |
(...skipping 21 matching lines...) Expand all Loading... |
195 bool m_resizable; | 196 bool m_resizable; |
196 | 197 |
197 PagePopupDriver* m_pagePopupDriver; | 198 PagePopupDriver* m_pagePopupDriver; |
198 }; | 199 }; |
199 | 200 |
200 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); | 201 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); |
201 | 202 |
202 } // namespace blink | 203 } // namespace blink |
203 | 204 |
204 #endif | 205 #endif |
OLD | NEW |