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

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

Issue 15927026: Enabled using viewport on desktop browsers behind experimental flag (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: WIP Created 7 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
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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 class TreeScope; 64 class TreeScope;
65 class VisiblePosition; 65 class VisiblePosition;
66 66
67 class Frame : public RefCounted<Frame> { 67 class Frame : public RefCounted<Frame> {
68 public: 68 public:
69 static PassRefPtr<Frame> create(Page*, HTMLFrameOwnerElement*, FrameLoad erClient*); 69 static PassRefPtr<Frame> create(Page*, HTMLFrameOwnerElement*, FrameLoad erClient*);
70 70
71 void init(); 71 void init();
72 void setView(PassRefPtr<FrameView>); 72 void setView(PassRefPtr<FrameView>);
73 void createView(const IntSize&, const StyleColor&, bool, 73 void createView(const IntSize&, const StyleColor&, bool,
74 const IntSize& fixedLayoutSize = IntSize(), bool useFixedLayout = fa lse, ScrollbarMode = ScrollbarAuto, bool horizontalLock = false, 74 ScrollbarMode = ScrollbarAuto, bool horizontalLock = false,
75 ScrollbarMode = ScrollbarAuto, bool verticalLock = false); 75 ScrollbarMode = ScrollbarAuto, bool verticalLock = false);
76 76
77 ~Frame(); 77 ~Frame();
78 78
79 void addDestructionObserver(FrameDestructionObserver*); 79 void addDestructionObserver(FrameDestructionObserver*);
80 void removeDestructionObserver(FrameDestructionObserver*); 80 void removeDestructionObserver(FrameDestructionObserver*);
81 81
82 void willDetachPage(); 82 void willDetachPage();
83 void detachFromPage(); 83 void detachFromPage();
84 void disconnectOwnerElement(); 84 void disconnectOwnerElement();
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 } 264 }
265 265
266 inline EventHandler* Frame::eventHandler() const 266 inline EventHandler* Frame::eventHandler() const
267 { 267 {
268 return m_eventHandler.get(); 268 return m_eventHandler.get();
269 } 269 }
270 270
271 } // namespace WebCore 271 } // namespace WebCore
272 272
273 #endif // Frame_h 273 #endif // Frame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698