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

Side by Side Diff: third_party/WebKit/Source/core/frame/LocalFrame.h

Issue 2925963002: Create NetworkQuietDetector. (Closed)
Patch Set: Dont create NetworkQuietDetector when FrameResourceCoordinator is not enabled Created 3 years, 6 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) 1998, 1999 Torben Weis <weis@kde.org> 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
3 * 1999-2001 Lars Knoll <knoll@kde.org> 3 * 1999-2001 Lars Knoll <knoll@kde.org>
4 * 1999-2001 Antti Koivisto <koivisto@kde.org> 4 * 1999-2001 Antti Koivisto <koivisto@kde.org>
5 * 2000-2001 Simon Hausmann <hausmann@kde.org> 5 * 2000-2001 Simon Hausmann <hausmann@kde.org>
6 * 2000-2001 Dirk Mueller <mueller@kde.org> 6 * 2000-2001 Dirk Mueller <mueller@kde.org>
7 * 2000 Stefan Schimanski <1Stein@gmx.de> 7 * 2000 Stefan Schimanski <1Stein@gmx.de>
8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
9 * reserved. 9 * reserved.
10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 // 231 //
232 // TODO(crbug.com/726943): Remove this method. 232 // TODO(crbug.com/726943): Remove this method.
233 InterfaceProvider* GetInterfaceProvider() { return interface_provider_; } 233 InterfaceProvider* GetInterfaceProvider() { return interface_provider_; }
234 234
235 InterfaceRegistry* GetInterfaceRegistry() { return interface_registry_; } 235 InterfaceRegistry* GetInterfaceRegistry() { return interface_registry_; }
236 236
237 LocalFrameClient* Client() const; 237 LocalFrameClient* Client() const;
238 238
239 ContentSettingsClient* GetContentSettingsClient(); 239 ContentSettingsClient* GetContentSettingsClient();
240 FrameResourceCoordinator* GetFrameResourceCoordinator() { 240 FrameResourceCoordinator* GetFrameResourceCoordinator() {
241 // can be null
241 return frame_resource_coordinator_; 242 return frame_resource_coordinator_;
242 } 243 }
243 244
244 PluginData* GetPluginData() const; 245 PluginData* GetPluginData() const;
245 246
246 PerformanceMonitor* GetPerformanceMonitor() { return performance_monitor_; } 247 PerformanceMonitor* GetPerformanceMonitor() { return performance_monitor_; }
247 248
248 // Convenience function to allow loading image placeholders for the request if 249 // Convenience function to allow loading image placeholders for the request if
249 // either the flag in Settings() for using image placeholders is set, or if 250 // either the flag in Settings() for using image placeholders is set, or if
250 // the embedder decides that Client Lo-Fi should be used for this request. 251 // the embedder decides that Client Lo-Fi should be used for this request.
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 explicit ScopedFrameBlamer(LocalFrame*); 421 explicit ScopedFrameBlamer(LocalFrame*);
421 ~ScopedFrameBlamer(); 422 ~ScopedFrameBlamer();
422 423
423 private: 424 private:
424 Member<LocalFrame> frame_; 425 Member<LocalFrame> frame_;
425 }; 426 };
426 427
427 } // namespace blink 428 } // namespace blink
428 429
429 #endif // LocalFrame_h 430 #endif // LocalFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698