Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: sky/engine/web/WebViewImpl.h

Issue 693603005: Remove lots of dead web/ classes. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/engine/web/WebSurroundingText.cpp ('k') | sky/engine/web/WebViewImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « sky/engine/web/WebSurroundingText.cpp ('k') | sky/engine/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698