OLD | NEW |
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 | 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights |
8 reserved. | 8 reserved. |
9 | 9 |
10 This library is free software; you can redistribute it and/or | 10 This library is free software; you can redistribute it and/or |
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 // resizer. | 418 // resizer. |
419 typedef HashSet<LayoutBox*> ResizerAreaSet; | 419 typedef HashSet<LayoutBox*> ResizerAreaSet; |
420 void AddResizerArea(LayoutBox&); | 420 void AddResizerArea(LayoutBox&); |
421 void RemoveResizerArea(LayoutBox&); | 421 void RemoveResizerArea(LayoutBox&); |
422 const ResizerAreaSet* ResizerAreas() const { return resizer_areas_.get(); } | 422 const ResizerAreaSet* ResizerAreas() const { return resizer_areas_.get(); } |
423 | 423 |
424 bool ShouldUseIntegerScrollOffset() const override; | 424 bool ShouldUseIntegerScrollOffset() const override; |
425 | 425 |
426 bool IsActive() const override; | 426 bool IsActive() const override; |
427 | 427 |
428 // Override scrollbar notifications to update the AXObject cache. | 428 // Override scrollbar notifications to update the AXObjectImpl cache. |
429 void DidAddScrollbar(Scrollbar&, ScrollbarOrientation) override; | 429 void DidAddScrollbar(Scrollbar&, ScrollbarOrientation) override; |
430 | 430 |
431 // FIXME: This should probably be renamed as the 'inSubtreeLayout' parameter | 431 // FIXME: This should probably be renamed as the 'inSubtreeLayout' parameter |
432 // passed around the FrameView layout methods can be true while this returns | 432 // passed around the FrameView layout methods can be true while this returns |
433 // false. | 433 // false. |
434 bool IsSubtreeLayout() const { return !layout_subtree_root_list_.IsEmpty(); } | 434 bool IsSubtreeLayout() const { return !layout_subtree_root_list_.IsEmpty(); } |
435 | 435 |
436 // Sets the tickmarks for the FrameView, overriding the default behavior | 436 // Sets the tickmarks for the FrameView, overriding the default behavior |
437 // which is to display the tickmarks corresponding to find results. | 437 // which is to display the tickmarks corresponding to find results. |
438 // If |m_tickmarks| is empty, the default behavior is restored. | 438 // If |m_tickmarks| is empty, the default behavior is restored. |
(...skipping 835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1274 frame_or_plugin.IsFrameView()); | 1274 frame_or_plugin.IsFrameView()); |
1275 DEFINE_TYPE_CASTS(FrameView, | 1275 DEFINE_TYPE_CASTS(FrameView, |
1276 ScrollableArea, | 1276 ScrollableArea, |
1277 scrollableArea, | 1277 scrollableArea, |
1278 scrollableArea->IsFrameView(), | 1278 scrollableArea->IsFrameView(), |
1279 scrollableArea.IsFrameView()); | 1279 scrollableArea.IsFrameView()); |
1280 | 1280 |
1281 } // namespace blink | 1281 } // namespace blink |
1282 | 1282 |
1283 #endif // FrameView_h | 1283 #endif // FrameView_h |
OLD | NEW |