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

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

Issue 1914023002: [DevTools] Apply emulation root layer transform to innerViewportContainerLayer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 float clampPageScaleFactorToLimits(float) const; 281 float clampPageScaleFactorToLimits(float) const;
282 void resetScaleStateImmediately(); 282 void resetScaleStateImmediately();
283 283
284 HitTestResult coreHitTestResultAt(const WebPoint&); 284 HitTestResult coreHitTestResultAt(const WebPoint&);
285 void invalidateRect(const IntRect&); 285 void invalidateRect(const IntRect&);
286 286
287 void setIgnoreInputEvents(bool newValue); 287 void setIgnoreInputEvents(bool newValue);
288 void setBaseBackgroundColor(WebColor); 288 void setBaseBackgroundColor(WebColor);
289 void setBackgroundColorOverride(WebColor); 289 void setBackgroundColorOverride(WebColor);
290 void setZoomFactorOverride(float); 290 void setZoomFactorOverride(float);
291 void updateShowFPSCounter();
292 void setCompositorDeviceScaleFactorOverride(float); 291 void setCompositorDeviceScaleFactorOverride(float);
293 void setRootLayerTransform(const WebSize& offset, float scale); 292 void setRootLayerTransform(const WebSize& offset, float scale);
294 293
295 Color baseBackgroundColor() const { return m_baseBackgroundColor; } 294 Color baseBackgroundColor() const { return m_baseBackgroundColor; }
296 295
297 WebColor backgroundColorOverride() const { return m_backgroundColorOverride; } 296 WebColor backgroundColorOverride() const { return m_backgroundColorOverride; }
298 297
299 Frame* focusedCoreFrame() const; 298 Frame* focusedCoreFrame() const;
300 299
301 // Returns the currently focused Element or null if no element has focus. 300 // Returns the currently focused Element or null if no element has focus.
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
712 711
713 // If set, the (plugin) node which has mouse capture. 712 // If set, the (plugin) node which has mouse capture.
714 Persistent<Node> m_mouseCaptureNode; 713 Persistent<Node> m_mouseCaptureNode;
715 RefPtr<UserGestureToken> m_mouseCaptureGestureToken; 714 RefPtr<UserGestureToken> m_mouseCaptureGestureToken;
716 715
717 RefPtr<UserGestureToken> m_pointerLockGestureToken; 716 RefPtr<UserGestureToken> m_pointerLockGestureToken;
718 717
719 WebLayerTreeView* m_layerTreeView; 718 WebLayerTreeView* m_layerTreeView;
720 WebLayer* m_rootLayer; 719 WebLayer* m_rootLayer;
721 GraphicsLayer* m_rootGraphicsLayer; 720 GraphicsLayer* m_rootGraphicsLayer;
721 GraphicsLayer* m_containerLayer;
bokan 2016/04/26 15:29:12 Please make this more descriptive. i.e. m_visualVi
dgozman 2016/04/27 01:31:19 Done.
722 bool m_matchesHeuristicsForGpuRasterization; 722 bool m_matchesHeuristicsForGpuRasterization;
723 static const WebInputEvent* m_currentInputEvent; 723 static const WebInputEvent* m_currentInputEvent;
724 724
725 MediaKeysClientImpl m_mediaKeysClientImpl; 725 MediaKeysClientImpl m_mediaKeysClientImpl;
726 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation; 726 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation;
727 WebPoint m_positionOnFlingStart; 727 WebPoint m_positionOnFlingStart;
728 WebPoint m_globalPositionOnFlingStart; 728 WebPoint m_globalPositionOnFlingStart;
729 int m_flingModifier; 729 int m_flingModifier;
730 WebGestureDevice m_flingSourceDevice; 730 WebGestureDevice m_flingSourceDevice;
731 Vector<OwnPtr<LinkHighlightImpl>> m_linkHighlights; 731 Vector<OwnPtr<LinkHighlightImpl>> m_linkHighlights;
732 OwnPtr<CompositorAnimationTimeline> m_linkHighlightsTimeline; 732 OwnPtr<CompositorAnimationTimeline> m_linkHighlightsTimeline;
733 Persistent<FullscreenController> m_fullscreenController; 733 Persistent<FullscreenController> m_fullscreenController;
734 734
735 bool m_showFPSCounter;
736 WebColor m_baseBackgroundColor; 735 WebColor m_baseBackgroundColor;
737 WebColor m_backgroundColorOverride; 736 WebColor m_backgroundColorOverride;
738 float m_zoomFactorOverride; 737 float m_zoomFactorOverride;
739 738
740 bool m_userGestureObserved; 739 bool m_userGestureObserved;
741 bool m_shouldDispatchFirstVisuallyNonEmptyLayout; 740 bool m_shouldDispatchFirstVisuallyNonEmptyLayout;
742 bool m_shouldDispatchFirstLayoutAfterFinishedParsing; 741 bool m_shouldDispatchFirstLayoutAfterFinishedParsing;
743 bool m_shouldDispatchFirstLayoutAfterFinishedLoading; 742 bool m_shouldDispatchFirstLayoutAfterFinishedLoading;
744 WebDisplayMode m_displayMode; 743 WebDisplayMode m_displayMode;
745 744
(...skipping 12 matching lines...) Expand all
758 }; 757 };
759 758
760 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView()); 759 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView());
761 // We have no ways to check if the specified WebView is an instance of 760 // We have no ways to check if the specified WebView is an instance of
762 // WebViewImpl because WebViewImpl is the only implementation of WebView. 761 // WebViewImpl because WebViewImpl is the only implementation of WebView.
763 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 762 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
764 763
765 } // namespace blink 764 } // namespace blink
766 765
767 #endif 766 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/DevToolsEmulator.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698