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

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

Issue 2710823003: NOCOMMIT prototype: GRC service plumbing and process priority
Patch Set: Buildfixes Created 3 years, 9 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 class DragImage; 49 class DragImage;
50 class Editor; 50 class Editor;
51 template <typename Traversal> 51 template <typename Traversal>
52 class EditingAlgorithm; 52 class EditingAlgorithm;
53 class Element; 53 class Element;
54 template <typename Strategy> 54 template <typename Strategy>
55 class EphemeralRangeTemplate; 55 class EphemeralRangeTemplate;
56 class EventHandler; 56 class EventHandler;
57 class FloatSize; 57 class FloatSize;
58 class FrameConsole; 58 class FrameConsole;
59 class FrameResourceCoordinator;
59 class FrameSelection; 60 class FrameSelection;
60 class FrameView; 61 class FrameView;
61 class InputMethodController; 62 class InputMethodController;
62 class InstrumentingAgents; 63 class InstrumentingAgents;
63 class InterfaceProvider; 64 class InterfaceProvider;
64 class InterfaceRegistry; 65 class InterfaceRegistry;
65 class IntPoint; 66 class IntPoint;
66 class IntSize; 67 class IntSize;
67 class LayoutView; 68 class LayoutView;
68 class LayoutViewItem; 69 class LayoutViewItem;
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 211
211 // Returns the frame scheduler, creating one if needed. 212 // Returns the frame scheduler, creating one if needed.
212 WebFrameScheduler* frameScheduler(); 213 WebFrameScheduler* frameScheduler();
213 void scheduleVisualUpdateUnlessThrottled(); 214 void scheduleVisualUpdateUnlessThrottled();
214 215
215 bool isNavigationAllowed() const { return m_navigationDisableCount == 0; } 216 bool isNavigationAllowed() const { return m_navigationDisableCount == 0; }
216 217
217 InterfaceProvider* interfaceProvider() { return m_interfaceProvider; } 218 InterfaceProvider* interfaceProvider() { return m_interfaceProvider; }
218 InterfaceRegistry* interfaceRegistry() { return m_interfaceRegistry; } 219 InterfaceRegistry* interfaceRegistry() { return m_interfaceRegistry; }
219 220
221 FrameResourceCoordinator* frameResourceCoordinator() {
222 return m_frameResourceCoordinator;
223 }
224
220 LocalFrameClient* client() const; 225 LocalFrameClient* client() const;
221 226
222 PluginData* pluginData() const; 227 PluginData* pluginData() const;
223 228
224 PerformanceMonitor* performanceMonitor() { return m_performanceMonitor; } 229 PerformanceMonitor* performanceMonitor() { return m_performanceMonitor; }
225 230
226 private: 231 private:
227 friend class FrameNavigationDisabler; 232 friend class FrameNavigationDisabler;
228 233
229 LocalFrame(LocalFrameClient*, 234 LocalFrame(LocalFrameClient*,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 float m_pageZoomFactor; 271 float m_pageZoomFactor;
267 float m_textZoomFactor; 272 float m_textZoomFactor;
268 273
269 bool m_inViewSourceMode; 274 bool m_inViewSourceMode;
270 275
271 Member<InstrumentingAgents> m_instrumentingAgents; 276 Member<InstrumentingAgents> m_instrumentingAgents;
272 Member<PerformanceMonitor> m_performanceMonitor; 277 Member<PerformanceMonitor> m_performanceMonitor;
273 278
274 InterfaceProvider* const m_interfaceProvider; 279 InterfaceProvider* const m_interfaceProvider;
275 InterfaceRegistry* const m_interfaceRegistry; 280 InterfaceRegistry* const m_interfaceRegistry;
281
282 Member<FrameResourceCoordinator> m_frameResourceCoordinator;
276 }; 283 };
277 284
278 inline void LocalFrame::init() { 285 inline void LocalFrame::init() {
279 m_loader.init(); 286 m_loader.init();
280 } 287 }
281 288
282 inline FrameLoader& LocalFrame::loader() const { 289 inline FrameLoader& LocalFrame::loader() const {
283 return m_loader; 290 return m_loader;
284 } 291 }
285 292
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 explicit ScopedFrameBlamer(LocalFrame*); 378 explicit ScopedFrameBlamer(LocalFrame*);
372 ~ScopedFrameBlamer(); 379 ~ScopedFrameBlamer();
373 380
374 private: 381 private:
375 Member<LocalFrame> m_frame; 382 Member<LocalFrame> m_frame;
376 }; 383 };
377 384
378 } // namespace blink 385 } // namespace blink
379 386
380 #endif // LocalFrame_h 387 #endif // LocalFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698