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

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

Issue 2914243003: [GRC] GRC service plumbing in Blink. (Closed)
Patch Set: update 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 bool IsNavigationAllowed() const { return navigation_disable_count_ == 0; } 225 bool IsNavigationAllowed() const { return navigation_disable_count_ == 0; }
225 226
226 bool CanNavigate(const Frame&); 227 bool CanNavigate(const Frame&);
227 228
228 InterfaceProvider* GetInterfaceProvider() { return interface_provider_; } 229 InterfaceProvider* GetInterfaceProvider() { return interface_provider_; }
229 InterfaceRegistry* GetInterfaceRegistry() { return interface_registry_; } 230 InterfaceRegistry* GetInterfaceRegistry() { return interface_registry_; }
230 231
231 LocalFrameClient* Client() const; 232 LocalFrameClient* Client() const;
232 233
233 ContentSettingsClient* GetContentSettingsClient(); 234 ContentSettingsClient* GetContentSettingsClient();
235 FrameResourceCoordinator* GetFrameResourceCoordinator() {
236 return frame_resource_coordinator_;
237 }
234 238
235 PluginData* GetPluginData() const; 239 PluginData* GetPluginData() const;
236 240
237 PerformanceMonitor* GetPerformanceMonitor() { return performance_monitor_; } 241 PerformanceMonitor* GetPerformanceMonitor() { return performance_monitor_; }
238 242
239 // Convenience function to allow loading image placeholders for the request if 243 // Convenience function to allow loading image placeholders for the request if
240 // either the flag in Settings() for using image placeholders is set, or if 244 // either the flag in Settings() for using image placeholders is set, or if
241 // the embedder decides that Client Lo-Fi should be used for this request. 245 // the embedder decides that Client Lo-Fi should be used for this request.
242 void MaybeAllowImagePlaceholder(FetchParameters&) const; 246 void MaybeAllowImagePlaceholder(FetchParameters&) const;
243 247
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 313
310 bool in_view_source_mode_; 314 bool in_view_source_mode_;
311 315
312 Member<CoreProbeSink> probe_sink_; 316 Member<CoreProbeSink> probe_sink_;
313 Member<PerformanceMonitor> performance_monitor_; 317 Member<PerformanceMonitor> performance_monitor_;
314 318
315 InterfaceProvider* const interface_provider_; 319 InterfaceProvider* const interface_provider_;
316 InterfaceRegistry* const interface_registry_; 320 InterfaceRegistry* const interface_registry_;
317 321
318 IntRect remote_viewport_intersection_; 322 IntRect remote_viewport_intersection_;
323 Member<FrameResourceCoordinator> frame_resource_coordinator_;
319 }; 324 };
320 325
321 inline FrameLoader& LocalFrame::Loader() const { 326 inline FrameLoader& LocalFrame::Loader() const {
322 return loader_; 327 return loader_;
323 } 328 }
324 329
325 inline NavigationScheduler& LocalFrame::GetNavigationScheduler() const { 330 inline NavigationScheduler& LocalFrame::GetNavigationScheduler() const {
326 DCHECK(navigation_scheduler_); 331 DCHECK(navigation_scheduler_);
327 return *navigation_scheduler_.Get(); 332 return *navigation_scheduler_.Get();
328 } 333 }
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 explicit ScopedFrameBlamer(LocalFrame*); 415 explicit ScopedFrameBlamer(LocalFrame*);
411 ~ScopedFrameBlamer(); 416 ~ScopedFrameBlamer();
412 417
413 private: 418 private:
414 Member<LocalFrame> frame_; 419 Member<LocalFrame> frame_;
415 }; 420 };
416 421
417 } // namespace blink 422 } // namespace blink
418 423
419 #endif // LocalFrame_h 424 #endif // LocalFrame_h
OLDNEW
« no previous file with comments | « services/resource_coordinator/public/cpp/BUILD.gn ('k') | third_party/WebKit/Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698