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

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

Issue 892033003: Consolidate and delete a bunch of paint methods. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 IntSize inputEventsOffsetForEmulation() const; 119 IntSize inputEventsOffsetForEmulation() const;
120 void setInputEventsTransformForEmulation(const IntSize&, float); 120 void setInputEventsTransformForEmulation(const IntSize&, float);
121 121
122 AtomicString mediaType() const; 122 AtomicString mediaType() const;
123 void setMediaType(const AtomicString&); 123 void setMediaType(const AtomicString&);
124 124
125 void postLayoutTimerFired(Timer<FrameView>*); 125 void postLayoutTimerFired(Timer<FrameView>*);
126 126
127 void paint(GraphicsContext* context, const IntRect& rect) override; 127 void paint(GraphicsContext* context, const IntRect& rect) override;
128 128
129 void paintContents(GraphicsContext*, const IntRect& damageRect);
130 bool isPainting() const; 129 bool isPainting() const;
131 bool hasEverPainted() const { return m_lastPaintTime; } 130 bool hasEverPainted() const { return m_lastPaintTime; }
132 131
133 Color documentBackgroundColor() const; 132 Color documentBackgroundColor() const;
134 133
135 static double currentFrameTimeStamp() { return s_currentFrameTimeStamp; } 134 static double currentFrameTimeStamp() { return s_currentFrameTimeStamp; }
136 135
137 void updateLayoutAndStyleForPainting(); 136 void updateLayoutAndStyleForPainting();
138 void updateLayoutAndStyleIfNeededRecursive(); 137 void updateLayoutAndStyleIfNeededRecursive();
139 138
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 bool m_layoutSizeFixedToFrameSize; 246 bool m_layoutSizeFixedToFrameSize;
248 247
249 Vector<IntRect> m_tickmarks; 248 Vector<IntRect> m_tickmarks;
250 }; 249 };
251 250
252 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView()); 251 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView());
253 252
254 } // namespace blink 253 } // namespace blink
255 254
256 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ 255 #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