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

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

Issue 517043003: Move Frame to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Back out non-Oilpan experiment + tidy up by adding frame() ref accessors Created 6 years, 3 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 18 matching lines...) Expand all
29 */ 29 */
30 30
31 #ifndef WebViewImpl_h 31 #ifndef WebViewImpl_h
32 #define WebViewImpl_h 32 #define WebViewImpl_h
33 33
34 #include "core/page/EventWithHitTestResults.h" 34 #include "core/page/EventWithHitTestResults.h"
35 #include "core/page/PagePopupDriver.h" 35 #include "core/page/PagePopupDriver.h"
36 #include "platform/geometry/IntPoint.h" 36 #include "platform/geometry/IntPoint.h"
37 #include "platform/geometry/IntRect.h" 37 #include "platform/geometry/IntRect.h"
38 #include "platform/graphics/GraphicsLayer.h" 38 #include "platform/graphics/GraphicsLayer.h"
39 #include "platform/heap/Handle.h"
39 #include "public/platform/WebGestureCurveTarget.h" 40 #include "public/platform/WebGestureCurveTarget.h"
40 #include "public/platform/WebLayer.h" 41 #include "public/platform/WebLayer.h"
41 #include "public/platform/WebPoint.h" 42 #include "public/platform/WebPoint.h"
42 #include "public/platform/WebRect.h" 43 #include "public/platform/WebRect.h"
43 #include "public/platform/WebSize.h" 44 #include "public/platform/WebSize.h"
44 #include "public/platform/WebString.h" 45 #include "public/platform/WebString.h"
45 #include "public/platform/WebVector.h" 46 #include "public/platform/WebVector.h"
46 #include "public/web/WebInputEvent.h" 47 #include "public/web/WebInputEvent.h"
47 #include "public/web/WebNavigationPolicy.h" 48 #include "public/web/WebNavigationPolicy.h"
48 #include "public/web/WebView.h" 49 #include "public/web/WebView.h"
(...skipping 18 matching lines...) Expand all
67 class DataObject; 68 class DataObject;
68 class Frame; 69 class Frame;
69 class FullscreenController; 70 class FullscreenController;
70 class LinkHighlight; 71 class LinkHighlight;
71 class PopupContainer; 72 class PopupContainer;
72 class RenderLayerCompositor; 73 class RenderLayerCompositor;
73 class UserGestureToken; 74 class UserGestureToken;
74 class WebActiveGestureAnimation; 75 class WebActiveGestureAnimation;
75 class WebDevToolsAgentPrivate; 76 class WebDevToolsAgentPrivate;
76 class WebLocalFrameImpl; 77 class WebLocalFrameImpl;
78 class WebRemoteFrameImpl;
77 class WebImage; 79 class WebImage;
78 class WebPagePopupImpl; 80 class WebPagePopupImpl;
79 class WebPlugin; 81 class WebPlugin;
80 class WebSettingsImpl; 82 class WebSettingsImpl;
81 83
82 class WebViewImpl FINAL : public WebView 84 class WebViewImpl FINAL : public WebView
83 , public RefCounted<WebViewImpl> 85 , public RefCounted<WebViewImpl>
84 , public WebGestureCurveTarget 86 , public WebGestureCurveTarget
85 , public PagePopupDriver 87 , public PagePopupDriver
86 , public PageWidgetEventHandler { 88 , public PageWidgetEventHandler {
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 bool m_recreatingGraphicsContext; 708 bool m_recreatingGraphicsContext;
707 static const WebInputEvent* m_currentInputEvent; 709 static const WebInputEvent* m_currentInputEvent;
708 710
709 MediaKeysClientImpl m_mediaKeysClientImpl; 711 MediaKeysClientImpl m_mediaKeysClientImpl;
710 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation; 712 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation;
711 WebPoint m_positionOnFlingStart; 713 WebPoint m_positionOnFlingStart;
712 WebPoint m_globalPositionOnFlingStart; 714 WebPoint m_globalPositionOnFlingStart;
713 int m_flingModifier; 715 int m_flingModifier;
714 bool m_flingSourceDevice; 716 bool m_flingSourceDevice;
715 Vector<OwnPtr<LinkHighlight> > m_linkHighlights; 717 Vector<OwnPtr<LinkHighlight> > m_linkHighlights;
716 OwnPtr<FullscreenController> m_fullscreenController; 718 OwnPtrWillBePersistent<FullscreenController> m_fullscreenController;
717 719
718 bool m_showFPSCounter; 720 bool m_showFPSCounter;
719 bool m_showPaintRects; 721 bool m_showPaintRects;
720 bool m_showDebugBorders; 722 bool m_showDebugBorders;
721 bool m_continuousPaintingEnabled; 723 bool m_continuousPaintingEnabled;
722 bool m_showScrollBottleneckRects; 724 bool m_showScrollBottleneckRects;
723 WebColor m_baseBackgroundColor; 725 WebColor m_baseBackgroundColor;
724 WebColor m_backgroundColorOverride; 726 WebColor m_backgroundColorOverride;
725 float m_zoomFactorOverride; 727 float m_zoomFactorOverride;
726 728
727 bool m_userGestureObserved; 729 bool m_userGestureObserved;
728 float m_topControlsContentOffset; 730 float m_topControlsContentOffset;
729 }; 731 };
730 732
731 // We have no ways to check if the specified WebView is an instance of 733 // We have no ways to check if the specified WebView is an instance of
732 // WebViewImpl because WebViewImpl is the only implementation of WebView. 734 // WebViewImpl because WebViewImpl is the only implementation of WebView.
733 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 735 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
734 736
735 } // namespace blink 737 } // namespace blink
736 738
737 #endif 739 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698