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

Unified Diff: third_party/WebKit/Source/web/InspectorOverlay.h

Issue 1450133003: [DevTools] Promote Device Mode v2 to default experiments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweaks Created 5 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 side-by-side diff with in-line comments
Download patch
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 29e53afdffe5129f16a30499fba2a2d6456c498b..20efe2c6be234914848eb33d2933c977219d30a3 100644
--- a/third_party/WebKit/Source/web/InspectorOverlay.h
+++ b/third_party/WebKit/Source/web/InspectorOverlay.h
@@ -34,7 +34,6 @@
#include "core/inspector/InspectorOverlayHost.h"
#include "core/inspector/InspectorPageAgent.h"
#include "core/inspector/InspectorProfilerAgent.h"
-#include "platform/Timer.h"
#include "platform/geometry/FloatQuad.h"
#include "platform/geometry/LayoutRect.h"
#include "platform/graphics/Color.h"
@@ -106,8 +105,7 @@ private:
void profilingStopped() override;
// InspectorPageAgent::Client implementation.
- void pageLayoutInvalidated(bool resized) override;
- void setShowViewportSizeOnResize(bool show, bool showGrid) override;
+ void pageLayoutInvalidated() override;
void setPausedInDebuggerMessage(const String*) override;
// InspectorDOMAgent::Client implementation.
@@ -122,14 +120,12 @@ private:
void drawNodeHighlight();
void drawQuadHighlight();
void drawPausedInDebuggerMessage();
- void drawViewSize();
Page* overlayPage();
LocalFrame* overlayMainFrame();
void reset(const IntSize& viewportSize, const IntPoint& documentScrollOffset);
void evaluateInOverlay(const String& method, const String& argument);
void evaluateInOverlay(const String& method, PassRefPtr<JSONValue> argument);
- void onTimer(Timer<InspectorOverlay>*);
void rebuildOverlayPage();
void invalidate();
void scheduleUpdate();
@@ -152,11 +148,7 @@ private:
OwnPtrWillBeMember<InspectorOverlayChromeClient> m_overlayChromeClient;
RefPtrWillBeMember<InspectorOverlayHost> m_overlayHost;
InspectorHighlightConfig m_quadHighlightConfig;
- bool m_drawViewSize;
- bool m_drawViewSizeWithGrid;
- bool m_resizeTimerActive;
bool m_omitTooltip;
- Timer<InspectorOverlay> m_timer;
int m_suspendCount;
bool m_inLayout;
bool m_needsUpdate;
« no previous file with comments | « third_party/WebKit/Source/devtools/protocol.json ('k') | third_party/WebKit/Source/web/InspectorOverlay.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698