summaryrefslogtreecommitdiff
path: root/src/3rdparty/webkit/WebCore/rendering/RenderFrame.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/webkit/WebCore/rendering/RenderFrame.h')
-rw-r--r--src/3rdparty/webkit/WebCore/rendering/RenderFrame.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/3rdparty/webkit/WebCore/rendering/RenderFrame.h b/src/3rdparty/webkit/WebCore/rendering/RenderFrame.h
index 49aedd3506..2716e14fbd 100644
--- a/src/3rdparty/webkit/WebCore/rendering/RenderFrame.h
+++ b/src/3rdparty/webkit/WebCore/rendering/RenderFrame.h
@@ -1,9 +1,7 @@
/*
- * This file is part of the KDE project.
- *
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 2000 Simon Hausmann <hausmann@kde.org>
- * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006, 2009 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -25,23 +23,23 @@
#ifndef RenderFrame_h
#define RenderFrame_h
-#include "HTMLFrameElement.h"
#include "RenderPart.h"
#include "RenderFrameSet.h"
namespace WebCore {
+class HTMLFrameElement;
+
class RenderFrame : public RenderPart {
public:
RenderFrame(HTMLFrameElement*);
+ FrameEdgeInfo edgeInfo() const;
+
+private:
virtual const char* renderName() const { return "RenderFrame"; }
virtual bool isFrame() const { return true; }
- HTMLFrameElement* element() const { return static_cast<HTMLFrameElement*>(RenderPart::element()); }
-
- FrameEdgeInfo edgeInfo() const;
-
virtual void viewCleared();
};