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

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

Issue 2112593003: [DevTools] Remove [V8] from InspectorInstrumentation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: migrated to inspector-protocol test Created 4 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 23 matching lines...) Expand all
34 34
35 #include "core/loader/FrameLoaderClient.h" 35 #include "core/loader/FrameLoaderClient.h"
36 #include "platform/heap/Handle.h" 36 #include "platform/heap/Handle.h"
37 #include "platform/weborigin/KURL.h" 37 #include "platform/weborigin/KURL.h"
38 #include "public/platform/WebInsecureRequestPolicy.h" 38 #include "public/platform/WebInsecureRequestPolicy.h"
39 #include "wtf/RefPtr.h" 39 #include "wtf/RefPtr.h"
40 #include <memory> 40 #include <memory>
41 41
42 namespace blink { 42 namespace blink {
43 43
44 class WebDevToolsAgentImpl;
44 class WebLocalFrameImpl; 45 class WebLocalFrameImpl;
45 46
46 class FrameLoaderClientImpl final : public FrameLoaderClient { 47 class FrameLoaderClientImpl final : public FrameLoaderClient {
47 public: 48 public:
48 static FrameLoaderClientImpl* create(WebLocalFrameImpl*); 49 static FrameLoaderClientImpl* create(WebLocalFrameImpl*);
49 50
50 ~FrameLoaderClientImpl() override; 51 ~FrameLoaderClientImpl() override;
51 52
52 DECLARE_VIRTUAL_TRACE(); 53 DECLARE_VIRTUAL_TRACE();
53 54
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 BlameContext* frameBlameContext() override; 182 BlameContext* frameBlameContext() override;
182 183
183 LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) override; 184 LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) override;
184 185
185 WebEffectiveConnectionType getEffectiveConnectionType() override; 186 WebEffectiveConnectionType getEffectiveConnectionType() override;
186 187
187 private: 188 private:
188 explicit FrameLoaderClientImpl(WebLocalFrameImpl*); 189 explicit FrameLoaderClientImpl(WebLocalFrameImpl*);
189 190
190 bool isFrameLoaderClientImpl() const override { return true; } 191 bool isFrameLoaderClientImpl() const override { return true; }
192 WebDevToolsAgentImpl* devToolsAgent();
191 193
192 // The WebFrame that owns this object and manages its lifetime. Therefore, 194 // The WebFrame that owns this object and manages its lifetime. Therefore,
193 // the web frame object is guaranteed to exist. 195 // the web frame object is guaranteed to exist.
194 Member<WebLocalFrameImpl> m_webFrame; 196 Member<WebLocalFrameImpl> m_webFrame;
195 197
196 String m_userAgent; 198 String m_userAgent;
197 }; 199 };
198 200
199 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 201 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
200 202
201 } // namespace blink 203 } // namespace blink
202 204
203 #endif 205 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698