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

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

Issue 683373002: Invalidate the frame view when changing the background image of the document or body. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Cleanup. Created 6 years, 1 month 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
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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // Methods for getting/setting the size Blink should use to layout the conte nts. 115 // Methods for getting/setting the size Blink should use to layout the conte nts.
116 IntSize layoutSize(IncludeScrollbarsInRect = ExcludeScrollbars) const; 116 IntSize layoutSize(IncludeScrollbarsInRect = ExcludeScrollbars) const;
117 void setLayoutSize(const IntSize&); 117 void setLayoutSize(const IntSize&);
118 118
119 // If this is set to false, the layout size will need to be explicitly set b y the owner. 119 // If this is set to false, the layout size will need to be explicitly set b y the owner.
120 // E.g. WebViewImpl sets its mainFrame's layout size manually 120 // E.g. WebViewImpl sets its mainFrame's layout size manually
121 void setLayoutSizeFixedToFrameSize(bool isFixed) { m_layoutSizeFixedToFrameS ize = isFixed; } 121 void setLayoutSizeFixedToFrameSize(bool isFixed) { m_layoutSizeFixedToFrameS ize = isFixed; }
122 bool layoutSizeFixedToFrameSize() { return m_layoutSizeFixedToFrameSize; } 122 bool layoutSizeFixedToFrameSize() { return m_layoutSizeFixedToFrameSize; }
123 123
124 bool needsFullPaintInvalidation() const { return m_doFullPaintInvalidation; } 124 bool needsFullPaintInvalidation() const { return m_doFullPaintInvalidation; }
125 void setNeedsFullPaintInvalidation() { m_doFullPaintInvalidation = true; }
125 126
126 void updateAcceleratedCompositingSettings(); 127 void updateAcceleratedCompositingSettings();
127 128
128 void recalcOverflowAfterStyleChange(); 129 void recalcOverflowAfterStyleChange();
129 130
130 bool isEnclosedInCompositingLayer() const; 131 bool isEnclosedInCompositingLayer() const;
131 132
132 void resetScrollbars(); 133 void resetScrollbars();
133 void prepareForDetach(); 134 void prepareForDetach();
134 void detachCustomScrollbars(); 135 void detachCustomScrollbars();
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after
827 } 828 }
828 829
829 private: 830 private:
830 RawPtrWillBeMember<FrameView> m_view; 831 RawPtrWillBeMember<FrameView> m_view;
831 bool m_originalValue; 832 bool m_originalValue;
832 }; 833 };
833 834
834 } // namespace blink 835 } // namespace blink
835 836
836 #endif // FrameView_h 837 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698