Commit 8a8a2f45 authored by bfulgham@webkit.org's avatar bfulgham@webkit.org

JavaScriptCore:

2009-07-14  Zoltan Horvath  <hzoltan@inf.u-szeged.hu>

        Reviewed by Darin Adler.

        Change all Noncopyable inheriting visibility to public.
        https://bugs.webkit.org/show_bug.cgi?id=27225

        Change all Noncopyable inheriting visibility to public because
        it is needed to the custom allocation framework (bug #20422).

        * bytecode/SamplingTool.h:
        * bytecompiler/RegisterID.h:
        * interpreter/CachedCall.h:
        * interpreter/RegisterFile.h:
        * parser/Lexer.h:
        * parser/Parser.h:
        * runtime/ArgList.h:
        * runtime/BatchedTransitionOptimizer.h:
        * runtime/Collector.h:
        * runtime/CommonIdentifiers.h:
        * runtime/JSCell.h:
        * runtime/JSGlobalObject.h:
        * runtime/JSLock.h:
        * runtime/JSONObject.cpp:
        * runtime/SmallStrings.cpp:
        * runtime/SmallStrings.h:
        * wtf/CrossThreadRefCounted.h:
        * wtf/GOwnPtr.h:
        * wtf/Locker.h:
        * wtf/MessageQueue.h:
        * wtf/OwnArrayPtr.h:
        * wtf/OwnFastMallocPtr.h:
        * wtf/OwnPtr.h:
        * wtf/RefCounted.h:
        * wtf/ThreadSpecific.h:
        * wtf/Threading.h:
        * wtf/Vector.h:
        * wtf/unicode/Collator.h:

WebCore:

2009-07-14  Zoltan Horvath  <hzoltan@inf.u-szeged.hu>

        Reviewed by Darin Adler.

        Change all Noncopyable inheriting visibility to public.
        https://bugs.webkit.org/show_bug.cgi?id=27225

        Change all Noncopyable inheriting visibility to public because
        it is needed to the custom allocation framework (bug #20422).

        * bindings/js/GCController.h:
        * bindings/js/WorkerScriptController.h:
        * bindings/v8/V8DOMMap.cpp:
        (WebCore::):
        * bridge/runtime.h:
        * css/CSSSelector.h:
        * css/CSSSelectorList.h:
        * css/CSSStyleSelector.h:
        * dom/ClassNames.h:
        * dom/MessagePortChannel.h:
        * dom/XMLTokenizerLibxml2.cpp:
        * dom/XMLTokenizerScope.h:
        * editing/ReplaceSelectionCommand.cpp:
        * editing/SelectionController.h:
        * editing/TextIterator.cpp:
        * history/PageCache.h:
        * html/CanvasRenderingContext2D.h:
        * html/HTMLParser.h:
        * html/HTMLParserQuirks.h:
        * html/PreloadScanner.h:
        * loader/Cache.h:
        * loader/CrossOriginPreflightResultCache.h:
        * loader/FrameLoader.h:
        * loader/ProgressTracker.h:
        * loader/ThreadableLoader.h:
        * loader/appcache/ApplicationCacheGroup.h:
        * loader/archive/ArchiveResourceCollection.h:
        * loader/icon/IconDatabase.h:
        * loader/icon/IconLoader.h:
        * loader/icon/PageURLRecord.h:
        * loader/loader.h:
        * page/ContextMenuController.h:
        * page/EventHandler.h:
        * page/FrameTree.h:
        * page/Page.h:
        * page/PageGroup.h:
        * page/PageGroupLoadDeferrer.h:
        * page/mac/EventHandlerMac.mm:
        * platform/AutodrainedPool.h:
        * platform/ContextMenu.h:
        * platform/EventLoop.h:
        * platform/HostWindow.h:
        * platform/Pasteboard.h:
        * platform/PurgeableBuffer.h:
        * platform/RunLoopTimer.h:
        * platform/ThreadGlobalData.h:
        * platform/ThreadTimers.h:
        * platform/Timer.h:
        * platform/TreeShared.h:
        * platform/graphics/FontData.h:
        * platform/graphics/GlyphWidthMap.h:
        * platform/graphics/GraphicsContext.h:
        * platform/graphics/ImageBuffer.h:
        * platform/graphics/ImageSource.h:
        * platform/graphics/MediaPlayer.h:
        * platform/graphics/skia/GraphicsContextPlatformPrivate.h:
        * platform/graphics/skia/PlatformContextSkia.h:
        * platform/graphics/win/QTMovieWin.cpp:
        * platform/mac/LocalCurrentGraphicsContext.h:
        * platform/network/FormDataBuilder.h:
        * platform/network/ResourceHandleInternal.h:
        * platform/network/soup/ResourceHandleSoup.cpp:
        * platform/text/StringBuffer.h:
        * platform/text/TextCodec.h:
        * platform/win/WindowMessageBroadcaster.h:
        * rendering/CounterNode.h:
        * rendering/LayoutState.h:
        * rendering/RenderFrameSet.h:
        * rendering/RenderView.h:
        * rendering/TransformState.h:
        * svg/SVGAnimatedProperty.h:
        * svg/SynchronizableTypeWrapper.h:
        * workers/WorkerMessagingProxy.h:
        * workers/WorkerRunLoop.cpp:
        * xml/XPathExpressionNode.h:
        * xml/XPathParser.h:
        * xml/XPathPredicate.h:
        * xml/XPathStep.h:

WebKit/gtk:

2009-07-14  Zoltan Horvath  <hzoltan@inf.u-szeged.hu>

        Reviewed by Darin Adler.

        Change all Noncopyable inheriting visibility to public.
        https://bugs.webkit.org/show_bug.cgi?id=27225

        Change all Noncopyable inheriting visibility to public because
        it is needed to the custom allocation framework (bug #20422).

        * webkit/webkitdownload.cpp:

WebKit/win:

2009-07-14  Zoltan Horvath  <hzoltan@inf.u-szeged.hu>

        Reviewed by Darin Adler.

        Change all Noncopyable inheriting visibility to public.
        https://bugs.webkit.org/show_bug.cgi?id=27225

        Change all Noncopyable inheriting visibility to public because
        it is needed to the custom allocation framework (bug #20422).

        * COMEnumVariant.h:
        * WebDatabaseManager.cpp:
        * WebInspector.h:
        * WebLocalizableStrings.cpp:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45891 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 0d95a99f
2009-07-14 Zoltan Horvath <hzoltan@inf.u-szeged.hu>
Reviewed by Darin Adler.
Change all Noncopyable inheriting visibility to public.
https://bugs.webkit.org/show_bug.cgi?id=27225
Change all Noncopyable inheriting visibility to public because
it is needed to the custom allocation framework (bug #20422).
* bytecode/SamplingTool.h:
* bytecompiler/RegisterID.h:
* interpreter/CachedCall.h:
* interpreter/RegisterFile.h:
* parser/Lexer.h:
* parser/Parser.h:
* runtime/ArgList.h:
* runtime/BatchedTransitionOptimizer.h:
* runtime/Collector.h:
* runtime/CommonIdentifiers.h:
* runtime/JSCell.h:
* runtime/JSGlobalObject.h:
* runtime/JSLock.h:
* runtime/JSONObject.cpp:
* runtime/SmallStrings.cpp:
* runtime/SmallStrings.h:
* wtf/CrossThreadRefCounted.h:
* wtf/GOwnPtr.h:
* wtf/Locker.h:
* wtf/MessageQueue.h:
* wtf/OwnArrayPtr.h:
* wtf/OwnFastMallocPtr.h:
* wtf/OwnPtr.h:
* wtf/RefCounted.h:
* wtf/ThreadSpecific.h:
* wtf/Threading.h:
* wtf/Vector.h:
* wtf/unicode/Collator.h:
2009-07-14 Zoltan Horvath <hzoltan@inf.u-szeged.hu>
Reviewed by Darin Adler.
......
......@@ -140,7 +140,7 @@ namespace JSC {
friend class HostCallRecord;
#if ENABLE(OPCODE_SAMPLING)
class CallRecord : Noncopyable {
class CallRecord : public Noncopyable {
public:
CallRecord(SamplingTool* samplingTool)
: m_samplingTool(samplingTool)
......@@ -170,7 +170,7 @@ namespace JSC {
}
};
#else
class CallRecord : Noncopyable {
class CallRecord : public Noncopyable {
public:
CallRecord(SamplingTool*)
{
......
......@@ -35,7 +35,7 @@
namespace JSC {
class RegisterID : Noncopyable {
class RegisterID : public Noncopyable {
public:
RegisterID()
: m_refCount(0)
......
......@@ -32,7 +32,7 @@
#include "Interpreter.h"
namespace JSC {
class CachedCall : Noncopyable {
class CachedCall : public Noncopyable {
public:
CachedCall(CallFrame* callFrame, JSFunction* function, int argCount, JSValue* exception)
: m_valid(false)
......
......@@ -92,7 +92,7 @@ namespace JSC {
class JSGlobalObject;
class RegisterFile : Noncopyable {
class RegisterFile : public Noncopyable {
friend class JIT;
public:
enum CallFrameHeaderEntry {
......
......@@ -33,7 +33,7 @@ namespace JSC {
class RegExp;
class Lexer : Noncopyable {
class Lexer : public Noncopyable {
public:
// Character manipulation functions.
static bool isWhiteSpace(int character);
......
......@@ -39,7 +39,7 @@ namespace JSC {
template <typename T> struct ParserArenaData : ParserArenaDeletable { T data; };
class Parser : Noncopyable {
class Parser : public Noncopyable {
public:
template <class ParsedNode> PassRefPtr<ParsedNode> parse(ExecState*, Debugger*, const SourceCode&, int* errLine = 0, UString* errMsg = 0);
template <class ParsedNode> PassRefPtr<ParsedNode> reparse(JSGlobalData*, ParsedNode*);
......
......@@ -31,7 +31,7 @@
namespace JSC {
class MarkedArgumentBuffer : Noncopyable {
class MarkedArgumentBuffer : public Noncopyable {
private:
static const unsigned inlineCapacity = 8;
typedef Vector<Register, inlineCapacity> VectorType;
......
......@@ -32,7 +32,7 @@
namespace JSC {
class BatchedTransitionOptimizer : Noncopyable {
class BatchedTransitionOptimizer : public Noncopyable {
public:
BatchedTransitionOptimizer(JSObject* object)
: m_object(object)
......
......@@ -63,7 +63,7 @@ namespace JSC {
OperationInProgress operationInProgress;
};
class Heap : Noncopyable {
class Heap : public Noncopyable {
public:
class Thread;
typedef CollectorHeapIterator<PrimaryHeap> iterator;
......
......@@ -70,7 +70,7 @@
namespace JSC {
class CommonIdentifiers : Noncopyable {
class CommonIdentifiers : public Noncopyable {
private:
CommonIdentifiers(JSGlobalData*);
friend class JSGlobalData;
......
......@@ -31,7 +31,7 @@
namespace JSC {
class JSCell : Noncopyable {
class JSCell : public Noncopyable {
friend class GetterSetter;
friend class Heap;
friend class JIT;
......
......@@ -391,7 +391,7 @@ namespace JSC {
return globalData().dynamicGlobalObject;
}
class DynamicGlobalObjectScope : Noncopyable {
class DynamicGlobalObjectScope : public Noncopyable {
public:
DynamicGlobalObjectScope(CallFrame* callFrame, JSGlobalObject* dynamicGlobalObject)
: m_dynamicGlobalObjectSlot(callFrame->globalData().dynamicGlobalObject)
......
......@@ -50,7 +50,7 @@ namespace JSC {
class ExecState;
class JSLock : Noncopyable {
class JSLock : public Noncopyable {
public:
JSLock(ExecState*);
......@@ -85,7 +85,7 @@ namespace JSC {
bool m_lockingForReal;
class DropAllLocks : Noncopyable {
class DropAllLocks : public Noncopyable {
public:
DropAllLocks(ExecState* exec);
DropAllLocks(bool);
......
......@@ -61,7 +61,7 @@ private:
mutable JSValue m_value;
};
class Stringifier : Noncopyable {
class Stringifier : public Noncopyable {
public:
Stringifier(ExecState*, JSValue replacer, JSValue space);
~Stringifier();
......
......@@ -34,7 +34,7 @@
namespace JSC {
static const unsigned numCharactersToStore = 0x100;
class SmallStringsStorage : Noncopyable {
class SmallStringsStorage : public Noncopyable {
public:
SmallStringsStorage();
......
......@@ -36,7 +36,7 @@ namespace JSC {
class SmallStringsStorage;
class SmallStrings : Noncopyable {
class SmallStrings : public Noncopyable {
public:
SmallStrings();
~SmallStrings();
......
......@@ -51,7 +51,7 @@ namespace WTF {
// with respect to the original and any other copies. The underlying m_data is jointly
// owned by the original instance and all copies.
template<class T>
class CrossThreadRefCounted : Noncopyable {
class CrossThreadRefCounted : public Noncopyable {
public:
static PassRefPtr<CrossThreadRefCounted<T> > create(T* data)
{
......
......@@ -37,7 +37,7 @@ namespace WTF {
template<> void freeOwnedGPtr<GDir>(GDir*);
template<> void freeOwnedGPtr<GHashTable>(GHashTable*);
template <typename T> class GOwnPtr : Noncopyable {
template <typename T> class GOwnPtr : public Noncopyable {
public:
explicit GOwnPtr(T* ptr = 0) : m_ptr(ptr) { }
~GOwnPtr() { freeOwnedGPtr(m_ptr); }
......
......@@ -32,7 +32,7 @@
namespace WTF {
template <typename T> class Locker : Noncopyable {
template <typename T> class Locker : public Noncopyable {
public:
Locker(T& lockable) : m_lockable(lockable) { m_lockable.lock(); }
~Locker() { m_lockable.unlock(); }
......
......@@ -45,7 +45,7 @@ namespace WTF {
};
template<typename DataType>
class MessageQueue : Noncopyable {
class MessageQueue : public Noncopyable {
public:
MessageQueue() : m_killed(false) { }
......
......@@ -27,7 +27,7 @@
namespace WTF {
template <typename T> class OwnArrayPtr : Noncopyable {
template <typename T> class OwnArrayPtr : public Noncopyable {
public:
explicit OwnArrayPtr(T* ptr = 0) : m_ptr(ptr) { }
~OwnArrayPtr() { safeDelete(); }
......
......@@ -27,7 +27,7 @@
namespace WTF {
template<class T> class OwnFastMallocPtr : Noncopyable {
template<class T> class OwnFastMallocPtr : public Noncopyable {
public:
explicit OwnFastMallocPtr(T* ptr) : m_ptr(ptr)
{
......
......@@ -34,7 +34,7 @@ namespace WTF {
template <typename T> class PassOwnPtr;
template <typename T> class OwnPtr : Noncopyable {
template <typename T> class OwnPtr : public Noncopyable {
public:
typedef typename RemovePointer<T>::Type ValueType;
typedef ValueType* PtrType;
......
......@@ -59,7 +59,7 @@ namespace WTF {
void ThreadSpecificThreadExit();
#endif
template<typename T> class ThreadSpecific : Noncopyable {
template<typename T> class ThreadSpecific : public Noncopyable {
public:
ThreadSpecific();
T* operator->();
......
......@@ -159,7 +159,7 @@ typedef void* PlatformReadWriteLock;
typedef void* PlatformCondition;
#endif
class Mutex : Noncopyable {
class Mutex : public Noncopyable {
public:
Mutex();
~Mutex();
......@@ -176,7 +176,7 @@ private:
typedef Locker<Mutex> MutexLocker;
class ReadWriteLock : Noncopyable {
class ReadWriteLock : public Noncopyable {
public:
ReadWriteLock();
~ReadWriteLock();
......@@ -193,7 +193,7 @@ private:
PlatformReadWriteLock m_readWriteLock;
};
class ThreadCondition : Noncopyable {
class ThreadCondition : public Noncopyable {
public:
ThreadCondition();
~ThreadCondition();
......@@ -234,7 +234,7 @@ inline int atomicDecrement(int volatile* addend) { return __gnu_cxx::__exchange_
#endif
class ThreadSafeSharedBase : Noncopyable {
class ThreadSafeSharedBase : public Noncopyable {
public:
ThreadSafeSharedBase(int initialRefCount = 1)
: m_refCount(initialRefCount)
......
......@@ -268,7 +268,7 @@ namespace WTF {
};
template<typename T>
class VectorBufferBase : Noncopyable {
class VectorBufferBase : public Noncopyable {
public:
void allocateBuffer(size_t newCapacity)
{
......
......@@ -39,7 +39,7 @@ struct UCollator;
namespace WTF {
class Collator : Noncopyable {
class Collator : public Noncopyable {
public:
enum Result { Equal = 0, Greater = 1, Less = -1 };
......
2009-07-14 Zoltan Horvath <hzoltan@inf.u-szeged.hu>
Reviewed by Darin Adler.
Change all Noncopyable inheriting visibility to public.
https://bugs.webkit.org/show_bug.cgi?id=27225
Change all Noncopyable inheriting visibility to public because
it is needed to the custom allocation framework (bug #20422).
* bindings/js/GCController.h:
* bindings/js/WorkerScriptController.h:
* bindings/v8/V8DOMMap.cpp:
(WebCore::):
* bridge/runtime.h:
* css/CSSSelector.h:
* css/CSSSelectorList.h:
* css/CSSStyleSelector.h:
* dom/ClassNames.h:
* dom/MessagePortChannel.h:
* dom/XMLTokenizerLibxml2.cpp:
* dom/XMLTokenizerScope.h:
* editing/ReplaceSelectionCommand.cpp:
* editing/SelectionController.h:
* editing/TextIterator.cpp:
* history/PageCache.h:
* html/CanvasRenderingContext2D.h:
* html/HTMLParser.h:
* html/HTMLParserQuirks.h:
* html/PreloadScanner.h:
* loader/Cache.h:
* loader/CrossOriginPreflightResultCache.h:
* loader/FrameLoader.h:
* loader/ProgressTracker.h:
* loader/ThreadableLoader.h:
* loader/appcache/ApplicationCacheGroup.h:
* loader/archive/ArchiveResourceCollection.h:
* loader/icon/IconDatabase.h:
* loader/icon/IconLoader.h:
* loader/icon/PageURLRecord.h:
* loader/loader.h:
* page/ContextMenuController.h:
* page/EventHandler.h:
* page/FrameTree.h:
* page/Page.h:
* page/PageGroup.h:
* page/PageGroupLoadDeferrer.h:
* page/mac/EventHandlerMac.mm:
* platform/AutodrainedPool.h:
* platform/ContextMenu.h:
* platform/EventLoop.h:
* platform/HostWindow.h:
* platform/Pasteboard.h:
* platform/PurgeableBuffer.h:
* platform/RunLoopTimer.h:
* platform/ThreadGlobalData.h:
* platform/ThreadTimers.h:
* platform/Timer.h:
* platform/TreeShared.h:
* platform/graphics/FontData.h:
* platform/graphics/GlyphWidthMap.h:
* platform/graphics/GraphicsContext.h:
* platform/graphics/ImageBuffer.h:
* platform/graphics/ImageSource.h:
* platform/graphics/MediaPlayer.h:
* platform/graphics/skia/GraphicsContextPlatformPrivate.h:
* platform/graphics/skia/PlatformContextSkia.h:
* platform/graphics/win/QTMovieWin.cpp:
* platform/mac/LocalCurrentGraphicsContext.h:
* platform/network/FormDataBuilder.h:
* platform/network/ResourceHandleInternal.h:
* platform/network/soup/ResourceHandleSoup.cpp:
* platform/text/StringBuffer.h:
* platform/text/TextCodec.h:
* platform/win/WindowMessageBroadcaster.h:
* rendering/CounterNode.h:
* rendering/LayoutState.h:
* rendering/RenderFrameSet.h:
* rendering/RenderView.h:
* rendering/TransformState.h:
* svg/SVGAnimatedProperty.h:
* svg/SynchronizableTypeWrapper.h:
* workers/WorkerMessagingProxy.h:
* workers/WorkerRunLoop.cpp:
* xml/XPathExpressionNode.h:
* xml/XPathParser.h:
* xml/XPathPredicate.h:
* xml/XPathStep.h:
2009-07-14 Darin Fisher <darin@chromium.org>
Reviewed by Darin Adler.
......
......@@ -31,7 +31,7 @@
namespace WebCore {
class GCController : Noncopyable {
class GCController : public Noncopyable {
friend GCController& gcController();
public:
......
......@@ -45,7 +45,7 @@ namespace WebCore {
class String;
class WorkerContext;
class WorkerScriptController : Noncopyable {
class WorkerScriptController : public Noncopyable {
public:
WorkerScriptController(WorkerContext*);
~WorkerScriptController();
......
......@@ -115,7 +115,7 @@ typedef WTF::Vector<DOMDataStore*> DOMDataList;
// This class doesn't manage the lifetime of the store. The data store
// lifetime is managed by subclasses.
//
class DOMDataStore : Noncopyable {
class DOMDataStore : public Noncopyable {
public:
enum DOMWrapperMapType {
DOMNodeMap,
......@@ -287,7 +287,7 @@ typedef WTF::Vector<DOMDataStore*> DOMDataStoreList;
// thread. The DOMData for the main thread and the DOMData for child threads
// use different subclasses.
//
class DOMData: Noncopyable {
class DOMData: public Noncopyable {
public:
DOMData()
: m_delayedProcessingScheduled(false)
......
......@@ -55,14 +55,14 @@ public:
virtual ~Field() { }
};
class Method : Noncopyable {
class Method : public Noncopyable {
public:
virtual int numParameters() const = 0;
virtual ~Method() { }
};
class Class : Noncopyable {
class Class : public Noncopyable {
public:
virtual MethodList methodsNamed(const Identifier&, Instance*) const = 0;
virtual Field* fieldNamed(const Identifier&, Instance*) const = 0;
......@@ -120,7 +120,7 @@ protected:
RefPtr<RootObject> _rootObject;
};
class Array : Noncopyable {
class Array : public Noncopyable {
public:
Array(PassRefPtr<RootObject>);
virtual ~Array();
......
......@@ -31,7 +31,7 @@
namespace WebCore {
// this class represents a selector for a StyleRule
class CSSSelector : Noncopyable {
class CSSSelector : public Noncopyable {
public:
CSSSelector()
: m_tag(anyQName())
......
......@@ -31,7 +31,7 @@
namespace WebCore {
class CSSSelectorList : Noncopyable {
class CSSSelectorList : public Noncopyable {
public:
CSSSelectorList() : m_selectorArray(0) { }
~CSSSelectorList();
......
......@@ -78,7 +78,7 @@ public:
};
// This class selects a RenderStyle for a given element based on a collection of stylesheets.
class CSSStyleSelector : Noncopyable {
class CSSStyleSelector : public Noncopyable {
public:
CSSStyleSelector(Document*, const String& userStyleSheet, StyleSheetList*, CSSStyleSheet*, bool strictParsing, bool matchAuthorAndUserStyles);
~CSSStyleSelector();
......
......@@ -27,7 +27,7 @@
namespace WebCore {
class ClassNamesData : Noncopyable {
class ClassNamesData : public Noncopyable {
public:
ClassNamesData(const String& string, bool shouldFoldCase)
: m_string(string), m_shouldFoldCase(shouldFoldCase), m_createdVector(false)
......
......@@ -48,7 +48,7 @@ namespace WebCore {
// MessagePortChannel is a platform-independent interface to the remote side of a message channel.
// It acts as a wrapper around the platform-dependent PlatformMessagePortChannel implementation which ensures that the platform-dependent close() method is invoked before destruction.
class MessagePortChannel : Noncopyable {
class MessagePortChannel : public Noncopyable {
public:
static void createChannel(PassRefPtr<MessagePort>, PassRefPtr<MessagePort>);
......
......@@ -72,7 +72,7 @@ using namespace std;
namespace WebCore {
class PendingCallbacks : Noncopyable {
class PendingCallbacks : public Noncopyable {
public:
~PendingCallbacks()
{
......
......@@ -36,7 +36,7 @@ namespace WebCore {
class DocLoader;
class XMLTokenizerScope : Noncopyable {
class XMLTokenizerScope : public Noncopyable {
public:
XMLTokenizerScope(DocLoader* docLoader);
~XMLTokenizerScope();
......
......@@ -60,7 +60,7 @@ enum EFragmentType { EmptyFragment, SingleTextNodeFragment, TreeFragment };
// --- ReplacementFragment helper class
class ReplacementFragment : Noncopyable {
class ReplacementFragment : public Noncopyable {
public:
ReplacementFragment(Document*, DocumentFragment*, bool matchStyle, const VisibleSelection&);
......
......@@ -38,7 +38,7 @@ class GraphicsContext;
class RenderObject;
class VisiblePosition;
class SelectionController : Noncopyable {
class SelectionController : public Noncopyable {
public:
enum EAlteration { MOVE, EXTEND };
enum EDirection { FORWARD, BACKWARD, RIGHT, LEFT };
......
......@@ -57,7 +57,7 @@ using namespace HTMLNames;
// Keeps enough of the previous text to be able to search in the future, but no more.
// Non-breaking spaces are always equal to normal spaces.
// Case folding is also done if <isCaseSensitive> is false.
class SearchBuffer : Noncopyable {
class SearchBuffer : public Noncopyable {
public:
SearchBuffer(const String& target, bool isCaseSensitive);
~SearchBuffer();
......