Commit f39bd282 authored by eric@webkit.org's avatar eric@webkit.org

Reviewed by Gavin Barraclough.

        Upstream 3 more files to get the WebCore-Chromium build a bit further.

        * WebCore.scons:
        * page/chromium/AccessibilityObjectChromium.cpp: Added.
        (WebCore::AccessibilityObject::accessibilityIgnoreAttachment):
        * page/chromium/AccessibilityObjectWrapper.h: Added.
        (WebCore::AccessibilityObjectWrapper::~AccessibilityObjectWrapper):
        (WebCore::AccessibilityObjectWrapper::attached):
        (WebCore::AccessibilityObjectWrapper::accessibilityObject):
        (WebCore::AccessibilityObjectWrapper::AccessibilityObjectWrapper):
        * platform/chromium/PasteboardPrivate.h: Added.
        (WebCore::PasteboardPrivate::):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39668 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 89a55e98
2009-01-06 Eric Seidel <eric@webkit.org>
Reviewed by Gavin Barraclough.
Upstream 3 more files to get the WebCore-Chromium build a bit further.
* WebCore.scons:
* page/chromium/AccessibilityObjectChromium.cpp: Added.
(WebCore::AccessibilityObject::accessibilityIgnoreAttachment):
* page/chromium/AccessibilityObjectWrapper.h: Added.
(WebCore::AccessibilityObjectWrapper::~AccessibilityObjectWrapper):
(WebCore::AccessibilityObjectWrapper::attached):
(WebCore::AccessibilityObjectWrapper::accessibilityObject):
(WebCore::AccessibilityObjectWrapper::AccessibilityObjectWrapper):
* platform/chromium/PasteboardPrivate.h: Added.
(WebCore::PasteboardPrivate::):
2009-01-06 Chris Marrin <cmarrin@apple.com>
Reviewed by David Hyatt.
......@@ -188,7 +188,6 @@ sources['editing'] = [
'editing/visible_units.cpp',
'editing/VisiblePosition.cpp',
'editing/WrapContentsInDummySpanCommand.cpp',
'editing/wx/EditorWx.cpp'
]
sources['history'] = [
'history/BackForwardList.cpp',
......@@ -397,6 +396,9 @@ sources['page/animation'] = [
'page/animation/ImplicitAnimation.cpp',
'page/animation/KeyframeAnimation.cpp',
]
sources['page/chromium'] = [
'page/chromium/AccessibilityObjectChromium.cpp',
]
# platform/ sources are in a separate section below
# and may eventually be moved to another file
sources['plugins'] = [
......
/*
* Copyright (C) 2008 Apple Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
#include "AccessibilityObject.h"
namespace WebCore {
bool AccessibilityObject::accessibilityIgnoreAttachment() const
{
return false;
}
} // namespace WebCore
/*
* Copyright (C) 2008 Apple Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef AccessibilityObjectWrapper_h
#define AccessibilityObjectWrapper_h
namespace WebCore {
class AccessibilityObject;
class AccessibilityObjectWrapper : public RefCounted<AccessibilityObjectWrapper> {
public:
virtual ~AccessibilityObjectWrapper() {}
virtual void detach() = 0;
bool attached() const { return m_object; }
AccessibilityObject* accessibilityObject() const { return m_object; }
protected:
AccessibilityObjectWrapper(AccessibilityObject* obj)
: RefCounted<AccessibilityObjectWrapper>(0), m_object(obj) { }
AccessibilityObjectWrapper() : m_object(0) { }
AccessibilityObject* m_object;
};
} // namespace WebCore
#endif // AccessibilityObjectWrapper_h
/*
* Copyright (c) 2008, Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following disclaimer
* in the documentation and/or other materials provided with the
* distribution.
* * Neither the name of Google Inc. nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef PasteboardPrivate_h
#define PasteboardPrivate_h
namespace WebCore {
class PasteboardPrivate
{
public:
enum ClipboardFormat {
HTMLFormat,
BookmarkFormat,
WebSmartPasteFormat,
};
};
}
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment