Chromium Code Reviews| 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 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 419 // resizer. | 419 // resizer. |
| 420 typedef HashSet<LayoutBox*> ResizerAreaSet; | 420 typedef HashSet<LayoutBox*> ResizerAreaSet; |
| 421 void AddResizerArea(LayoutBox&); | 421 void AddResizerArea(LayoutBox&); |
| 422 void RemoveResizerArea(LayoutBox&); | 422 void RemoveResizerArea(LayoutBox&); |
| 423 const ResizerAreaSet* ResizerAreas() const { return resizer_areas_.get(); } | 423 const ResizerAreaSet* ResizerAreas() const { return resizer_areas_.get(); } |
| 424 | 424 |
| 425 bool ShouldUseIntegerScrollOffset() const override; | 425 bool ShouldUseIntegerScrollOffset() const override; |
| 426 | 426 |
| 427 bool IsActive() const override; | 427 bool IsActive() const override; |
| 428 | 428 |
| 429 // Override scrollbar notifications to update the AXObject cache. | 429 // Override scrollbar notifications to update the AXObjectImpl cache. |
|
aboxhall
2017/05/05 05:22:18
Bad replace too
| |
| 430 void DidAddScrollbar(Scrollbar&, ScrollbarOrientation) override; | 430 void DidAddScrollbar(Scrollbar&, ScrollbarOrientation) override; |
| 431 | 431 |
| 432 // FIXME: This should probably be renamed as the 'inSubtreeLayout' parameter | 432 // FIXME: This should probably be renamed as the 'inSubtreeLayout' parameter |
| 433 // passed around the FrameView layout methods can be true while this returns | 433 // passed around the FrameView layout methods can be true while this returns |
| 434 // false. | 434 // false. |
| 435 bool IsSubtreeLayout() const { return !layout_subtree_root_list_.IsEmpty(); } | 435 bool IsSubtreeLayout() const { return !layout_subtree_root_list_.IsEmpty(); } |
| 436 | 436 |
| 437 // Sets the tickmarks for the FrameView, overriding the default behavior | 437 // Sets the tickmarks for the FrameView, overriding the default behavior |
| 438 // which is to display the tickmarks corresponding to find results. | 438 // which is to display the tickmarks corresponding to find results. |
| 439 // If |m_tickmarks| is empty, the default behavior is restored. | 439 // If |m_tickmarks| is empty, the default behavior is restored. |
| (...skipping 834 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1274 frameViewBase.IsFrameView()); | 1274 frameViewBase.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 |