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 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 | 104 |
105 // Methods for getting/setting the size Blink should use to layout the conte
nts. | 105 // Methods for getting/setting the size Blink should use to layout the conte
nts. |
106 IntSize layoutSize(IncludeScrollbarsInRect = ExcludeScrollbars) const; | 106 IntSize layoutSize(IncludeScrollbarsInRect = ExcludeScrollbars) const; |
107 void setLayoutSize(const IntSize&); | 107 void setLayoutSize(const IntSize&); |
108 | 108 |
109 // If this is set to false, the layout size will need to be explicitly set b
y the owner. | 109 // If this is set to false, the layout size will need to be explicitly set b
y the owner. |
110 // E.g. WebViewImpl sets its mainFrame's layout size manually | 110 // E.g. WebViewImpl sets its mainFrame's layout size manually |
111 void setLayoutSizeFixedToFrameSize(bool isFixed) { m_layoutSizeFixedToFrameS
ize = isFixed; } | 111 void setLayoutSizeFixedToFrameSize(bool isFixed) { m_layoutSizeFixedToFrameS
ize = isFixed; } |
112 bool layoutSizeFixedToFrameSize() { return m_layoutSizeFixedToFrameSize; } | 112 bool layoutSizeFixedToFrameSize() { return m_layoutSizeFixedToFrameSize; } |
113 | 113 |
114 bool needsFullRepaint() const { return m_doFullRepaint; } | |
115 | |
116 void updateAcceleratedCompositingSettings(); | 114 void updateAcceleratedCompositingSettings(); |
117 | 115 |
118 void recalcOverflowAfterStyleChange(); | 116 void recalcOverflowAfterStyleChange(); |
119 void updateCompositingLayersAfterStyleChange(); | 117 void updateCompositingLayersAfterStyleChange(); |
120 | 118 |
121 bool hasCompositedContent() const; | 119 bool hasCompositedContent() const; |
122 bool isEnclosedInCompositingLayer() const; | 120 bool isEnclosedInCompositingLayer() const; |
123 | 121 |
124 void resetScrollbars(); | 122 void resetScrollbars(); |
125 void prepareForDetach(); | 123 void prepareForDetach(); |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 LayoutSize m_size; | 420 LayoutSize m_size; |
423 | 421 |
424 typedef HashSet<RefPtr<RenderEmbeddedObject> > EmbeddedObjectSet; | 422 typedef HashSet<RefPtr<RenderEmbeddedObject> > EmbeddedObjectSet; |
425 EmbeddedObjectSet m_widgetUpdateSet; | 423 EmbeddedObjectSet m_widgetUpdateSet; |
426 | 424 |
427 // FIXME: These are just "children" of the FrameView and should be RefPtr<Wi
dget> instead. | 425 // FIXME: These are just "children" of the FrameView and should be RefPtr<Wi
dget> instead. |
428 HashSet<RefPtr<RenderWidget> > m_widgets; | 426 HashSet<RefPtr<RenderWidget> > m_widgets; |
429 | 427 |
430 RefPtr<LocalFrame> m_frame; | 428 RefPtr<LocalFrame> m_frame; |
431 | 429 |
432 bool m_doFullRepaint; | |
433 | |
434 bool m_canHaveScrollbars; | 430 bool m_canHaveScrollbars; |
435 bool m_cannotBlitToWindow; | 431 bool m_cannotBlitToWindow; |
436 bool m_isOverlapped; | 432 bool m_isOverlapped; |
437 bool m_contentIsOpaque; | 433 bool m_contentIsOpaque; |
438 unsigned m_slowRepaintObjectCount; | 434 unsigned m_slowRepaintObjectCount; |
439 | 435 |
440 bool m_hasPendingLayout; | 436 bool m_hasPendingLayout; |
441 RenderObject* m_layoutSubtreeRoot; | 437 RenderObject* m_layoutSubtreeRoot; |
442 | 438 |
443 bool m_layoutSchedulingEnabled; | 439 bool m_layoutSchedulingEnabled; |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 m_view->setCanRepaintDuringPerformLayout(m_originalValue); | 556 m_view->setCanRepaintDuringPerformLayout(m_originalValue); |
561 } | 557 } |
562 private: | 558 private: |
563 FrameView* m_view; | 559 FrameView* m_view; |
564 bool m_originalValue; | 560 bool m_originalValue; |
565 }; | 561 }; |
566 | 562 |
567 } // namespace WebCore | 563 } // namespace WebCore |
568 | 564 |
569 #endif // FrameView_h | 565 #endif // FrameView_h |
OLD | NEW |