| Index: Source/core/rendering/compositing/CompositingTriggers.h
|
| diff --git a/Source/platform/PopupMenu.h b/Source/core/rendering/compositing/CompositingTriggers.h
|
| similarity index 61%
|
| copy from Source/platform/PopupMenu.h
|
| copy to Source/core/rendering/compositing/CompositingTriggers.h
|
| index f7f822ab33c0ce64d4591c204b33becbb408570c..1e12a819cf2d6a5bfb7af0a4c9f8e07275edf431 100644
|
| --- a/Source/platform/PopupMenu.h
|
| +++ b/Source/core/rendering/compositing/CompositingTriggers.h
|
| @@ -1,5 +1,7 @@
|
| /*
|
| + * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved.
|
| * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
|
| + * Copyright (C) 2012 Samsung Electronics. 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
|
| @@ -15,31 +17,26 @@
|
| * along with this library; see the file COPYING.LIB. If not, write to
|
| * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
| * Boston, MA 02110-1301, USA.
|
| - *
|
| */
|
|
|
| -#ifndef PopupMenu_h
|
| -#define PopupMenu_h
|
| -
|
| -#include "platform/PlatformExport.h"
|
| -#include "wtf/RefCounted.h"
|
| +#ifndef CompositingTriggers_h
|
| +#define CompositingTriggers_h
|
|
|
| namespace WebCore {
|
|
|
| -class FloatQuad;
|
| -class FrameView;
|
| -class IntRect;
|
| -class IntSize;
|
| -
|
| -class PopupMenu : public RefCounted<PopupMenu> {
|
| -public:
|
| - virtual ~PopupMenu() { }
|
| - virtual void show(const FloatQuad& controlPosition, const IntSize& controlSize, int index) = 0;
|
| - virtual void hide() = 0;
|
| - virtual void updateFromElement() = 0;
|
| - virtual void disconnectClient() = 0;
|
| +enum CompositingTrigger {
|
| + ThreeDTransformTrigger = 1 << 0,
|
| + VideoTrigger = 1 << 1,
|
| + PluginTrigger = 1 << 2,
|
| + CanvasTrigger = 1 << 3,
|
| + AnimationTrigger = 1 << 4,
|
| + FilterTrigger = 1 << 5,
|
| + ScrollableInnerFrameTrigger = 1 << 6,
|
| + AllCompositingTriggers = 0xFFFFFFFF
|
| };
|
|
|
| +typedef unsigned CompositingTriggerFlags;
|
| +
|
| }
|
|
|
| -#endif // PopupMenu_h
|
| +#endif
|
|
|