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

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

Issue 1232333002: Fix virtual/override/final usage in the rest of Source/core/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 | « Source/core/frame/LocalDOMWindow.cpp ('k') | Source/core/frame/Navigator.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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 public: 75 public:
76 static PassRefPtrWillBeRawPtr<LocalFrame> create(FrameLoaderClient*, Fra meHost*, FrameOwner*); 76 static PassRefPtrWillBeRawPtr<LocalFrame> create(FrameLoaderClient*, Fra meHost*, FrameOwner*);
77 77
78 void init(); 78 void init();
79 void setView(PassRefPtrWillBeRawPtr<FrameView>); 79 void setView(PassRefPtrWillBeRawPtr<FrameView>);
80 void createView(const IntSize&, const Color&, bool, 80 void createView(const IntSize&, const Color&, bool,
81 ScrollbarMode = ScrollbarAuto, bool horizontalLock = false, 81 ScrollbarMode = ScrollbarAuto, bool horizontalLock = false,
82 ScrollbarMode = ScrollbarAuto, bool verticalLock = false); 82 ScrollbarMode = ScrollbarAuto, bool verticalLock = false);
83 83
84 // Frame overrides: 84 // Frame overrides:
85 virtual ~LocalFrame(); 85 ~LocalFrame() override;
86 DECLARE_VIRTUAL_TRACE(); 86 DECLARE_VIRTUAL_TRACE();
87 bool isLocalFrame() const override { return true; } 87 bool isLocalFrame() const override { return true; }
88 DOMWindow* domWindow() const override; 88 DOMWindow* domWindow() const override;
89 WindowProxy* windowProxy(DOMWrapperWorld&) override; 89 WindowProxy* windowProxy(DOMWrapperWorld&) override;
90 void navigate(Document& originDocument, const KURL&, bool lockBackForwar dList, UserGestureStatus) override; 90 void navigate(Document& originDocument, const KURL&, bool lockBackForwar dList, UserGestureStatus) override;
91 void navigate(const FrameLoadRequest&) override; 91 void navigate(const FrameLoadRequest&) override;
92 void reload(FrameLoadType, ClientRedirectPolicy) override; 92 void reload(FrameLoadType, ClientRedirectPolicy) override;
93 void detach(FrameDetachType) override; 93 void detach(FrameDetachType) override;
94 void disconnectOwnerElement() override; 94 void disconnectOwnerElement() override;
95 bool shouldClose() override; 95 bool shouldClose() override;
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 306
307 DECLARE_WEAK_IDENTIFIER_MAP(LocalFrame); 307 DECLARE_WEAK_IDENTIFIER_MAP(LocalFrame);
308 } // namespace blink 308 } // namespace blink
309 309
310 // During refactoring, there are some places where we need to do type conversion s that 310 // During refactoring, there are some places where we need to do type conversion s that
311 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte d out. 311 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte d out.
312 // At that time this #define will be removed and all the uses of it will need to be corrected. 312 // At that time this #define will be removed and all the uses of it will need to be corrected.
313 #define toLocalFrameTemporary toLocalFrame 313 #define toLocalFrameTemporary toLocalFrame
314 314
315 #endif // LocalFrame_h 315 #endif // LocalFrame_h
OLDNEW
« no previous file with comments | « Source/core/frame/LocalDOMWindow.cpp ('k') | Source/core/frame/Navigator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698