| 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 | 177 |
| 178 // FIXME: Remove this method once we have input routing in the browser | 178 // FIXME: Remove this method once we have input routing in the browser |
| 179 // process. See http://crbug.com/339659. | 179 // process. See http://crbug.com/339659. |
| 180 virtual void forwardInputEvent(WebCore::Frame*, WebCore::Event*) OVERRIDE; | 180 virtual void forwardInputEvent(WebCore::Frame*, WebCore::Event*) OVERRIDE; |
| 181 | 181 |
| 182 virtual void didCancelCompositionOnSelectionChange() OVERRIDE; | 182 virtual void didCancelCompositionOnSelectionChange() OVERRIDE; |
| 183 virtual void willSetInputMethodState() OVERRIDE; | 183 virtual void willSetInputMethodState() OVERRIDE; |
| 184 virtual void didUpdateTextOfFocusedElementByNonUserInput() OVERRIDE; | 184 virtual void didUpdateTextOfFocusedElementByNonUserInput() OVERRIDE; |
| 185 virtual void showImeIfNeeded() OVERRIDE; | 185 virtual void showImeIfNeeded() OVERRIDE; |
| 186 | 186 |
| 187 virtual bool usesGpuRasterization() OVERRIDE; | |
| 188 | |
| 189 private: | 187 private: |
| 190 virtual bool isChromeClientImpl() const OVERRIDE { return true; } | 188 virtual bool isChromeClientImpl() const OVERRIDE { return true; } |
| 191 | 189 |
| 192 WebNavigationPolicy getNavigationPolicy(); | 190 WebNavigationPolicy getNavigationPolicy(); |
| 193 void setCursor(const WebCursorInfo&); | 191 void setCursor(const WebCursorInfo&); |
| 194 | 192 |
| 195 WebViewImpl* m_webView; // weak pointer | 193 WebViewImpl* m_webView; // weak pointer |
| 196 bool m_toolbarsVisible; | 194 bool m_toolbarsVisible; |
| 197 bool m_statusbarVisible; | 195 bool m_statusbarVisible; |
| 198 bool m_scrollbarsVisible; | 196 bool m_scrollbarsVisible; |
| 199 bool m_menubarVisible; | 197 bool m_menubarVisible; |
| 200 bool m_resizable; | 198 bool m_resizable; |
| 201 | 199 |
| 202 WebCore::PagePopupDriver* m_pagePopupDriver; | 200 WebCore::PagePopupDriver* m_pagePopupDriver; |
| 203 }; | 201 }; |
| 204 | 202 |
| 205 DEFINE_TYPE_CASTS(ChromeClientImpl, WebCore::ChromeClient, client, client->isChr
omeClientImpl(), client.isChromeClientImpl()); | 203 DEFINE_TYPE_CASTS(ChromeClientImpl, WebCore::ChromeClient, client, client->isChr
omeClientImpl(), client.isChromeClientImpl()); |
| 206 | 204 |
| 207 } // namespace blink | 205 } // namespace blink |
| 208 | 206 |
| 209 #endif | 207 #endif |
| OLD | NEW |