OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 // Converts |pos| from window coordinates to contents coordinates and gets | 233 // Converts |pos| from window coordinates to contents coordinates and gets |
234 // the HitTestResult for it. | 234 // the HitTestResult for it. |
235 HitTestResult hitTestResultForWindowPos(const IntPoint&); | 235 HitTestResult hitTestResultForWindowPos(const IntPoint&); |
236 | 236 |
237 void doComposite(); | 237 void doComposite(); |
238 void reallocateRenderer(); | 238 void reallocateRenderer(); |
239 | 239 |
240 bool handleCharEvent(const WebKeyboardEvent&); | 240 bool handleCharEvent(const WebKeyboardEvent&); |
241 bool handleGestureEvent(const WebGestureEvent&); | 241 bool handleGestureEvent(const WebGestureEvent&); |
242 bool handleKeyEvent(const WebKeyboardEvent&); | 242 bool handleKeyEvent(const WebKeyboardEvent&); |
243 bool handleTouchEvent(LocalFrame& mainFrame, const WebTouchEvent& event); | |
244 | 243 |
245 InputMethodContext* inputMethodContext(); | 244 InputMethodContext* inputMethodContext(); |
246 | 245 |
247 WebViewClient* m_client; // Can be 0 (e.g. unittests, shared workers, etc.) | 246 WebViewClient* m_client; // Can be 0 (e.g. unittests, shared workers, etc.) |
248 WebSpellCheckClient* m_spellCheckClient; | 247 WebSpellCheckClient* m_spellCheckClient; |
249 | 248 |
250 ChromeClientImpl m_chromeClientImpl; | 249 ChromeClientImpl m_chromeClientImpl; |
251 EditorClientImpl m_editorClientImpl; | 250 EditorClientImpl m_editorClientImpl; |
252 SpellCheckerClientImpl m_spellCheckerClientImpl; | 251 SpellCheckerClientImpl m_spellCheckerClientImpl; |
253 | 252 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 WebColor m_backgroundColorOverride; | 297 WebColor m_backgroundColorOverride; |
299 }; | 298 }; |
300 | 299 |
301 // We have no ways to check if the specified WebView is an instance of | 300 // We have no ways to check if the specified WebView is an instance of |
302 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 301 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
303 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 302 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
304 | 303 |
305 } // namespace blink | 304 } // namespace blink |
306 | 305 |
307 #endif // SKY_ENGINE_WEB_WEBVIEWIMPL_H_ | 306 #endif // SKY_ENGINE_WEB_WEBVIEWIMPL_H_ |
OLD | NEW |