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

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

Issue 2736523002: Defer ChromeClient::attachRootGraphicsLayer until after compositing update. (Closed)
Patch Set: Created 3 years, 9 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
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 658 matching lines...) Expand 10 before | Expand all | Expand 10 after
669 // The popup associated with an input/select element. 669 // The popup associated with an input/select element.
670 RefPtr<WebPagePopupImpl> m_pagePopup; 670 RefPtr<WebPagePopupImpl> m_pagePopup;
671 671
672 // This stores the last hidden page popup. If a GestureTap attempts to open 672 // This stores the last hidden page popup. If a GestureTap attempts to open
673 // the popup that is closed by its previous GestureTapDown, the popup remains 673 // the popup that is closed by its previous GestureTapDown, the popup remains
674 // closed. 674 // closed.
675 RefPtr<WebPagePopupImpl> m_lastHiddenPagePopup; 675 RefPtr<WebPagePopupImpl> m_lastHiddenPagePopup;
676 676
677 Persistent<DevToolsEmulator> m_devToolsEmulator; 677 Persistent<DevToolsEmulator> m_devToolsEmulator;
678 std::unique_ptr<PageOverlay> m_pageColorOverlay; 678 std::unique_ptr<PageOverlay> m_pageColorOverlay;
679 bool m_needsUpdatePageOverlays;
679 680
680 // Whether the webview is rendering transparently. 681 // Whether the webview is rendering transparently.
681 bool m_isTransparent; 682 bool m_isTransparent;
682 683
683 // Whether the user can press tab to focus links. 684 // Whether the user can press tab to focus links.
684 bool m_tabsToLinks; 685 bool m_tabsToLinks;
685 686
686 // If set, the (plugin) node which has mouse capture. 687 // If set, the (plugin) node which has mouse capture.
687 Persistent<Node> m_mouseCaptureNode; 688 Persistent<Node> m_mouseCaptureNode;
688 RefPtr<UserGestureToken> m_mouseCaptureGestureToken; 689 RefPtr<UserGestureToken> m_mouseCaptureGestureToken;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; 743 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor;
743 }; 744 };
744 745
745 // We have no ways to check if the specified WebView is an instance of 746 // We have no ways to check if the specified WebView is an instance of
746 // WebViewImpl because WebViewImpl is the only implementation of WebView. 747 // WebViewImpl because WebViewImpl is the only implementation of WebView.
747 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 748 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
748 749
749 } // namespace blink 750 } // namespace blink
750 751
751 #endif 752 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698