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

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

Issue 13877010: Remove frame flattening from rendering code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Less overzealousness. 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2010 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 18 matching lines...) Expand all
29 #include "RenderFrameBase.h" 29 #include "RenderFrameBase.h"
30 30
31 namespace WebCore { 31 namespace WebCore {
32 32
33 class RenderView; 33 class RenderView;
34 34
35 class RenderIFrame : public RenderFrameBase { 35 class RenderIFrame : public RenderFrameBase {
36 public: 36 public:
37 explicit RenderIFrame(Element*); 37 explicit RenderIFrame(Element*);
38 38
39 bool flattenFrame() const;
40 bool isSeamless() const; 39 bool isSeamless() const;
41 40
42 private: 41 private:
43 virtual LayoutUnit minPreferredLogicalWidth() const OVERRIDE; 42 virtual LayoutUnit minPreferredLogicalWidth() const OVERRIDE;
44 virtual LayoutUnit maxPreferredLogicalWidth() const OVERRIDE; 43 virtual LayoutUnit maxPreferredLogicalWidth() const OVERRIDE;
45 44
46 virtual bool shouldComputeSizeAsReplaced() const OVERRIDE; 45 virtual bool shouldComputeSizeAsReplaced() const OVERRIDE;
47 virtual bool isInlineBlockOrInlineTable() const OVERRIDE; 46 virtual bool isInlineBlockOrInlineTable() const OVERRIDE;
48 47
49 virtual void layout() OVERRIDE; 48 virtual void layout() OVERRIDE;
(...skipping 21 matching lines...) Expand all
71 return static_cast<const RenderIFrame*>(object); 70 return static_cast<const RenderIFrame*>(object);
72 } 71 }
73 72
74 // This will catch anyone doing an unnecessary cast. 73 // This will catch anyone doing an unnecessary cast.
75 void toRenderIFrame(const RenderIFrame*); 74 void toRenderIFrame(const RenderIFrame*);
76 75
77 76
78 } // namespace WebCore 77 } // namespace WebCore
79 78
80 #endif // RenderIFrame_h 79 #endif // RenderIFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698