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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 class InspectorCSSAgent; 53 class InspectorCSSAgent;
54 class InspectorDebuggerAgent; 54 class InspectorDebuggerAgent;
55 class JSONValue; 55 class JSONValue;
56 class LayoutEditor; 56 class LayoutEditor;
57 class Node; 57 class Node;
58 class Page; 58 class Page;
59 class PageOverlay; 59 class PageOverlay;
60 class WebViewImpl; 60 class WebViewImpl;
61 61
62 class InspectorOverlay final 62 class InspectorOverlay final
63 : public NoBaseWillBeGarbageCollectedFinalized<InspectorOverlay> 63 : public GarbageCollectedFinalized<InspectorOverlay>
64 , public InspectorDOMAgent::Client 64 , public InspectorDOMAgent::Client
65 , public InspectorProfilerAgent::Client 65 , public InspectorProfilerAgent::Client
66 , public InspectorOverlayHost::Listener { 66 , public InspectorOverlayHost::Listener {
67 USING_FAST_MALLOC_WILL_BE_REMOVED(InspectorOverlay); 67 USING_GARBAGE_COLLECTED_MIXIN(InspectorOverlay);
68 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(InspectorOverlay);
69 public: 68 public:
70 static PassOwnPtrWillBeRawPtr<InspectorOverlay> create(WebViewImpl* webViewI mpl) 69 static RawPtr<InspectorOverlay> create(WebViewImpl* webViewImpl)
71 { 70 {
72 return adoptPtrWillBeNoop(new InspectorOverlay(webViewImpl)); 71 return (new InspectorOverlay(webViewImpl));
73 } 72 }
74 73
75 ~InspectorOverlay() override; 74 ~InspectorOverlay() override;
76 DECLARE_TRACE(); 75 DECLARE_TRACE();
77 76
78 void init(InspectorCSSAgent*, InspectorDebuggerAgent*, InspectorDOMAgent*); 77 void init(InspectorCSSAgent*, InspectorDebuggerAgent*, InspectorDOMAgent*);
79 78
80 void clear(); 79 void clear();
81 bool handleInputEvent(const WebInputEvent&); 80 bool handleInputEvent(const WebInputEvent&);
82 void pageLayoutInvalidated(); 81 void pageLayoutInvalidated();
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 bool handleMousePress(); 131 bool handleMousePress();
133 bool handleGestureEvent(const PlatformGestureEvent&); 132 bool handleGestureEvent(const PlatformGestureEvent&);
134 bool handleTouchEvent(const PlatformTouchEvent&); 133 bool handleTouchEvent(const PlatformTouchEvent&);
135 bool handleMouseMove(const PlatformMouseEvent&); 134 bool handleMouseMove(const PlatformMouseEvent&);
136 bool shouldSearchForNode(); 135 bool shouldSearchForNode();
137 void inspect(Node*); 136 void inspect(Node*);
138 void initializeLayoutEditorIfNeeded(Node*); 137 void initializeLayoutEditorIfNeeded(Node*);
139 138
140 WebViewImpl* m_webViewImpl; 139 WebViewImpl* m_webViewImpl;
141 String m_pausedInDebuggerMessage; 140 String m_pausedInDebuggerMessage;
142 RefPtrWillBeMember<Node> m_highlightNode; 141 Member<Node> m_highlightNode;
143 RefPtrWillBeMember<Node> m_eventTargetNode; 142 Member<Node> m_eventTargetNode;
144 InspectorHighlightConfig m_nodeHighlightConfig; 143 InspectorHighlightConfig m_nodeHighlightConfig;
145 OwnPtr<FloatQuad> m_highlightQuad; 144 OwnPtr<FloatQuad> m_highlightQuad;
146 OwnPtrWillBeMember<Page> m_overlayPage; 145 Member<Page> m_overlayPage;
147 OwnPtrWillBeMember<InspectorOverlayChromeClient> m_overlayChromeClient; 146 Member<InspectorOverlayChromeClient> m_overlayChromeClient;
148 RefPtrWillBeMember<InspectorOverlayHost> m_overlayHost; 147 Member<InspectorOverlayHost> m_overlayHost;
149 InspectorHighlightConfig m_quadHighlightConfig; 148 InspectorHighlightConfig m_quadHighlightConfig;
150 bool m_omitTooltip; 149 bool m_omitTooltip;
151 int m_suspendCount; 150 int m_suspendCount;
152 bool m_inLayout; 151 bool m_inLayout;
153 bool m_needsUpdate; 152 bool m_needsUpdate;
154 RawPtrWillBeMember<InspectorDebuggerAgent> m_debuggerAgent; 153 Member<InspectorDebuggerAgent> m_debuggerAgent;
155 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent; 154 Member<InspectorDOMAgent> m_domAgent;
156 RawPtrWillBeMember<InspectorCSSAgent> m_cssAgent; 155 Member<InspectorCSSAgent> m_cssAgent;
157 OwnPtrWillBeMember<LayoutEditor> m_layoutEditor; 156 Member<LayoutEditor> m_layoutEditor;
158 OwnPtr<PageOverlay> m_pageOverlay; 157 OwnPtr<PageOverlay> m_pageOverlay;
159 RefPtrWillBeMember<Node> m_hoveredNodeForInspectMode; 158 Member<Node> m_hoveredNodeForInspectMode;
160 InspectorDOMAgent::SearchMode m_inspectMode; 159 InspectorDOMAgent::SearchMode m_inspectMode;
161 OwnPtr<InspectorHighlightConfig> m_inspectModeHighlightConfig; 160 OwnPtr<InspectorHighlightConfig> m_inspectModeHighlightConfig;
162 }; 161 };
163 162
164 } // namespace blink 163 } // namespace blink
165 164
166 165
167 #endif // InspectorOverlay_h 166 #endif // InspectorOverlay_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698