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

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

Issue 752673003: Remove the unused LocalFrame::documentTypeString() function (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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 | « no previous file | Source/core/frame/LocalFrame.cpp » ('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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 137
138 void setPageZoomFactor(float factor); 138 void setPageZoomFactor(float factor);
139 float pageZoomFactor() const { return m_pageZoomFactor; } 139 float pageZoomFactor() const { return m_pageZoomFactor; }
140 void setTextZoomFactor(float factor); 140 void setTextZoomFactor(float factor);
141 float textZoomFactor() const { return m_textZoomFactor; } 141 float textZoomFactor() const { return m_textZoomFactor; }
142 void setPageAndTextZoomFactors(float pageZoomFactor, float textZoomFacto r); 142 void setPageAndTextZoomFactors(float pageZoomFactor, float textZoomFacto r);
143 143
144 void deviceOrPageScaleFactorChanged(); 144 void deviceOrPageScaleFactorChanged();
145 double devicePixelRatio() const; 145 double devicePixelRatio() const;
146 146
147 String documentTypeString() const;
148
149 PassOwnPtr<DragImage> nodeImage(Node&); 147 PassOwnPtr<DragImage> nodeImage(Node&);
150 PassOwnPtr<DragImage> dragImageForSelection(); 148 PassOwnPtr<DragImage> dragImageForSelection();
151 149
152 String selectedText() const; 150 String selectedText() const;
153 String selectedTextForClipboard() const; 151 String selectedTextForClipboard() const;
154 152
155 VisiblePosition visiblePositionForPoint(const IntPoint& framePoint); 153 VisiblePosition visiblePositionForPoint(const IntPoint& framePoint);
156 Document* documentAtPoint(const IntPoint& windowPoint); 154 Document* documentAtPoint(const IntPoint& windowPoint);
157 PassRefPtrWillBeRawPtr<Range> rangeForPoint(const IntPoint& framePoint); 155 PassRefPtrWillBeRawPtr<Range> rangeForPoint(const IntPoint& framePoint);
158 156
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(), localFrame.isLocalFrame()); 287 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(), localFrame.isLocalFrame());
290 288
291 } // namespace blink 289 } // namespace blink
292 290
293 // During refactoring, there are some places where we need to do type conversion s that 291 // During refactoring, there are some places where we need to do type conversion s that
294 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte d out. 292 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte d out.
295 // At that time this #define will be removed and all the uses of it will need to be corrected. 293 // At that time this #define will be removed and all the uses of it will need to be corrected.
296 #define toLocalFrameTemporary toLocalFrame 294 #define toLocalFrameTemporary toLocalFrame
297 295
298 #endif // LocalFrame_h 296 #endif // LocalFrame_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698