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

Side by Side Diff: sky/engine/core/frame/FrameView.h

Issue 681583002: Remove pinch viewports. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: upload synced patch Created 6 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) 1997 Martin Jones (mjones@kde.org) 2 Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 (C) 1998 Waldo Bastian (bastian@kde.org) 3 (C) 1998 Waldo Bastian (bastian@kde.org)
4 (C) 1998, 1999 Torben Weis (weis@kde.org) 4 (C) 1998, 1999 Torben Weis (weis@kde.org)
5 (C) 1999 Lars Knoll (knoll@kde.org) 5 (C) 1999 Lars Knoll (knoll@kde.org)
6 (C) 1999 Antti Koivisto (koivisto@kde.org) 6 (C) 1999 Antti Koivisto (koivisto@kde.org)
7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed. 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed.
8 8
9 This library is free software; you can redistribute it and/or 9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Library General Public 10 modify it under the terms of the GNU Library General Public
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 181
182 static double currentFrameTimeStamp() { return s_currentFrameTimeStamp; } 182 static double currentFrameTimeStamp() { return s_currentFrameTimeStamp; }
183 183
184 void updateLayoutAndStyleForPainting(); 184 void updateLayoutAndStyleForPainting();
185 void updateLayoutAndStyleIfNeededRecursive(); 185 void updateLayoutAndStyleIfNeededRecursive();
186 186
187 void invalidateTreeIfNeededRecursive(); 187 void invalidateTreeIfNeededRecursive();
188 188
189 void forceLayout(bool allowSubtree = false); 189 void forceLayout(bool allowSubtree = false);
190 190
191 void scrollElementToRect(Element*, const IntRect&);
192 void scrollContentsIfNeededRecursive(); 191 void scrollContentsIfNeededRecursive();
193 192
194 // Methods to convert points and rects between the coordinate space of the r enderer, and this view. 193 // Methods to convert points and rects between the coordinate space of the r enderer, and this view.
195 IntRect convertFromRenderer(const RenderObject&, const IntRect&) const; 194 IntRect convertFromRenderer(const RenderObject&, const IntRect&) const;
196 IntRect convertToRenderer(const RenderObject&, const IntRect&) const; 195 IntRect convertToRenderer(const RenderObject&, const IntRect&) const;
197 IntPoint convertFromRenderer(const RenderObject&, const IntPoint&) const; 196 IntPoint convertFromRenderer(const RenderObject&, const IntPoint&) const;
198 IntPoint convertToRenderer(const RenderObject&, const IntPoint&) const; 197 IntPoint convertToRenderer(const RenderObject&, const IntPoint&) const;
199 198
200 bool isScrollable(); 199 bool isScrollable();
201 200
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); 463 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue);
465 } 464 }
466 private: 465 private:
467 FrameView* m_view; 466 FrameView* m_view;
468 bool m_originalValue; 467 bool m_originalValue;
469 }; 468 };
470 469
471 } // namespace blink 470 } // namespace blink
472 471
473 #endif // FrameView_h 472 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698