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

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

Issue 13959008: Remove NonCompositedContentHost (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase. add setBackgroundColor to setIsAcceleratedCompositingActive Created 7 years, 7 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 namespace WebKit { 88 namespace WebKit {
89 class AutocompletePopupMenuClient; 89 class AutocompletePopupMenuClient;
90 class AutofillPopupMenuClient; 90 class AutofillPopupMenuClient;
91 class BatteryClientImpl; 91 class BatteryClientImpl;
92 class ContextFeaturesClientImpl; 92 class ContextFeaturesClientImpl;
93 class ContextMenuClientImpl; 93 class ContextMenuClientImpl;
94 class DeviceOrientationClientProxy; 94 class DeviceOrientationClientProxy;
95 class GeolocationClientProxy; 95 class GeolocationClientProxy;
96 class LinkHighlight; 96 class LinkHighlight;
97 class NonCompositedContentHost;
98 class PrerendererClientImpl; 97 class PrerendererClientImpl;
99 class SpeechInputClientImpl; 98 class SpeechInputClientImpl;
100 class SpeechRecognitionClientProxy; 99 class SpeechRecognitionClientProxy;
101 class UserMediaClientImpl; 100 class UserMediaClientImpl;
102 class ValidationMessageClientImpl; 101 class ValidationMessageClientImpl;
103 class WebAccessibilityObject; 102 class WebAccessibilityObject;
104 class WebActiveGestureAnimation; 103 class WebActiveGestureAnimation;
105 class WebCompositorImpl; 104 class WebCompositorImpl;
106 class WebDevToolsAgentClient; 105 class WebDevToolsAgentClient;
107 class WebDevToolsAgentPrivate; 106 class WebDevToolsAgentPrivate;
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 static const WebInputEvent* currentInputEvent() 519 static const WebInputEvent* currentInputEvent()
521 { 520 {
522 return m_currentInputEvent; 521 return m_currentInputEvent;
523 } 522 }
524 523
525 WebCore::GraphicsLayer* rootGraphicsLayer(); 524 WebCore::GraphicsLayer* rootGraphicsLayer();
526 bool allowsAcceleratedCompositing(); 525 bool allowsAcceleratedCompositing();
527 void setRootGraphicsLayer(WebCore::GraphicsLayer*); 526 void setRootGraphicsLayer(WebCore::GraphicsLayer*);
528 void scheduleCompositingLayerSync(); 527 void scheduleCompositingLayerSync();
529 void scrollRootLayerRect(const WebCore::IntSize& scrollDelta, const WebCore: :IntRect& clipRect); 528 void scrollRootLayerRect(const WebCore::IntSize& scrollDelta, const WebCore: :IntRect& clipRect);
530 void paintRootLayer(WebCore::GraphicsContext&, const WebCore::IntRect& conte ntRect);
531 NonCompositedContentHost* nonCompositedContentHost();
532 void setBackgroundColor(const WebCore::Color&);
533 WebCore::GraphicsLayerFactory* graphicsLayerFactory() const; 529 WebCore::GraphicsLayerFactory* graphicsLayerFactory() const;
534 void registerForAnimations(WebLayer*); 530 void registerForAnimations(WebLayer*);
535 void scheduleAnimation(); 531 void scheduleAnimation();
536 532
537 void didProgrammaticallyScroll(const WebCore::IntPoint& scrollPoint); 533 void didProgrammaticallyScroll(const WebCore::IntPoint& scrollPoint);
538 534
539 virtual void setVisibilityState(WebPageVisibilityState, bool); 535 virtual void setVisibilityState(WebPageVisibilityState, bool);
540 536
541 WebCore::PopupContainer* selectPopup() const { return m_selectPopup.get(); } 537 WebCore::PopupContainer* selectPopup() const { return m_selectPopup.get(); }
542 #if ENABLE(PAGE_POPUP) 538 #if ENABLE(PAGE_POPUP)
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
823 // If set, the WebView is transitioning to fullscreen for this element. 819 // If set, the WebView is transitioning to fullscreen for this element.
824 RefPtr<WebCore::Element> m_provisionalFullScreenElement; 820 RefPtr<WebCore::Element> m_provisionalFullScreenElement;
825 821
826 // If set, the WebView is in fullscreen mode for an element in this frame. 822 // If set, the WebView is in fullscreen mode for an element in this frame.
827 RefPtr<WebCore::Frame> m_fullScreenFrame; 823 RefPtr<WebCore::Frame> m_fullScreenFrame;
828 bool m_isCancelingFullScreen; 824 bool m_isCancelingFullScreen;
829 825
830 WebViewBenchmarkSupportImpl m_benchmarkSupport; 826 WebViewBenchmarkSupportImpl m_benchmarkSupport;
831 827
832 WebCore::IntRect m_rootLayerScrollDamage; 828 WebCore::IntRect m_rootLayerScrollDamage;
833 OwnPtr<NonCompositedContentHost> m_nonCompositedContentHost;
834 WebLayerTreeView* m_layerTreeView; 829 WebLayerTreeView* m_layerTreeView;
835 WebLayer* m_rootLayer; 830 WebLayer* m_rootLayer;
836 WebCore::GraphicsLayer* m_rootGraphicsLayer; 831 WebCore::GraphicsLayer* m_rootGraphicsLayer;
837 OwnPtr<WebCore::GraphicsLayerFactory> m_graphicsLayerFactory; 832 OwnPtr<WebCore::GraphicsLayerFactory> m_graphicsLayerFactory;
838 bool m_isAcceleratedCompositingActive; 833 bool m_isAcceleratedCompositingActive;
839 bool m_layerTreeViewCommitsDeferred; 834 bool m_layerTreeViewCommitsDeferred;
840 bool m_compositorCreationFailed; 835 bool m_compositorCreationFailed;
841 // If true, the graphics context is being restored. 836 // If true, the graphics context is being restored.
842 bool m_recreatingGraphicsContext; 837 bool m_recreatingGraphicsContext;
843 int m_inputHandlerIdentifier; 838 int m_inputHandlerIdentifier;
(...skipping 26 matching lines...) Expand all
870 865
871 bool m_showFPSCounter; 866 bool m_showFPSCounter;
872 bool m_showPaintRects; 867 bool m_showPaintRects;
873 bool m_showDebugBorders; 868 bool m_showDebugBorders;
874 bool m_continuousPaintingEnabled; 869 bool m_continuousPaintingEnabled;
875 }; 870 };
876 871
877 } // namespace WebKit 872 } // namespace WebKit
878 873
879 #endif 874 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698