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

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

Issue 928393003: Remove the concept of document.documentElement (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 | « sky/engine/core/editing/htmlediting.cpp ('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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 AtomicString mediaType() const; 121 AtomicString mediaType() const;
122 void setMediaType(const AtomicString&); 122 void setMediaType(const AtomicString&);
123 123
124 void postLayoutTimerFired(Timer<FrameView>*); 124 void postLayoutTimerFired(Timer<FrameView>*);
125 125
126 void paint(GraphicsContext* context, const IntRect& rect) override; 126 void paint(GraphicsContext* context, const IntRect& rect) override;
127 127
128 bool isPainting() const; 128 bool isPainting() const;
129 bool hasEverPainted() const { return m_lastPaintTime; } 129 bool hasEverPainted() const { return m_lastPaintTime; }
130 130
131 Color documentBackgroundColor() const;
132
133 static double currentFrameTimeStamp() { return s_currentFrameTimeStamp; } 131 static double currentFrameTimeStamp() { return s_currentFrameTimeStamp; }
134 132
135 void updateLayoutAndStyleForPainting(); 133 void updateLayoutAndStyleForPainting();
136 void updateLayoutAndStyleIfNeededRecursive(); 134 void updateLayoutAndStyleIfNeededRecursive();
137 135
138 void forceLayout(bool allowSubtree = false); 136 void forceLayout(bool allowSubtree = false);
139 137
140 // Methods to convert points and rects between the coordinate space of the r enderer, and this view. 138 // Methods to convert points and rects between the coordinate space of the r enderer, and this view.
141 IntRect convertFromRenderer(const RenderObject&, const IntRect&) const; 139 IntRect convertFromRenderer(const RenderObject&, const IntRect&) const;
142 IntRect convertToRenderer(const RenderObject&, const IntRect&) const; 140 IntRect convertToRenderer(const RenderObject&, const IntRect&) const;
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 bool m_layoutSizeFixedToFrameSize; 243 bool m_layoutSizeFixedToFrameSize;
246 244
247 Vector<IntRect> m_tickmarks; 245 Vector<IntRect> m_tickmarks;
248 }; 246 };
249 247
250 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView()); 248 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView());
251 249
252 } // namespace blink 250 } // namespace blink
253 251
254 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ 252 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_
OLDNEW
« no previous file with comments | « sky/engine/core/editing/htmlediting.cpp ('k') | sky/engine/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698