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

Side by Side Diff: Source/web/WebViewImpl.h

Issue 535313002: Indicate user gesture for mouse down/up while pointer locked. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 months 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 | Annotate | Revision Log
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 663 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 // Whether the webview is rendering transparently. 674 // Whether the webview is rendering transparently.
675 bool m_isTransparent; 675 bool m_isTransparent;
676 676
677 // Whether the user can press tab to focus links. 677 // Whether the user can press tab to focus links.
678 bool m_tabsToLinks; 678 bool m_tabsToLinks;
679 679
680 // If set, the (plugin) node which has mouse capture. 680 // If set, the (plugin) node which has mouse capture.
681 RefPtrWillBePersistent<Node> m_mouseCaptureNode; 681 RefPtrWillBePersistent<Node> m_mouseCaptureNode;
682 RefPtr<UserGestureToken> m_mouseCaptureGestureToken; 682 RefPtr<UserGestureToken> m_mouseCaptureGestureToken;
683 683
684 RefPtr<UserGestureToken> m_pointerLockGestureToken;
685
684 IntRect m_rootLayerScrollDamage; 686 IntRect m_rootLayerScrollDamage;
685 WebLayerTreeView* m_layerTreeView; 687 WebLayerTreeView* m_layerTreeView;
686 WebLayer* m_rootLayer; 688 WebLayer* m_rootLayer;
687 GraphicsLayer* m_rootGraphicsLayer; 689 GraphicsLayer* m_rootGraphicsLayer;
688 GraphicsLayer* m_rootTransformLayer; 690 GraphicsLayer* m_rootTransformLayer;
689 OwnPtr<GraphicsLayerFactory> m_graphicsLayerFactory; 691 OwnPtr<GraphicsLayerFactory> m_graphicsLayerFactory;
690 bool m_isAcceleratedCompositingActive; 692 bool m_isAcceleratedCompositingActive;
691 bool m_layerTreeViewCommitsDeferred; 693 bool m_layerTreeViewCommitsDeferred;
692 bool m_layerTreeViewClosed; 694 bool m_layerTreeViewClosed;
693 bool m_matchesHeuristicsForGpuRasterization; 695 bool m_matchesHeuristicsForGpuRasterization;
(...skipping 22 matching lines...) Expand all
716 bool m_userGestureObserved; 718 bool m_userGestureObserved;
717 }; 719 };
718 720
719 // We have no ways to check if the specified WebView is an instance of 721 // We have no ways to check if the specified WebView is an instance of
720 // WebViewImpl because WebViewImpl is the only implementation of WebView. 722 // WebViewImpl because WebViewImpl is the only implementation of WebView.
721 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 723 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
722 724
723 } // namespace blink 725 } // namespace blink
724 726
725 #endif 727 #endif
OLDNEW
« no previous file with comments | « LayoutTests/pointer-lock/pointerlock-then-fullscreen-expected.txt ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698