| 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 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; |
| 167 | 167 |
| 168 virtual bool requestPointerLock() override; | 168 virtual bool requestPointerLock() override; |
| 169 virtual void requestPointerUnlock() override; | 169 virtual void requestPointerUnlock() override; |
| 170 | 170 |
| 171 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem
ber<Element> >&) override; | 171 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem
ber<Element> >&) override; |
| 172 virtual void didChangeValueInTextField(HTMLFormControlElement&) override; | 172 virtual void didChangeValueInTextField(HTMLFormControlElement&) override; |
| 173 virtual void didEndEditingOnTextField(HTMLInputElement&) override; | 173 virtual void didEndEditingOnTextField(HTMLInputElement&) override; |
| 174 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent
&) override; | 174 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent
&) override; |
| 175 | 175 |
| 176 // FIXME: Remove this method once we have input routing in the browser | |
| 177 // process. See http://crbug.com/339659. | |
| 178 virtual void forwardInputEvent(RemoteFrame*, Event*) override; | |
| 179 | |
| 180 virtual void didCancelCompositionOnSelectionChange() override; | 176 virtual void didCancelCompositionOnSelectionChange() override; |
| 181 virtual void willSetInputMethodState() override; | 177 virtual void willSetInputMethodState() override; |
| 182 virtual void didUpdateTextOfFocusedElementByNonUserInput() override; | 178 virtual void didUpdateTextOfFocusedElementByNonUserInput() override; |
| 183 virtual void showImeIfNeeded() override; | 179 virtual void showImeIfNeeded() override; |
| 184 | 180 |
| 185 private: | 181 private: |
| 186 virtual bool isChromeClientImpl() const override { return true; } | 182 virtual bool isChromeClientImpl() const override { return true; } |
| 187 | 183 |
| 188 WebNavigationPolicy getNavigationPolicy(); | 184 WebNavigationPolicy getNavigationPolicy(); |
| 189 void setCursor(const WebCursorInfo&); | 185 void setCursor(const WebCursorInfo&); |
| 190 | 186 |
| 191 WebViewImpl* m_webView; // weak pointer | 187 WebViewImpl* m_webView; // weak pointer |
| 192 bool m_toolbarsVisible; | 188 bool m_toolbarsVisible; |
| 193 bool m_statusbarVisible; | 189 bool m_statusbarVisible; |
| 194 bool m_scrollbarsVisible; | 190 bool m_scrollbarsVisible; |
| 195 bool m_menubarVisible; | 191 bool m_menubarVisible; |
| 196 bool m_resizable; | 192 bool m_resizable; |
| 197 | 193 |
| 198 PagePopupDriver* m_pagePopupDriver; | 194 PagePopupDriver* m_pagePopupDriver; |
| 199 }; | 195 }; |
| 200 | 196 |
| 201 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); | 197 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); |
| 202 | 198 |
| 203 } // namespace blink | 199 } // namespace blink |
| 204 | 200 |
| 205 #endif | 201 #endif |
| OLD | NEW |