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

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

Issue 2786673002: Separate ContentSettingsClient out from LocalFrameClient (Closed)
Patch Set: added class-level comment Created 3 years, 8 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 27 matching lines...) Expand all
38 #include "platform/Supplementable.h" 38 #include "platform/Supplementable.h"
39 #include "platform/graphics/ImageOrientation.h" 39 #include "platform/graphics/ImageOrientation.h"
40 #include "platform/heap/Handle.h" 40 #include "platform/heap/Handle.h"
41 #include "platform/scroll/ScrollTypes.h" 41 #include "platform/scroll/ScrollTypes.h"
42 #include "wtf/HashSet.h" 42 #include "wtf/HashSet.h"
43 #include <memory> 43 #include <memory>
44 44
45 namespace blink { 45 namespace blink {
46 46
47 class Color; 47 class Color;
48 class ContentSettingsClient;
48 class Document; 49 class Document;
49 class DragImage; 50 class DragImage;
50 class Editor; 51 class Editor;
51 template <typename Traversal> 52 template <typename Traversal>
52 class EditingAlgorithm; 53 class EditingAlgorithm;
53 class Element; 54 class Element;
54 template <typename Strategy> 55 template <typename Strategy>
55 class EphemeralRangeTemplate; 56 class EphemeralRangeTemplate;
56 class EventHandler; 57 class EventHandler;
57 class FloatSize; 58 class FloatSize;
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 WebFrameScheduler* frameScheduler(); 214 WebFrameScheduler* frameScheduler();
214 void scheduleVisualUpdateUnlessThrottled(); 215 void scheduleVisualUpdateUnlessThrottled();
215 216
216 bool isNavigationAllowed() const { return m_navigationDisableCount == 0; } 217 bool isNavigationAllowed() const { return m_navigationDisableCount == 0; }
217 218
218 InterfaceProvider* interfaceProvider() { return m_interfaceProvider; } 219 InterfaceProvider* interfaceProvider() { return m_interfaceProvider; }
219 InterfaceRegistry* interfaceRegistry() { return m_interfaceRegistry; } 220 InterfaceRegistry* interfaceRegistry() { return m_interfaceRegistry; }
220 221
221 LocalFrameClient* client() const; 222 LocalFrameClient* client() const;
222 223
224 ContentSettingsClient* contentSettingsClient();
225
223 PluginData* pluginData() const; 226 PluginData* pluginData() const;
224 227
225 PerformanceMonitor* performanceMonitor() { return m_performanceMonitor; } 228 PerformanceMonitor* performanceMonitor() { return m_performanceMonitor; }
226 229
227 using FrameInitCallback = void (*)(LocalFrame*); 230 using FrameInitCallback = void (*)(LocalFrame*);
228 // Allows for the registration of a callback that is invoked whenever a new 231 // Allows for the registration of a callback that is invoked whenever a new
229 // LocalFrame is initialized. Callbacks are executed in the order that they 232 // LocalFrame is initialized. Callbacks are executed in the order that they
230 // were added using registerInitializationCallback, and there are no checks 233 // were added using registerInitializationCallback, and there are no checks
231 // for adding a callback multiple times. 234 // for adding a callback multiple times.
232 static void registerInitializationCallback(FrameInitCallback); 235 static void registerInitializationCallback(FrameInitCallback);
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 explicit ScopedFrameBlamer(LocalFrame*); 376 explicit ScopedFrameBlamer(LocalFrame*);
374 ~ScopedFrameBlamer(); 377 ~ScopedFrameBlamer();
375 378
376 private: 379 private:
377 Member<LocalFrame> m_frame; 380 Member<LocalFrame> m_frame;
378 }; 381 };
379 382
380 } // namespace blink 383 } // namespace blink
381 384
382 #endif // LocalFrame_h 385 #endif // LocalFrame_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/ContentSettingsClient.cpp ('k') | third_party/WebKit/Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698