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

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

Issue 1328773002: Make classes and structures in web fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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 unified diff | Download patch
« no previous file with comments | « Source/web/ValidationMessageClientImpl.h ('k') | Source/web/WebDevToolsFrontendImpl.h » ('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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 class WebViewImpl; 67 class WebViewImpl;
68 68
69 class WebDevToolsAgentImpl final 69 class WebDevToolsAgentImpl final
70 : public NoBaseWillBeGarbageCollectedFinalized<WebDevToolsAgentImpl> 70 : public NoBaseWillBeGarbageCollectedFinalized<WebDevToolsAgentImpl>
71 , public WebDevToolsAgent 71 , public WebDevToolsAgent
72 , public InspectorStateClient 72 , public InspectorStateClient
73 , public InspectorTracingAgent::Client 73 , public InspectorTracingAgent::Client
74 , public InspectorRuntimeAgent::Client 74 , public InspectorRuntimeAgent::Client
75 , public InspectorFrontendChannel 75 , public InspectorFrontendChannel
76 , private WebThread::TaskObserver { 76 , private WebThread::TaskObserver {
77 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(WebDevToolsAgentImpl);
77 public: 78 public:
78 static PassOwnPtrWillBeRawPtr<WebDevToolsAgentImpl> create(WebLocalFrameImpl *, WebDevToolsAgentClient*); 79 static PassOwnPtrWillBeRawPtr<WebDevToolsAgentImpl> create(WebLocalFrameImpl *, WebDevToolsAgentClient*);
79 ~WebDevToolsAgentImpl() override; 80 ~WebDevToolsAgentImpl() override;
80 void dispose(); 81 void dispose();
81 DECLARE_VIRTUAL_TRACE(); 82 DECLARE_VIRTUAL_TRACE();
82 83
83 void willBeDestroyed(); 84 void willBeDestroyed();
84 WebDevToolsAgentClient* client() { return m_client; } 85 WebDevToolsAgentClient* client() { return m_client; }
85 InspectorOverlayImpl* overlay() const { return m_overlay.get(); } 86 InspectorOverlayImpl* overlay() const { return m_overlay.get(); }
86 void flushPendingProtocolNotifications(); 87 void flushPendingProtocolNotifications();
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 typedef Vector<RefPtr<JSONObject>> NotificationQueue; 162 typedef Vector<RefPtr<JSONObject>> NotificationQueue;
162 NotificationQueue m_notificationQueue; 163 NotificationQueue m_notificationQueue;
163 String m_stateCookie; 164 String m_stateCookie;
164 165
165 friend class DebuggerTask; 166 friend class DebuggerTask;
166 }; 167 };
167 168
168 } // namespace blink 169 } // namespace blink
169 170
170 #endif 171 #endif
OLDNEW
« no previous file with comments | « Source/web/ValidationMessageClientImpl.h ('k') | Source/web/WebDevToolsFrontendImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698