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

Side by Side Diff: Source/WebKit/chromium/src/WebViewImpl.h

Issue 16799005: Insert pinch zoom virtual viewport layers to graphics layer tree. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments. Created 7 years, 6 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 class HitTestResult; 74 class HitTestResult;
75 class KeyboardEvent; 75 class KeyboardEvent;
76 class Page; 76 class Page;
77 class PageGroup; 77 class PageGroup;
78 class PagePopup; 78 class PagePopup;
79 class PagePopupClient; 79 class PagePopupClient;
80 class PlatformKeyboardEvent; 80 class PlatformKeyboardEvent;
81 class PopupContainer; 81 class PopupContainer;
82 class PopupMenuClient; 82 class PopupMenuClient;
83 class Range; 83 class Range;
84 class RenderLayerCompositor;
84 class RenderTheme; 85 class RenderTheme;
85 class TextFieldDecorator; 86 class TextFieldDecorator;
86 class Widget; 87 class Widget;
87 } 88 }
88 89
89 namespace WebKit { 90 namespace WebKit {
90 class AutocompletePopupMenuClient; 91 class AutocompletePopupMenuClient;
91 class AutofillPopupMenuClient; 92 class AutofillPopupMenuClient;
92 class ContextFeaturesClientImpl; 93 class ContextFeaturesClientImpl;
93 class ContextMenuClientImpl; 94 class ContextMenuClientImpl;
94 class DeviceOrientationClientProxy; 95 class DeviceOrientationClientProxy;
95 class GeolocationClientProxy; 96 class GeolocationClientProxy;
96 class LinkHighlight; 97 class LinkHighlight;
98 class PinchViewports;
97 class PrerendererClientImpl; 99 class PrerendererClientImpl;
98 class SpeechInputClientImpl; 100 class SpeechInputClientImpl;
99 class SpeechRecognitionClientProxy; 101 class SpeechRecognitionClientProxy;
100 class UserMediaClientImpl; 102 class UserMediaClientImpl;
101 class ValidationMessageClientImpl; 103 class ValidationMessageClientImpl;
102 class WebAccessibilityObject; 104 class WebAccessibilityObject;
103 class WebActiveGestureAnimation; 105 class WebActiveGestureAnimation;
104 class WebCompositorImpl; 106 class WebCompositorImpl;
105 class WebDevToolsAgentClient; 107 class WebDevToolsAgentClient;
106 class WebDevToolsAgentPrivate; 108 class WebDevToolsAgentPrivate;
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 { 511 {
510 return m_currentInputEvent; 512 return m_currentInputEvent;
511 } 513 }
512 514
513 WebCore::GraphicsLayer* rootGraphicsLayer(); 515 WebCore::GraphicsLayer* rootGraphicsLayer();
514 bool allowsAcceleratedCompositing(); 516 bool allowsAcceleratedCompositing();
515 void setRootGraphicsLayer(WebCore::GraphicsLayer*); 517 void setRootGraphicsLayer(WebCore::GraphicsLayer*);
516 void scheduleCompositingLayerSync(); 518 void scheduleCompositingLayerSync();
517 void scrollRootLayerRect(const WebCore::IntSize& scrollDelta, const WebCore: :IntRect& clipRect); 519 void scrollRootLayerRect(const WebCore::IntSize& scrollDelta, const WebCore: :IntRect& clipRect);
518 WebCore::GraphicsLayerFactory* graphicsLayerFactory() const; 520 WebCore::GraphicsLayerFactory* graphicsLayerFactory() const;
521 WebCore::RenderLayerCompositor* compositor() const;
519 void registerForAnimations(WebLayer*); 522 void registerForAnimations(WebLayer*);
520 void scheduleAnimation(); 523 void scheduleAnimation();
521 524
522 void didProgrammaticallyScroll(const WebCore::IntPoint& scrollPoint); 525 void didProgrammaticallyScroll(const WebCore::IntPoint& scrollPoint);
523 526
524 virtual void setVisibilityState(WebPageVisibilityState, bool); 527 virtual void setVisibilityState(WebPageVisibilityState, bool);
525 528
526 WebCore::PopupContainer* selectPopup() const { return m_selectPopup.get(); } 529 WebCore::PopupContainer* selectPopup() const { return m_selectPopup.get(); }
527 bool hasOpenedPopup() const { return m_selectPopup || m_pagePopup; } 530 bool hasOpenedPopup() const { return m_selectPopup || m_pagePopup; }
528 531
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 WebLayerTreeView* m_layerTreeView; 808 WebLayerTreeView* m_layerTreeView;
806 WebLayer* m_rootLayer; 809 WebLayer* m_rootLayer;
807 WebCore::GraphicsLayer* m_rootGraphicsLayer; 810 WebCore::GraphicsLayer* m_rootGraphicsLayer;
808 OwnPtr<WebCore::GraphicsLayerFactory> m_graphicsLayerFactory; 811 OwnPtr<WebCore::GraphicsLayerFactory> m_graphicsLayerFactory;
809 bool m_isAcceleratedCompositingActive; 812 bool m_isAcceleratedCompositingActive;
810 bool m_layerTreeViewCommitsDeferred; 813 bool m_layerTreeViewCommitsDeferred;
811 bool m_compositorCreationFailed; 814 bool m_compositorCreationFailed;
812 // If true, the graphics context is being restored. 815 // If true, the graphics context is being restored.
813 bool m_recreatingGraphicsContext; 816 bool m_recreatingGraphicsContext;
814 static const WebInputEvent* m_currentInputEvent; 817 static const WebInputEvent* m_currentInputEvent;
818 OwnPtr<PinchViewports> m_pinchViewports;
815 819
816 #if ENABLE(INPUT_SPEECH) 820 #if ENABLE(INPUT_SPEECH)
817 OwnPtr<SpeechInputClientImpl> m_speechInputClient; 821 OwnPtr<SpeechInputClientImpl> m_speechInputClient;
818 #endif 822 #endif
819 OwnPtr<SpeechRecognitionClientProxy> m_speechRecognitionClient; 823 OwnPtr<SpeechRecognitionClientProxy> m_speechRecognitionClient;
820 824
821 OwnPtr<DeviceOrientationClientProxy> m_deviceOrientationClientProxy; 825 OwnPtr<DeviceOrientationClientProxy> m_deviceOrientationClientProxy;
822 OwnPtr<GeolocationClientProxy> m_geolocationClientProxy; 826 OwnPtr<GeolocationClientProxy> m_geolocationClientProxy;
823 827
824 float m_emulatedTextZoomFactor; 828 float m_emulatedTextZoomFactor;
(...skipping 12 matching lines...) Expand all
837 841
838 bool m_showFPSCounter; 842 bool m_showFPSCounter;
839 bool m_showPaintRects; 843 bool m_showPaintRects;
840 bool m_showDebugBorders; 844 bool m_showDebugBorders;
841 bool m_continuousPaintingEnabled; 845 bool m_continuousPaintingEnabled;
842 }; 846 };
843 847
844 } // namespace WebKit 848 } // namespace WebKit
845 849
846 #endif 850 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698