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

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

Issue 1526093006: Fix paint code so that overlays and views paint their own layers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 return adoptPtrWillBeNoop(new InspectorOverlay(webViewImpl)); 74 return adoptPtrWillBeNoop(new InspectorOverlay(webViewImpl));
75 } 75 }
76 76
77 ~InspectorOverlay() override; 77 ~InspectorOverlay() override;
78 DECLARE_TRACE(); 78 DECLARE_TRACE();
79 79
80 void init(InspectorCSSAgent*, InspectorDebuggerAgent*, InspectorDOMAgent*); 80 void init(InspectorCSSAgent*, InspectorDebuggerAgent*, InspectorDOMAgent*);
81 81
82 void clear(); 82 void clear();
83 bool handleInputEvent(const WebInputEvent&); 83 bool handleInputEvent(const WebInputEvent&);
84 void layout(); 84
85 // Does not yet include paint.
86 void updateAllLifecyclePhases();
87
85 PageOverlay* pageOverlay() { return m_pageOverlay.get(); }; 88 PageOverlay* pageOverlay() { return m_pageOverlay.get(); };
86 String evaluateInOverlayForTest(const String&); 89 String evaluateInOverlayForTest(const String&);
87 90
88 private: 91 private:
89 explicit InspectorOverlay(WebViewImpl*); 92 explicit InspectorOverlay(WebViewImpl*);
90 class InspectorOverlayChromeClient; 93 class InspectorOverlayChromeClient;
91 class InspectorPageOverlayDelegate; 94 class InspectorPageOverlayDelegate;
92 95
93 // InspectorOverlayHost::Listener implementation. 96 // InspectorOverlayHost::Listener implementation.
94 void overlayResumed() override; 97 void overlayResumed() override;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 OwnPtr<PageOverlay> m_pageOverlay; 162 OwnPtr<PageOverlay> m_pageOverlay;
160 RefPtrWillBeMember<Node> m_hoveredNodeForInspectMode; 163 RefPtrWillBeMember<Node> m_hoveredNodeForInspectMode;
161 InspectorDOMAgent::SearchMode m_inspectMode; 164 InspectorDOMAgent::SearchMode m_inspectMode;
162 OwnPtr<InspectorHighlightConfig> m_inspectModeHighlightConfig; 165 OwnPtr<InspectorHighlightConfig> m_inspectModeHighlightConfig;
163 }; 166 };
164 167
165 } // namespace blink 168 } // namespace blink
166 169
167 170
168 #endif // InspectorOverlay_h 171 #endif // InspectorOverlay_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698