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

Side by Side Diff: Source/core/page/Frame.h

Issue 23819019: Refactor fixed layout mode (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: git rebase Created 7 years, 2 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 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 class VisiblePosition; 67 class VisiblePosition;
68 class Widget; 68 class Widget;
69 69
70 class Frame : public RefCounted<Frame> { 70 class Frame : public RefCounted<Frame> {
71 public: 71 public:
72 static PassRefPtr<Frame> create(Page*, HTMLFrameOwnerElement*, FrameLoad erClient*); 72 static PassRefPtr<Frame> create(Page*, HTMLFrameOwnerElement*, FrameLoad erClient*);
73 73
74 void init(); 74 void init();
75 void setView(PassRefPtr<FrameView>); 75 void setView(PassRefPtr<FrameView>);
76 void createView(const IntSize&, const Color&, bool, 76 void createView(const IntSize&, const Color&, bool,
77 const IntSize& fixedLayoutSize = IntSize(), bool useFixedLayout = fa lse, ScrollbarMode = ScrollbarAuto, bool horizontalLock = false, 77 ScrollbarMode = ScrollbarAuto, bool horizontalLock = false,
78 ScrollbarMode = ScrollbarAuto, bool verticalLock = false); 78 ScrollbarMode = ScrollbarAuto, bool verticalLock = false);
79 79
80 ~Frame(); 80 ~Frame();
81 81
82 void addDestructionObserver(FrameDestructionObserver*); 82 void addDestructionObserver(FrameDestructionObserver*);
83 void removeDestructionObserver(FrameDestructionObserver*); 83 void removeDestructionObserver(FrameDestructionObserver*);
84 84
85 void willDetachPage(); 85 void willDetachPage();
86 void detachFromPage(); 86 void detachFromPage();
87 void disconnectOwnerElement(); 87 void disconnectOwnerElement();
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 } 277 }
278 278
279 inline EventHandler* Frame::eventHandler() const 279 inline EventHandler* Frame::eventHandler() const
280 { 280 {
281 return m_eventHandler.get(); 281 return m_eventHandler.get();
282 } 282 }
283 283
284 } // namespace WebCore 284 } // namespace WebCore
285 285
286 #endif // Frame_h 286 #endif // Frame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698