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

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: 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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 WebPoint m_globalPositionOnFlingStart; 835 WebPoint m_globalPositionOnFlingStart;
833 int m_flingModifier; 836 int m_flingModifier;
834 bool m_flingSourceDevice; 837 bool m_flingSourceDevice;
835 OwnPtr<LinkHighlight> m_linkHighlight; 838 OwnPtr<LinkHighlight> m_linkHighlight;
836 OwnPtr<ValidationMessageClientImpl> m_validationMessage; 839 OwnPtr<ValidationMessageClientImpl> m_validationMessage;
837 840
838 bool m_showFPSCounter; 841 bool m_showFPSCounter;
839 bool m_showPaintRects; 842 bool m_showPaintRects;
840 bool m_showDebugBorders; 843 bool m_showDebugBorders;
841 bool m_continuousPaintingEnabled; 844 bool m_continuousPaintingEnabled;
845
846 OwnPtr<PinchViewports> m_pinchViewports;
842 }; 847 };
843 848
844 } // namespace WebKit 849 } // namespace WebKit
845 850
846 #endif 851 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698