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

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

Issue 364253007: Revert of [screen-orientation] Expose orientation info in OrientationInformation interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
132 String documentTypeString() const; 134 String documentTypeString() const;
133 135
134 PassOwnPtr<DragImage> nodeImage(Node&); 136 PassOwnPtr<DragImage> nodeImage(Node&);
135 PassOwnPtr<DragImage> dragImageForSelection(); 137 PassOwnPtr<DragImage> dragImageForSelection();
136 138
137 String selectedText() const; 139 String selectedText() const;
138 String selectedTextForClipboard() const; 140 String selectedTextForClipboard() const;
139 141
140 VisiblePosition visiblePositionForPoint(const IntPoint& framePoint); 142 VisiblePosition visiblePositionForPoint(const IntPoint& framePoint);
141 Document* documentAtPoint(const IntPoint& windowPoint); 143 Document* documentAtPoint(const IntPoint& windowPoint);
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(), localFrame.isLocalFrame()); 240 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(), localFrame.isLocalFrame());
239 241
240 } // namespace WebCore 242 } // namespace WebCore
241 243
242 // 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
243 // 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.
244 // 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.
245 #define toLocalFrameTemporary toLocalFrame 247 #define toLocalFrameTemporary toLocalFrame
246 248
247 #endif // LocalFrame_h 249 #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