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

« back to all changes in this revision

Viewing changes to src/3rdparty/webkit/WebCore/generated/SVGElementFactory.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
 
 * THIS FILE IS AUTOMATICALLY GENERATED, DO NOT EDIT.
3
 
 *
4
 
 *
5
 
 * Copyright (C) 2005 Apple Computer, Inc.  All rights reserved.
 
2
 * THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT.
 
3
 *
 
4
 * This file was generated by the dom/make_names.pl script.
 
5
 *
 
6
 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc.  All rights reserved.
6
7
 *
7
8
 * Redistribution and use in source and binary forms, with or without
8
9
 * modification, are permitted provided that the following conditions
23
24
 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
24
25
 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
26
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26
 
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
 
27
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
28
 */
28
29
 
29
 
 
30
30
#ifndef SVGElementFactory_h
31
31
#define SVGElementFactory_h
32
32
 
42
42
namespace WebCore {
43
43
 
44
44
    class SVGElement;
45
 
 
46
45
    // The idea behind this class is that there will eventually be a mapping from namespace URIs to ElementFactories that can dispense
47
46
    // elements. In a compound document world, the generic createElement function (will end up being virtual) will be called.
48
47
    class SVGElementFactory {
49
48
    public:
50
49
        PassRefPtr<Element> createElement(const WebCore::QualifiedName&, WebCore::Document*, bool createdByParser = true);
51
 
        static PassRefPtr<SVGElement> createSVGElement(const WebCore::QualifiedName&, WebCore::Document*, bool createdByParser = true);
 
50
        static PassRefPtr<SVGElement> createSVGElement(const WebCore::QualifiedName&, WebCore::Document*, bool /*createdByParser*/ = true);
52
51
    };
53
52
}
54
53