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

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

Issue 374623002: [screen-orientation] Update implementation to match recent spec changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 122
123 void setPageZoomFactor(float factor); 123 void setPageZoomFactor(float factor);
124 float pageZoomFactor() const { return m_pageZoomFactor; } 124 float pageZoomFactor() const { return m_pageZoomFactor; }
125 void setTextZoomFactor(float factor); 125 void setTextZoomFactor(float factor);
126 float textZoomFactor() const { return m_textZoomFactor; } 126 float textZoomFactor() const { return m_textZoomFactor; }
127 void setPageAndTextZoomFactors(float pageZoomFactor, float textZoomFacto r); 127 void setPageAndTextZoomFactors(float pageZoomFactor, float textZoomFacto r);
128 128
129 void deviceOrPageScaleFactorChanged(); 129 void deviceOrPageScaleFactorChanged();
130 double devicePixelRatio() const; 130 double devicePixelRatio() const;
131 131
132 void sendOrientationChangeEvent();
133
134 String documentTypeString() const; 132 String documentTypeString() const;
135 133
136 PassOwnPtr<DragImage> nodeImage(Node&); 134 PassOwnPtr<DragImage> nodeImage(Node&);
137 PassOwnPtr<DragImage> dragImageForSelection(); 135 PassOwnPtr<DragImage> dragImageForSelection();
138 136
139 String selectedText() const; 137 String selectedText() const;
140 String selectedTextForClipboard() const; 138 String selectedTextForClipboard() const;
141 139
142 VisiblePosition visiblePositionForPoint(const IntPoint& framePoint); 140 VisiblePosition visiblePositionForPoint(const IntPoint& framePoint);
143 Document* documentAtPoint(const IntPoint& windowPoint); 141 Document* documentAtPoint(const IntPoint& windowPoint);
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(), localFrame.isLocalFrame()); 238 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(), localFrame.isLocalFrame());
241 239
242 } // namespace WebCore 240 } // namespace WebCore
243 241
244 // During refactoring, there are some places where we need to do type conversion s that 242 // 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. 243 // 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. 244 // At that time this #define will be removed and all the uses of it will need to be corrected.
247 #define toLocalFrameTemporary toLocalFrame 245 #define toLocalFrameTemporary toLocalFrame
248 246
249 #endif // LocalFrame_h 247 #endif // LocalFrame_h
OLDNEW
« no previous file with comments | « LayoutTests/webexposed/global-constructors-listing-expected.txt ('k') | Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698