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

Side by Side Diff: sky/engine/core/frame/FrameView.h

Issue 768973004: Remove PaintBehavior. It's unused. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « no previous file | sky/engine/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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 void setInputEventsTransformForEmulation(const IntSize&, float); 131 void setInputEventsTransformForEmulation(const IntSize&, float);
132 132
133 AtomicString mediaType() const; 133 AtomicString mediaType() const;
134 void setMediaType(const AtomicString&); 134 void setMediaType(const AtomicString&);
135 135
136 void postLayoutTimerFired(Timer<FrameView>*); 136 void postLayoutTimerFired(Timer<FrameView>*);
137 137
138 void paint(GraphicsContext* context, const IntRect& rect) override; 138 void paint(GraphicsContext* context, const IntRect& rect) override;
139 139
140 void paintContents(GraphicsContext*, const IntRect& damageRect); 140 void paintContents(GraphicsContext*, const IntRect& damageRect);
141 void setPaintBehavior(PaintBehavior);
142 PaintBehavior paintBehavior() const;
143 bool isPainting() const; 141 bool isPainting() const;
144 bool hasEverPainted() const { return m_lastPaintTime; } 142 bool hasEverPainted() const { return m_lastPaintTime; }
145 void setNodeToDraw(Node*); 143 void setNodeToDraw(Node*);
146 144
147 Color documentBackgroundColor() const; 145 Color documentBackgroundColor() const;
148 146
149 static double currentFrameTimeStamp() { return s_currentFrameTimeStamp; } 147 static double currentFrameTimeStamp() { return s_currentFrameTimeStamp; }
150 148
151 void updateLayoutAndStyleForPainting(); 149 void updateLayoutAndStyleForPainting();
152 void updateLayoutAndStyleIfNeededRecursive(); 150 void updateLayoutAndStyleIfNeededRecursive();
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 bool m_horizontalOverflow; 275 bool m_horizontalOverflow;
278 bool m_verticalOverflow; 276 bool m_verticalOverflow;
279 RenderObject* m_viewportRenderer; 277 RenderObject* m_viewportRenderer;
280 278
281 double m_lastPaintTime; 279 double m_lastPaintTime;
282 280
283 bool m_isTrackingPaintInvalidations; // Used for testing. 281 bool m_isTrackingPaintInvalidations; // Used for testing.
284 Vector<IntRect> m_trackedPaintInvalidationRects; 282 Vector<IntRect> m_trackedPaintInvalidationRects;
285 283
286 RefPtr<Node> m_nodeToDraw; 284 RefPtr<Node> m_nodeToDraw;
287 PaintBehavior m_paintBehavior;
288 bool m_isPainting; 285 bool m_isPainting;
289 286
290 OwnPtr<ScrollableAreaSet> m_scrollableAreas; 287 OwnPtr<ScrollableAreaSet> m_scrollableAreas;
291 288
292 bool m_hasSoftwareFilters; 289 bool m_hasSoftwareFilters;
293 290
294 float m_visibleContentScaleFactor; 291 float m_visibleContentScaleFactor;
295 IntSize m_inputEventsOffsetForEmulation; 292 IntSize m_inputEventsOffsetForEmulation;
296 float m_inputEventsScaleFactorForEmulation; 293 float m_inputEventsScaleFactorForEmulation;
297 294
(...skipping 25 matching lines...) Expand all
323 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); 320 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue);
324 } 321 }
325 private: 322 private:
326 FrameView* m_view; 323 FrameView* m_view;
327 bool m_originalValue; 324 bool m_originalValue;
328 }; 325 };
329 326
330 } // namespace blink 327 } // namespace blink
331 328
332 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ 329 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698