~ubuntu-branches/ubuntu/maverick/webkit/maverick

« back to all changes in this revision

Viewing changes to WebCore/dom/NodeFilterCondition.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Mike Hommey
  • Date: 2007-08-19 15:54:12 UTC
  • Revision ID: james.westby@ubuntu.com-20070819155412-uxxg1h9plpghmtbi
Tags: upstream-0~svn25144
ImportĀ upstreamĀ versionĀ 0~svn25144

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * This file is part of the DOM implementation for KDE.
 
3
 *
 
4
 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
 
5
 * Copyright (C) 2000 Frederik Holljen (frederik.holljen@hig.no)
 
6
 * Copyright (C) 2001 Peter Kelly (pmk@post.com)
 
7
 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
 
8
 * Copyright (C) 2004 Apple Computer, Inc.
 
9
 *
 
10
 * This library is free software; you can redistribute it and/or
 
11
 * modify it under the terms of the GNU Library General Public
 
12
 * License as published by the Free Software Foundation; either
 
13
 * version 2 of the License, or (at your option) any later version.
 
14
 *
 
15
 * This library is distributed in the hope that it will be useful,
 
16
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
18
 * Library General Public License for more details.
 
19
 *
 
20
 * You should have received a copy of the GNU Library General Public License
 
21
 * along with this library; see the file COPYING.LIB.  If not, write to
 
22
 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
23
 * Boston, MA 02111-1307, USA.
 
24
 *
 
25
 */
 
26
 
 
27
#include "config.h"
 
28
#include "NodeFilterCondition.h"
 
29
 
 
30
#include "NodeFilter.h"
 
31
 
 
32
namespace WebCore {
 
33
 
 
34
short NodeFilterCondition::acceptNode(Node*) const
 
35
{
 
36
    return NodeFilter::FILTER_ACCEPT;
 
37
}
 
38
 
 
39
} // namespace WebCore