~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to src/3rdparty/webkit/WebCore/html/HTMLEmbedElement.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3
3
 *           (C) 1999 Antti Koivisto (koivisto@kde.org)
4
 
 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved.
 
4
 * Copyright (C) 2004, 2006, 2008, 2009 Apple Inc. All rights reserved.
5
5
 *
6
6
 * This library is free software; you can redistribute it and/or
7
7
 * modify it under the terms of the GNU Library General Public
29
29
 
30
30
class HTMLEmbedElement : public HTMLPlugInImageElement {
31
31
public:
 
32
    static PassRefPtr<HTMLEmbedElement> create(const QualifiedName&, Document*);
 
33
 
 
34
    void setNeedWidgetUpdate(bool needWidgetUpdate) { m_needWidgetUpdate = needWidgetUpdate; }
 
35
 
 
36
private:
32
37
    HTMLEmbedElement(const QualifiedName&, Document*);
33
 
    ~HTMLEmbedElement();
34
38
 
35
39
    virtual HTMLTagStatus endTagRequirement() const { return TagStatusForbidden; }
36
40
    virtual int tagPriority() const { return 0; }
50
54
    virtual const QualifiedName& imageSourceAttributeName() const;
51
55
 
52
56
    virtual void updateWidget();
53
 
    void setNeedWidgetUpdate(bool needWidgetUpdate) { m_needWidgetUpdate = needWidgetUpdate; }
54
57
 
55
58
    virtual RenderWidget* renderWidgetForJSBindings() const;
56
59
 
57
 
    String src() const;
58
 
    void setSrc(const String&);
59
 
 
60
 
    String type() const;
61
 
    void setType(const String&);
62
 
 
63
60
    virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const;
64
61
 
65
 
private:
66
62
    bool m_needWidgetUpdate;
67
63
};
68
64