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

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

Issue 235903003: Remove FrameView::containsScrollableArea (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/frame/FrameView.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) 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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 void setTracksRepaints(bool); 264 void setTracksRepaints(bool);
265 bool isTrackingRepaints() const { return m_isTrackingRepaints; } 265 bool isTrackingRepaints() const { return m_isTrackingRepaints; }
266 void resetTrackedRepaints(); 266 void resetTrackedRepaints();
267 String trackedRepaintRectsAsText() const; 267 String trackedRepaintRectsAsText() const;
268 268
269 typedef HashSet<ScrollableArea*> ScrollableAreaSet; 269 typedef HashSet<ScrollableArea*> ScrollableAreaSet;
270 // Returns whether the scrollable area has just been newly added. 270 // Returns whether the scrollable area has just been newly added.
271 bool addScrollableArea(ScrollableArea*); 271 bool addScrollableArea(ScrollableArea*);
272 // Returns whether the scrollable area has just been removed. 272 // Returns whether the scrollable area has just been removed.
273 bool removeScrollableArea(ScrollableArea*); 273 bool removeScrollableArea(ScrollableArea*);
274 bool containsScrollableArea(const ScrollableArea*) const;
275 const ScrollableAreaSet* scrollableAreas() const { return m_scrollableAreas. get(); } 274 const ScrollableAreaSet* scrollableAreas() const { return m_scrollableAreas. get(); }
276 275
277 // With CSS style "resize:" enabled, a little resizer handle will appear at the bottom 276 // With CSS style "resize:" enabled, a little resizer handle will appear at the bottom
278 // right of the object. We keep track of these resizer areas for checking if touches 277 // right of the object. We keep track of these resizer areas for checking if touches
279 // (implemented using Scroll gesture) are targeting the resizer. 278 // (implemented using Scroll gesture) are targeting the resizer.
280 typedef HashSet<RenderBox*> ResizerAreaSet; 279 typedef HashSet<RenderBox*> ResizerAreaSet;
281 void addResizerArea(RenderBox*); 280 void addResizerArea(RenderBox*);
282 void removeResizerArea(RenderBox*); 281 void removeResizerArea(RenderBox*);
283 const ResizerAreaSet* resizerAreas() const { return m_resizerAreas.get(); } 282 const ResizerAreaSet* resizerAreas() const { return m_resizerAreas.get(); }
284 283
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 m_view->setCanRepaintDuringPerformLayout(m_originalValue); 563 m_view->setCanRepaintDuringPerformLayout(m_originalValue);
565 } 564 }
566 private: 565 private:
567 FrameView* m_view; 566 FrameView* m_view;
568 bool m_originalValue; 567 bool m_originalValue;
569 }; 568 };
570 569
571 } // namespace WebCore 570 } // namespace WebCore
572 571
573 #endif // FrameView_h 572 #endif // FrameView_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698