OLD | NEW |
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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 class Editor; | 52 class Editor; |
53 template <typename Traversal> | 53 template <typename Traversal> |
54 class EditingAlgorithm; | 54 class EditingAlgorithm; |
55 class Element; | 55 class Element; |
56 template <typename Strategy> | 56 template <typename Strategy> |
57 class EphemeralRangeTemplate; | 57 class EphemeralRangeTemplate; |
58 class EventHandler; | 58 class EventHandler; |
59 class FetchParameters; | 59 class FetchParameters; |
60 class FloatSize; | 60 class FloatSize; |
61 class FrameConsole; | 61 class FrameConsole; |
| 62 class FrameResourceCoordinator; |
62 class FrameSelection; | 63 class FrameSelection; |
63 class InputMethodController; | 64 class InputMethodController; |
64 class CoreProbeSink; | 65 class CoreProbeSink; |
65 class InterfaceProvider; | 66 class InterfaceProvider; |
66 class InterfaceRegistry; | 67 class InterfaceRegistry; |
67 class IntPoint; | 68 class IntPoint; |
68 class IntSize; | 69 class IntSize; |
69 class LayoutView; | 70 class LayoutView; |
70 class LayoutViewItem; | 71 class LayoutViewItem; |
71 class LocalDOMWindow; | 72 class LocalDOMWindow; |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 bool IsNavigationAllowed() const { return navigation_disable_count_ == 0; } | 222 bool IsNavigationAllowed() const { return navigation_disable_count_ == 0; } |
222 | 223 |
223 bool CanNavigate(const Frame&); | 224 bool CanNavigate(const Frame&); |
224 | 225 |
225 InterfaceProvider* GetInterfaceProvider() { return interface_provider_; } | 226 InterfaceProvider* GetInterfaceProvider() { return interface_provider_; } |
226 InterfaceRegistry* GetInterfaceRegistry() { return interface_registry_; } | 227 InterfaceRegistry* GetInterfaceRegistry() { return interface_registry_; } |
227 | 228 |
228 LocalFrameClient* Client() const; | 229 LocalFrameClient* Client() const; |
229 | 230 |
230 ContentSettingsClient* GetContentSettingsClient(); | 231 ContentSettingsClient* GetContentSettingsClient(); |
| 232 FrameResourceCoordinator* GetFrameResourceCoordinator() { |
| 233 return frame_resource_coordinator_; |
| 234 } |
231 | 235 |
232 PluginData* GetPluginData() const; | 236 PluginData* GetPluginData() const; |
233 | 237 |
234 PerformanceMonitor* GetPerformanceMonitor() { return performance_monitor_; } | 238 PerformanceMonitor* GetPerformanceMonitor() { return performance_monitor_; } |
235 | 239 |
236 // Convenience function to allow loading image placeholders for the request if | 240 // Convenience function to allow loading image placeholders for the request if |
237 // either the flag in Settings() for using image placeholders is set, or if | 241 // either the flag in Settings() for using image placeholders is set, or if |
238 // the embedder decides that Client Lo-Fi should be used for this request. | 242 // the embedder decides that Client Lo-Fi should be used for this request. |
239 void MaybeAllowImagePlaceholder(FetchParameters&) const; | 243 void MaybeAllowImagePlaceholder(FetchParameters&) const; |
240 | 244 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 | 310 |
307 bool in_view_source_mode_; | 311 bool in_view_source_mode_; |
308 | 312 |
309 Member<CoreProbeSink> probe_sink_; | 313 Member<CoreProbeSink> probe_sink_; |
310 Member<PerformanceMonitor> performance_monitor_; | 314 Member<PerformanceMonitor> performance_monitor_; |
311 | 315 |
312 InterfaceProvider* const interface_provider_; | 316 InterfaceProvider* const interface_provider_; |
313 InterfaceRegistry* const interface_registry_; | 317 InterfaceRegistry* const interface_registry_; |
314 | 318 |
315 IntRect remote_viewport_intersection_; | 319 IntRect remote_viewport_intersection_; |
| 320 Member<FrameResourceCoordinator> frame_resource_coordinator_; |
316 }; | 321 }; |
317 | 322 |
318 inline FrameLoader& LocalFrame::Loader() const { | 323 inline FrameLoader& LocalFrame::Loader() const { |
319 return loader_; | 324 return loader_; |
320 } | 325 } |
321 | 326 |
322 inline NavigationScheduler& LocalFrame::GetNavigationScheduler() const { | 327 inline NavigationScheduler& LocalFrame::GetNavigationScheduler() const { |
323 DCHECK(navigation_scheduler_); | 328 DCHECK(navigation_scheduler_); |
324 return *navigation_scheduler_.Get(); | 329 return *navigation_scheduler_.Get(); |
325 } | 330 } |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 explicit ScopedFrameBlamer(LocalFrame*); | 412 explicit ScopedFrameBlamer(LocalFrame*); |
408 ~ScopedFrameBlamer(); | 413 ~ScopedFrameBlamer(); |
409 | 414 |
410 private: | 415 private: |
411 Member<LocalFrame> frame_; | 416 Member<LocalFrame> frame_; |
412 }; | 417 }; |
413 | 418 |
414 } // namespace blink | 419 } // namespace blink |
415 | 420 |
416 #endif // LocalFrame_h | 421 #endif // LocalFrame_h |
OLD | NEW |