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

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

Issue 2585113005: DevTools: make ignoreInputEvents a static flag (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 namespace blink { 46 namespace blink {
47 47
48 class GraphicsLayer; 48 class GraphicsLayer;
49 class InspectedFrames; 49 class InspectedFrames;
50 class InspectorOverlay; 50 class InspectorOverlay;
51 class InspectorResourceContainer; 51 class InspectorResourceContainer;
52 class InspectorResourceContentLoader; 52 class InspectorResourceContentLoader;
53 class LocalFrame; 53 class LocalFrame;
54 class WebDevToolsAgentClient; 54 class WebDevToolsAgentClient;
55 class WebFrameWidgetImpl;
56 class WebLayerTreeView; 55 class WebLayerTreeView;
57 class WebLocalFrameImpl; 56 class WebLocalFrameImpl;
58 class WebString; 57 class WebString;
59 class WebViewImpl;
60 58
61 class WebDevToolsAgentImpl final 59 class WebDevToolsAgentImpl final
62 : public GarbageCollectedFinalized<WebDevToolsAgentImpl>, 60 : public GarbageCollectedFinalized<WebDevToolsAgentImpl>,
63 public WebDevToolsAgent, 61 public WebDevToolsAgent,
64 public InspectorEmulationAgent::Client, 62 public InspectorEmulationAgent::Client,
65 public InspectorTracingAgent::Client, 63 public InspectorTracingAgent::Client,
66 public InspectorPageAgent::Client, 64 public InspectorPageAgent::Client,
67 public InspectorSession::Client, 65 public InspectorSession::Client,
68 private WebThread::TaskObserver { 66 private WebThread::TaskObserver {
69 public: 67 public:
70 static WebDevToolsAgentImpl* create(WebLocalFrameImpl*, 68 static WebDevToolsAgentImpl* create(WebLocalFrameImpl*,
71 WebDevToolsAgentClient*); 69 WebDevToolsAgentClient*);
72 ~WebDevToolsAgentImpl() override; 70 ~WebDevToolsAgentImpl() override;
73 DECLARE_VIRTUAL_TRACE(); 71 DECLARE_VIRTUAL_TRACE();
74 72
75 void willBeDestroyed(); 73 void willBeDestroyed();
76 WebDevToolsAgentClient* client() { return m_client; } 74 WebDevToolsAgentClient* client() { return m_client; }
77 InspectorOverlay* overlay() const { return m_overlay.get(); } 75 InspectorOverlay* overlay() const { return m_overlay.get(); }
78 void flushProtocolNotifications(); 76 void flushProtocolNotifications();
79 static void webViewImplClosed(WebViewImpl*);
80 static void webFrameWidgetImplClosed(WebFrameWidgetImpl*);
81 77
82 // Instrumentation from web/ layer. 78 // Instrumentation from web/ layer.
83 void didCommitLoadForLocalFrame(LocalFrame*); 79 void didCommitLoadForLocalFrame(LocalFrame*);
84 void didStartProvisionalLoad(LocalFrame*); 80 void didStartProvisionalLoad(LocalFrame*);
85 bool screencastEnabled(); 81 bool screencastEnabled();
86 void willAddPageOverlay(const GraphicsLayer*); 82 void willAddPageOverlay(const GraphicsLayer*);
87 void didRemovePageOverlay(const GraphicsLayer*); 83 void didRemovePageOverlay(const GraphicsLayer*);
88 void layerTreeViewChanged(WebLayerTreeView*); 84 void layerTreeViewChanged(WebLayerTreeView*);
89 void rootLayerCleared(); 85 void rootLayerCleared();
90 86
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 Member<InspectorTracingAgent> m_tracingAgent; 158 Member<InspectorTracingAgent> m_tracingAgent;
163 159
164 Member<InspectorSession> m_session; 160 Member<InspectorSession> m_session;
165 bool m_includeViewAgents; 161 bool m_includeViewAgents;
166 int m_layerTreeId; 162 int m_layerTreeId;
167 }; 163 };
168 164
169 } // namespace blink 165 } // namespace blink
170 166
171 #endif 167 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698