Index: third_party/WebKit/Source/web/InspectorOverlay.h |
diff --git a/third_party/WebKit/Source/web/InspectorOverlay.h b/third_party/WebKit/Source/web/InspectorOverlay.h |
index 720a88cfc225d28cd8b4cabd721e7748eb169580..0d610924c1d6213aeba41360e4ae6c7a1bff7889 100644 |
--- a/third_party/WebKit/Source/web/InspectorOverlay.h |
+++ b/third_party/WebKit/Source/web/InspectorOverlay.h |
@@ -83,6 +83,8 @@ public: |
bool handleInputEvent(const WebInputEvent&); |
void pageLayoutInvalidated(bool resized); |
void setShowViewportSizeOnResize(bool); |
+ void setReloadingBanner(const String&); |
+ void maybeClearReloadingBanner(); |
void setPausedInDebuggerMessage(const String&); |
// Does not yet include paint. |
@@ -92,6 +94,11 @@ public: |
String evaluateInOverlayForTest(const String&); |
private: |
+ enum class MessageType { |
dgozman
2016/08/08 16:28:00
Can we have a single message?
|
+ Empty, |
+ Reloading, |
+ PausedInDebugger |
+ }; |
explicit InspectorOverlay(WebViewImpl*); |
class InspectorOverlayChromeClient; |
class InspectorPageOverlayDelegate; |
@@ -117,7 +124,7 @@ private: |
bool isEmpty(); |
void drawNodeHighlight(); |
void drawQuadHighlight(); |
- void drawPausedInDebuggerMessage(); |
+ void drawMessages(); |
void drawViewSize(); |
float windowToViewportScale() const; |
@@ -142,7 +149,8 @@ private: |
void initializeLayoutEditorIfNeeded(Node*); |
WebViewImpl* m_webViewImpl; |
- String m_pausedInDebuggerMessage; |
+ String m_message; |
+ MessageType m_messageType; |
Member<Node> m_highlightNode; |
Member<Node> m_eventTargetNode; |
InspectorHighlightConfig m_nodeHighlightConfig; |