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

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

Issue 323873007: Oilpan: Make LocalFrame PersistentHeapSupplementable and use transition types for its supplements. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: non-oilpan build Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/modules/geolocation/GeolocationController.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 reserved. 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
9 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 9 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 class IntSize; 53 class IntSize;
54 class Node; 54 class Node;
55 class Range; 55 class Range;
56 class RenderView; 56 class RenderView;
57 class TreeScope; 57 class TreeScope;
58 class ScriptController; 58 class ScriptController;
59 class SpellChecker; 59 class SpellChecker;
60 class TreeScope; 60 class TreeScope;
61 class VisiblePosition; 61 class VisiblePosition;
62 62
63 class LocalFrame : public Frame, public Supplementable<LocalFrame> { 63 class LocalFrame : public Frame, public WillBePersistentHeapSupplementable<L ocalFrame> {
64 public: 64 public:
65 static PassRefPtr<LocalFrame> create(FrameLoaderClient*, FrameHost*, Fra meOwner*); 65 static PassRefPtr<LocalFrame> create(FrameLoaderClient*, FrameHost*, Fra meOwner*);
66 66
67 virtual bool isLocalFrame() const OVERRIDE { return true; } 67 virtual bool isLocalFrame() const OVERRIDE { return true; }
68 68
69 void init(); 69 void init();
70 void setView(PassRefPtr<FrameView>); 70 void setView(PassRefPtr<FrameView>);
71 void createView(const IntSize&, const Color&, bool, 71 void createView(const IntSize&, const Color&, bool,
72 ScrollbarMode = ScrollbarAuto, bool horizontalLock = false, 72 ScrollbarMode = ScrollbarAuto, bool horizontalLock = false,
73 ScrollbarMode = ScrollbarAuto, bool verticalLock = false); 73 ScrollbarMode = ScrollbarAuto, bool verticalLock = false);
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(), localFrame.isLocalFrame()); 240 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(), localFrame.isLocalFrame());
241 241
242 } // namespace WebCore 242 } // namespace WebCore
243 243
244 // During refactoring, there are some places where we need to do type conversion s that 244 // During refactoring, there are some places where we need to do type conversion s that
245 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte d out. 245 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte d out.
246 // At that time this #define will be removed and all the uses of it will need to be corrected. 246 // At that time this #define will be removed and all the uses of it will need to be corrected.
247 #define toLocalFrameTemporary toLocalFrame 247 #define toLocalFrameTemporary toLocalFrame
248 248
249 #endif // LocalFrame_h 249 #endif // LocalFrame_h
OLDNEW
« no previous file with comments | « no previous file | Source/modules/geolocation/GeolocationController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698