| 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 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 | 422 |
| 423 // Webkit expects keyPress events to be suppressed if the associated keyDown | 423 // Webkit expects keyPress events to be suppressed if the associated keyDown |
| 424 // event was handled. Safari implements this behavior by peeking out the | 424 // event was handled. Safari implements this behavior by peeking out the |
| 425 // associated WM_CHAR event if the keydown was handled. We emulate | 425 // associated WM_CHAR event if the keydown was handled. We emulate |
| 426 // this behavior by setting this flag if the keyDown was handled. | 426 // this behavior by setting this flag if the keyDown was handled. |
| 427 bool m_suppressNextKeypressEvent; | 427 bool m_suppressNextKeypressEvent; |
| 428 | 428 |
| 429 // Represents whether or not this object should process incoming IME events. | 429 // Represents whether or not this object should process incoming IME events. |
| 430 bool m_imeAcceptEvents; | 430 bool m_imeAcceptEvents; |
| 431 | 431 |
| 432 // The available drag operations (copy, move link...) allowed by the source. | |
| 433 WebDragOperation m_operationsAllowed; | |
| 434 | |
| 435 // The current drag operation as negotiated by the source and destination. | |
| 436 // When not equal to DragOperationNone, the drag data can be dropped onto th
e | |
| 437 // current drop target in this WebView (the drop target can accept the drop)
. | |
| 438 WebDragOperation m_dragOperation; | |
| 439 | |
| 440 // Whether the webview is rendering transparently. | 432 // Whether the webview is rendering transparently. |
| 441 bool m_isTransparent; | 433 bool m_isTransparent; |
| 442 | 434 |
| 443 // Whether the user can press tab to focus links. | 435 // Whether the user can press tab to focus links. |
| 444 bool m_tabsToLinks; | 436 bool m_tabsToLinks; |
| 445 | 437 |
| 446 // If set, the (plugin) node which has mouse capture. | 438 // If set, the (plugin) node which has mouse capture. |
| 447 RefPtr<Node> m_mouseCaptureNode; | 439 RefPtr<Node> m_mouseCaptureNode; |
| 448 RefPtr<UserGestureToken> m_mouseCaptureGestureToken; | 440 RefPtr<UserGestureToken> m_mouseCaptureGestureToken; |
| 449 | 441 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 480 bool m_userGestureObserved; | 472 bool m_userGestureObserved; |
| 481 }; | 473 }; |
| 482 | 474 |
| 483 // We have no ways to check if the specified WebView is an instance of | 475 // We have no ways to check if the specified WebView is an instance of |
| 484 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 476 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 485 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 477 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 486 | 478 |
| 487 } // namespace blink | 479 } // namespace blink |
| 488 | 480 |
| 489 #endif | 481 #endif |
| OLD | NEW |