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

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

Issue 737793006: Add compile flag for enabling the compostior (Closed) Base URL: https://github.com/domokit/mojo.git@master
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
« no previous file with comments | « sky/engine/config.gni ('k') | 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 130
131 float inputEventsScaleFactor() const; 131 float inputEventsScaleFactor() const;
132 IntSize inputEventsOffsetForEmulation() const; 132 IntSize inputEventsOffsetForEmulation() const;
133 void setInputEventsTransformForEmulation(const IntSize&, float); 133 void setInputEventsTransformForEmulation(const IntSize&, float);
134 134
135 AtomicString mediaType() const; 135 AtomicString mediaType() const;
136 void setMediaType(const AtomicString&); 136 void setMediaType(const AtomicString&);
137 137
138 void postLayoutTimerFired(Timer<FrameView>*); 138 void postLayoutTimerFired(Timer<FrameView>*);
139 139
140 #if !ENABLE(COMPOSITOR)
141 void paint(GraphicsContext* context, const IntRect& rect) override;
142 #endif
143
140 void paintContents(GraphicsContext*, const IntRect& damageRect); 144 void paintContents(GraphicsContext*, const IntRect& damageRect);
141 void setPaintBehavior(PaintBehavior); 145 void setPaintBehavior(PaintBehavior);
142 PaintBehavior paintBehavior() const; 146 PaintBehavior paintBehavior() const;
143 bool isPainting() const; 147 bool isPainting() const;
144 bool hasEverPainted() const { return m_lastPaintTime; } 148 bool hasEverPainted() const { return m_lastPaintTime; }
145 void setNodeToDraw(Node*); 149 void setNodeToDraw(Node*);
146 150
147 Color documentBackgroundColor() const; 151 Color documentBackgroundColor() const;
148 152
149 static double currentFrameTimeStamp() { return s_currentFrameTimeStamp; } 153 static double currentFrameTimeStamp() { return s_currentFrameTimeStamp; }
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); 332 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue);
329 } 333 }
330 private: 334 private:
331 FrameView* m_view; 335 FrameView* m_view;
332 bool m_originalValue; 336 bool m_originalValue;
333 }; 337 };
334 338
335 } // namespace blink 339 } // namespace blink
336 340
337 #endif // FrameView_h 341 #endif // FrameView_h
OLDNEW
« no previous file with comments | « sky/engine/config.gni ('k') | sky/engine/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698