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

Side by Side Diff: Source/WebCore/rendering/RenderView.h

Issue 13839016: Remove CSS_SHADERS compile-time flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2006 Apple Computer, Inc. 3 * Copyright (C) 2006 Apple Computer, Inc.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 17 matching lines...) Expand all
28 #include "RenderBlock.h" 28 #include "RenderBlock.h"
29 #include <wtf/OwnPtr.h> 29 #include <wtf/OwnPtr.h>
30 30
31 namespace WebCore { 31 namespace WebCore {
32 32
33 class FlowThreadController; 33 class FlowThreadController;
34 class RenderLayerCompositor; 34 class RenderLayerCompositor;
35 class RenderQuote; 35 class RenderQuote;
36 class RenderWidget; 36 class RenderWidget;
37 37
38 #if ENABLE(CSS_SHADERS) && USE(3D_GRAPHICS) 38 #if USE(3D_GRAPHICS)
39 class CustomFilterGlobalContext; 39 class CustomFilterGlobalContext;
40 #endif 40 #endif
41 41
42 class RenderView : public RenderBlock { 42 class RenderView : public RenderBlock {
43 public: 43 public:
44 explicit RenderView(Document*); 44 explicit RenderView(Document*);
45 virtual ~RenderView(); 45 virtual ~RenderView();
46 46
47 bool hitTest(const HitTestRequest&, HitTestResult&); 47 bool hitTest(const HitTestRequest&, HitTestResult&);
48 bool hitTest(const HitTestRequest&, const HitTestLocation&, HitTestResult&); 48 bool hitTest(const HitTestRequest&, const HitTestLocation&, HitTestResult&);
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 const IntRect& printRect() const { return m_legacyPrinting.m_printRect; } 175 const IntRect& printRect() const { return m_legacyPrinting.m_printRect; }
176 void setPrintRect(const IntRect& r) { m_legacyPrinting.m_printRect = r; } 176 void setPrintRect(const IntRect& r) { m_legacyPrinting.m_printRect = r; }
177 // End deprecated functions. 177 // End deprecated functions.
178 178
179 // Notification that this view moved into or out of a native window. 179 // Notification that this view moved into or out of a native window.
180 void setIsInWindow(bool); 180 void setIsInWindow(bool);
181 181
182 RenderLayerCompositor* compositor(); 182 RenderLayerCompositor* compositor();
183 bool usesCompositing() const; 183 bool usesCompositing() const;
184 184
185 #if ENABLE(CSS_SHADERS) && USE(3D_GRAPHICS) 185 #if USE(3D_GRAPHICS)
186 CustomFilterGlobalContext* customFilterGlobalContext(); 186 CustomFilterGlobalContext* customFilterGlobalContext();
187 #endif 187 #endif
188 188
189 IntRect unscaledDocumentRect() const; 189 IntRect unscaledDocumentRect() const;
190 LayoutRect backgroundRect(RenderBox* backgroundRenderer) const; 190 LayoutRect backgroundRect(RenderBox* backgroundRenderer) const;
191 191
192 IntRect documentRect() const; 192 IntRect documentRect() const;
193 193
194 // Renderer that paints the root background has background-images which all have background-attachment: fixed. 194 // Renderer that paints the root background has background-images which all have background-attachment: fixed.
195 bool rootBackgroundIsEntirelyFixed() const; 195 bool rootBackgroundIsEntirelyFixed() const;
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 RenderWidgetSet m_widgets; 309 RenderWidgetSet m_widgets;
310 310
311 private: 311 private:
312 bool shouldUsePrintingLayout() const; 312 bool shouldUsePrintingLayout() const;
313 313
314 LayoutUnit m_pageLogicalHeight; 314 LayoutUnit m_pageLogicalHeight;
315 bool m_pageLogicalHeightChanged; 315 bool m_pageLogicalHeightChanged;
316 LayoutState* m_layoutState; 316 LayoutState* m_layoutState;
317 unsigned m_layoutStateDisableCount; 317 unsigned m_layoutStateDisableCount;
318 OwnPtr<RenderLayerCompositor> m_compositor; 318 OwnPtr<RenderLayerCompositor> m_compositor;
319 #if ENABLE(CSS_SHADERS) && USE(3D_GRAPHICS) 319 #if USE(3D_GRAPHICS)
320 OwnPtr<CustomFilterGlobalContext> m_customFilterGlobalContext; 320 OwnPtr<CustomFilterGlobalContext> m_customFilterGlobalContext;
321 #endif 321 #endif
322 OwnPtr<FlowThreadController> m_flowThreadController; 322 OwnPtr<FlowThreadController> m_flowThreadController;
323 RefPtr<IntervalArena> m_intervalArena; 323 RefPtr<IntervalArena> m_intervalArena;
324 324
325 RenderQuote* m_renderQuoteHead; 325 RenderQuote* m_renderQuoteHead;
326 unsigned m_renderCounterCount; 326 unsigned m_renderCounterCount;
327 }; 327 };
328 328
329 inline RenderView* toRenderView(RenderObject* object) 329 inline RenderView* toRenderView(RenderObject* object)
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 RenderObject::FlowThreadState m_flowThreadState; 439 RenderObject::FlowThreadState m_flowThreadState;
440 bool m_fragmenting; 440 bool m_fragmenting;
441 #ifndef NDEBUG 441 #ifndef NDEBUG
442 LayoutState* m_layoutState; 442 LayoutState* m_layoutState;
443 #endif 443 #endif
444 }; 444 };
445 445
446 } // namespace WebCore 446 } // namespace WebCore
447 447
448 #endif // RenderView_h 448 #endif // RenderView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698