| 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 virtual String acceptLanguages() override; | 148 virtual String acceptLanguages() override; |
| 149 | 149 |
| 150 // ChromeClientImpl: | 150 // ChromeClientImpl: |
| 151 void setCursorForPlugin(const WebCursorInfo&); | 151 void setCursorForPlugin(const WebCursorInfo&); |
| 152 void setNewWindowNavigationPolicy(WebNavigationPolicy); | 152 void setNewWindowNavigationPolicy(WebNavigationPolicy); |
| 153 | 153 |
| 154 virtual bool hasOpenedPopup() const override; | 154 virtual bool hasOpenedPopup() const override; |
| 155 virtual PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, Popup
MenuClient*) const override; | 155 virtual PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, Popup
MenuClient*) const override; |
| 156 PagePopup* openPagePopup(PagePopupClient*, const IntRect&); | 156 PagePopup* openPagePopup(PagePopupClient*, const IntRect&); |
| 157 void closePagePopup(PagePopup*); | 157 void closePagePopup(PagePopup*); |
| 158 virtual void setPagePopupDriver(PagePopupDriver*) override; | 158 virtual DOMWindow* pagePopupWindowForTesting() const override; |
| 159 virtual void resetPagePopupDriver() override; | |
| 160 virtual PagePopupDriver* pagePopupDriver() const override { return m_pagePop
upDriver; } | |
| 161 | 159 |
| 162 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons
t String& dialogMessage, Document::PageDismissalType) const override; | 160 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons
t String& dialogMessage, Document::PageDismissalType) const override; |
| 163 | 161 |
| 164 virtual bool requestPointerLock() override; | 162 virtual bool requestPointerLock() override; |
| 165 virtual void requestPointerUnlock() override; | 163 virtual void requestPointerUnlock() override; |
| 166 | 164 |
| 167 // AutofillClient pass throughs: | 165 // AutofillClient pass throughs: |
| 168 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem
ber<Element> >&, LocalFrame*) override; | 166 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem
ber<Element> >&, LocalFrame*) override; |
| 169 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent
&) override; | 167 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent
&) override; |
| 170 virtual void didChangeValueInTextField(HTMLFormControlElement&) override; | 168 virtual void didChangeValueInTextField(HTMLFormControlElement&) override; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 187 WindowFeatures m_windowFeatures; | 185 WindowFeatures m_windowFeatures; |
| 188 | 186 |
| 189 PagePopupDriver* m_pagePopupDriver; | 187 PagePopupDriver* m_pagePopupDriver; |
| 190 }; | 188 }; |
| 191 | 189 |
| 192 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); | 190 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); |
| 193 | 191 |
| 194 } // namespace blink | 192 } // namespace blink |
| 195 | 193 |
| 196 #endif | 194 #endif |
| OLD | NEW |