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

Unified Diff: Source/web/WebFrameWidgetImpl.h

Issue 1021083003: [DevTools] Pause input events in WebFrameWidgetImpl while debugging. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: typo Created 5 years, 9 months 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
« no previous file with comments | « Source/web/WebDevToolsAgentImpl.cpp ('k') | Source/web/WebFrameWidgetImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebFrameWidgetImpl.h
diff --git a/Source/web/WebFrameWidgetImpl.h b/Source/web/WebFrameWidgetImpl.h
index 4c754f50127545169e2273608887111677e86048..64383191f735571a3b56a28e1c877ef5218f0675 100644
--- a/Source/web/WebFrameWidgetImpl.h
+++ b/Source/web/WebFrameWidgetImpl.h
@@ -38,6 +38,7 @@
#include "public/web/WebFrameWidget.h"
#include "public/web/WebInputEvent.h"
#include "web/PageWidgetDelegate.h"
+#include "wtf/HashSet.h"
#include "wtf/OwnPtr.h"
#include "wtf/RefCounted.h"
@@ -60,6 +61,7 @@ class WebFrameWidgetImpl final : public WebFrameWidget
, public RefCounted<WebFrameWidgetImpl> {
public:
static WebFrameWidgetImpl* create(WebWidgetClient*, WebLocalFrame*);
+ static HashSet<WebFrameWidgetImpl*>& allInstances();
// WebWidget functions:
void close() override;
@@ -141,6 +143,8 @@ public:
void updateMainFrameLayoutSize();
+ void setIgnoreInputEvents(bool newValue);
+
// Returns the page object associated with this widget. This may be null when
// the page is shutting down, but will be valid at all other times.
Page* page() const { return m_page; }
« no previous file with comments | « Source/web/WebDevToolsAgentImpl.cpp ('k') | Source/web/WebFrameWidgetImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698