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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 // ChromeClientImpl: | 153 // ChromeClientImpl: |
154 void setCursorForPlugin(const WebCursorInfo&); | 154 void setCursorForPlugin(const WebCursorInfo&); |
155 void setNewWindowNavigationPolicy(WebNavigationPolicy); | 155 void setNewWindowNavigationPolicy(WebNavigationPolicy); |
156 | 156 |
157 virtual bool hasOpenedPopup() const OVERRIDE; | 157 virtual bool hasOpenedPopup() const OVERRIDE; |
158 virtual PassRefPtr<PopupMenu> createPopupMenu(LocalFrame&, PopupMenuClient*)
const OVERRIDE; | 158 virtual PassRefPtr<PopupMenu> createPopupMenu(LocalFrame&, PopupMenuClient*)
const OVERRIDE; |
159 PagePopup* openPagePopup(PagePopupClient*, const IntRect&); | 159 PagePopup* openPagePopup(PagePopupClient*, const IntRect&); |
160 void closePagePopup(PagePopup*); | 160 void closePagePopup(PagePopup*); |
161 virtual void setPagePopupDriver(PagePopupDriver*) OVERRIDE; | 161 virtual void setPagePopupDriver(PagePopupDriver*) OVERRIDE; |
162 virtual void resetPagePopupDriver() OVERRIDE; | 162 virtual void resetPagePopupDriver() OVERRIDE; |
| 163 virtual PagePopupDriver* pagePopupDriver() const OVERRIDE { return m_pagePop
upDriver; } |
163 | 164 |
164 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons
t String& dialogMessage, Document::PageDismissalType) const OVERRIDE; | 165 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons
t String& dialogMessage, Document::PageDismissalType) const OVERRIDE; |
165 | 166 |
166 virtual bool requestPointerLock() OVERRIDE; | 167 virtual bool requestPointerLock() OVERRIDE; |
167 virtual void requestPointerUnlock() OVERRIDE; | 168 virtual void requestPointerUnlock() OVERRIDE; |
168 | 169 |
169 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem
ber<Element> >&) OVERRIDE; | 170 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem
ber<Element> >&) OVERRIDE; |
170 virtual void didChangeValueInTextField(HTMLFormControlElement&) OVERRIDE; | 171 virtual void didChangeValueInTextField(HTMLFormControlElement&) OVERRIDE; |
171 virtual void didEndEditingOnTextField(HTMLInputElement&) OVERRIDE; | 172 virtual void didEndEditingOnTextField(HTMLInputElement&) OVERRIDE; |
172 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent
&) OVERRIDE; | 173 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent
&) OVERRIDE; |
(...skipping 21 matching lines...) Expand all Loading... |
194 bool m_resizable; | 195 bool m_resizable; |
195 | 196 |
196 PagePopupDriver* m_pagePopupDriver; | 197 PagePopupDriver* m_pagePopupDriver; |
197 }; | 198 }; |
198 | 199 |
199 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); | 200 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); |
200 | 201 |
201 } // namespace blink | 202 } // namespace blink |
202 | 203 |
203 #endif | 204 #endif |
OLD | NEW |