| OLD | NEW |
| 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 19 matching lines...) Expand all Loading... |
| 30 #define InspectorOverlay_h | 30 #define InspectorOverlay_h |
| 31 | 31 |
| 32 #include "core/inspector/InspectorDOMAgent.h" | 32 #include "core/inspector/InspectorDOMAgent.h" |
| 33 #include "core/inspector/InspectorOverlayHost.h" | 33 #include "core/inspector/InspectorOverlayHost.h" |
| 34 #include "core/inspector/protocol/Forward.h" | 34 #include "core/inspector/protocol/Forward.h" |
| 35 #include "platform/Timer.h" | 35 #include "platform/Timer.h" |
| 36 #include "platform/geometry/FloatQuad.h" | 36 #include "platform/geometry/FloatQuad.h" |
| 37 #include "platform/geometry/LayoutRect.h" | 37 #include "platform/geometry/LayoutRect.h" |
| 38 #include "platform/graphics/Color.h" | 38 #include "platform/graphics/Color.h" |
| 39 #include "platform/heap/Handle.h" | 39 #include "platform/heap/Handle.h" |
| 40 #include "public/platform/WebInputEvent.h" | 40 #include "public/platform/CoalescedWebInputEvent.h" |
| 41 #include "wtf/RefPtr.h" | 41 #include "wtf/RefPtr.h" |
| 42 #include "wtf/text/WTFString.h" | 42 #include "wtf/text/WTFString.h" |
| 43 #include <memory> | 43 #include <memory> |
| 44 #include <v8-inspector.h> | 44 #include <v8-inspector.h> |
| 45 | 45 |
| 46 namespace blink { | 46 namespace blink { |
| 47 | 47 |
| 48 class Color; | 48 class Color; |
| 49 class LocalFrame; | 49 class LocalFrame; |
| 50 class InspectorCSSAgent; | 50 class InspectorCSSAgent; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 72 ~InspectorOverlay() override; | 72 ~InspectorOverlay() override; |
| 73 DECLARE_TRACE(); | 73 DECLARE_TRACE(); |
| 74 | 74 |
| 75 void init(InspectorCSSAgent*, | 75 void init(InspectorCSSAgent*, |
| 76 v8_inspector::V8InspectorSession*, | 76 v8_inspector::V8InspectorSession*, |
| 77 InspectorDOMAgent*); | 77 InspectorDOMAgent*); |
| 78 | 78 |
| 79 void clear(); | 79 void clear(); |
| 80 void suspend(); | 80 void suspend(); |
| 81 void resume(); | 81 void resume(); |
| 82 bool handleInputEvent(const WebInputEvent&); | 82 bool handleInputEvent(const CoalescedWebInputEvent&); |
| 83 void pageLayoutInvalidated(bool resized); | 83 void pageLayoutInvalidated(bool resized); |
| 84 void setShowViewportSizeOnResize(bool); | 84 void setShowViewportSizeOnResize(bool); |
| 85 void showReloadingBlanket(); | 85 void showReloadingBlanket(); |
| 86 void hideReloadingBlanket(); | 86 void hideReloadingBlanket(); |
| 87 void setPausedInDebuggerMessage(const String&); | 87 void setPausedInDebuggerMessage(const String&); |
| 88 | 88 |
| 89 // Does not yet include paint. | 89 // Does not yet include paint. |
| 90 void updateAllLifecyclePhases(); | 90 void updateAllLifecyclePhases(); |
| 91 | 91 |
| 92 PageOverlay* pageOverlay() { return m_pageOverlay.get(); }; | 92 PageOverlay* pageOverlay() { return m_pageOverlay.get(); }; |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 Member<LayoutEditor> m_layoutEditor; | 173 Member<LayoutEditor> m_layoutEditor; |
| 174 std::unique_ptr<PageOverlay> m_pageOverlay; | 174 std::unique_ptr<PageOverlay> m_pageOverlay; |
| 175 Member<Node> m_hoveredNodeForInspectMode; | 175 Member<Node> m_hoveredNodeForInspectMode; |
| 176 InspectorDOMAgent::SearchMode m_inspectMode; | 176 InspectorDOMAgent::SearchMode m_inspectMode; |
| 177 std::unique_ptr<InspectorHighlightConfig> m_inspectModeHighlightConfig; | 177 std::unique_ptr<InspectorHighlightConfig> m_inspectModeHighlightConfig; |
| 178 }; | 178 }; |
| 179 | 179 |
| 180 } // namespace blink | 180 } // namespace blink |
| 181 | 181 |
| 182 #endif // InspectorOverlay_h | 182 #endif // InspectorOverlay_h |
| OLD | NEW |