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

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

Issue 2925963002: Create NetworkQuietDetector. (Closed)
Patch Set: Add kNetworkIdle state. 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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 // LocalFrameClient::GetInterfaceProvider() instead. 230 // LocalFrameClient::GetInterfaceProvider() instead.
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() { // can be null
Zhen Wang 2017/06/08 16:25:56 nit: the comment should be in its own line, right?
lpy 2017/06/12 18:06:28 Done.
241 return frame_resource_coordinator_; 241 return frame_resource_coordinator_;
242 } 242 }
243 243
244 PluginData* GetPluginData() const; 244 PluginData* GetPluginData() const;
245 245
246 PerformanceMonitor* GetPerformanceMonitor() { return performance_monitor_; } 246 PerformanceMonitor* GetPerformanceMonitor() { return performance_monitor_; }
247 247
248 // Convenience function to allow loading image placeholders for the request if 248 // 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 249 // 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. 250 // 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*); 420 explicit ScopedFrameBlamer(LocalFrame*);
421 ~ScopedFrameBlamer(); 421 ~ScopedFrameBlamer();
422 422
423 private: 423 private:
424 Member<LocalFrame> frame_; 424 Member<LocalFrame> frame_;
425 }; 425 };
426 426
427 } // namespace blink 427 } // namespace blink
428 428
429 #endif // LocalFrame_h 429 #endif // LocalFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698