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

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

Issue 2479123003: WIP Add getCoalescedEvents API using vector of WebInputEvents (Closed)
Patch Set: Created 4 years, 1 month 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 ~InspectorOverlay() override; 78 ~InspectorOverlay() override;
79 DECLARE_TRACE(); 79 DECLARE_TRACE();
80 80
81 void init(InspectorCSSAgent*, 81 void init(InspectorCSSAgent*,
82 v8_inspector::V8InspectorSession*, 82 v8_inspector::V8InspectorSession*,
83 InspectorDOMAgent*); 83 InspectorDOMAgent*);
84 84
85 void clear(); 85 void clear();
86 void suspend(); 86 void suspend();
87 void resume(); 87 void resume();
88 bool handleInputEvent(const WebInputEvent&); 88 bool handleInputEvent(
89 const WebInputEvent&,
90 const std::vector<const WebInputEvent*>& webCoalescedEvents);
89 void pageLayoutInvalidated(bool resized); 91 void pageLayoutInvalidated(bool resized);
90 void setShowViewportSizeOnResize(bool); 92 void setShowViewportSizeOnResize(bool);
91 void showReloadingBlanket(); 93 void showReloadingBlanket();
92 void hideReloadingBlanket(); 94 void hideReloadingBlanket();
93 void setPausedInDebuggerMessage(const String&); 95 void setPausedInDebuggerMessage(const String&);
94 96
95 // Does not yet include paint. 97 // Does not yet include paint.
96 void updateAllLifecyclePhases(); 98 void updateAllLifecyclePhases();
97 99
98 PageOverlay* pageOverlay() { return m_pageOverlay.get(); }; 100 PageOverlay* pageOverlay() { return m_pageOverlay.get(); };
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 Member<LayoutEditor> m_layoutEditor; 182 Member<LayoutEditor> m_layoutEditor;
181 std::unique_ptr<PageOverlay> m_pageOverlay; 183 std::unique_ptr<PageOverlay> m_pageOverlay;
182 Member<Node> m_hoveredNodeForInspectMode; 184 Member<Node> m_hoveredNodeForInspectMode;
183 InspectorDOMAgent::SearchMode m_inspectMode; 185 InspectorDOMAgent::SearchMode m_inspectMode;
184 std::unique_ptr<InspectorHighlightConfig> m_inspectModeHighlightConfig; 186 std::unique_ptr<InspectorHighlightConfig> m_inspectModeHighlightConfig;
185 }; 187 };
186 188
187 } // namespace blink 189 } // namespace blink
188 190
189 #endif // InspectorOverlay_h 191 #endif // InspectorOverlay_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698