Changeset 36120
- Timestamp:
- 09/05/08 15:17:56 (3 months ago)
- Location:
- trunk/WebCore
- Files:
-
- 9 modified
-
ChangeLog (modified) (1 diff)
-
dom/Node.h (modified) (1 diff)
-
page/Console.h (modified) (2 diffs)
-
page/animation/CompositeAnimation.h (modified) (1 diff)
-
platform/FileSystem.h (modified) (1 diff)
-
platform/graphics/Image.h (modified) (1 diff)
-
platform/text/AtomicString.h (modified) (1 diff)
-
platform/text/String.cpp (modified) (2 diffs)
-
rendering/style/RenderStyle.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r36118 r36120 1 2008-09-05 Eric Seidel <eric@webkit.org> 2 3 Reviewed by Darin Adler. 4 5 Try to make Chromium compile with ToT: 6 - Wrap a few places which depend on KJS:: in #if USE(JSC) 7 - Include some windows forward declarations 8 9 * dom/Node.h: 10 * page/Console.h: 11 * page/animation/CompositeAnimation.h: 12 * platform/FileSystem.h: 13 * platform/graphics/Image.h: 14 * platform/text/AtomicString.h: 15 * platform/text/String.cpp: 16 * rendering/style/RenderStyle.h: 17 1 18 2008-09-05 Dave Hyatt <hyatt@apple.com> 2 19 -
trunk/WebCore/dom/Node.h
r35860 r36120 481 481 PassRefPtr<NodeList> getElementsByClassName(const String& classNames); 482 482 483 #if USE(JSC) 483 484 PassRefPtr<Element> querySelector(const String& selectors, NSResolver*, ExceptionCode&, KJS::ExecState*); 484 485 PassRefPtr<NodeList> querySelectorAll(const String& selectors, NSResolver*, ExceptionCode&, KJS::ExecState*); 486 #endif 485 487 486 488 // For non-JS bindings. Silently ignores the JavaScript exception if any. -
trunk/WebCore/page/Console.h
r36068 r36120 73 73 void addMessage(MessageSource, MessageLevel, const String& message, unsigned lineNumber, const String& sourceURL); 74 74 75 #if USE(JSC) 75 76 void debug(KJS::ExecState*, const KJS::ArgList&); 76 77 void error(KJS::ExecState*, const KJS::ArgList&); … … 90 91 void reportException(KJS::ExecState*, KJS::JSValue*); 91 92 void reportCurrentException(KJS::ExecState*); 93 #endif 92 94 private: 93 95 inline Page* page() const; -
trunk/WebCore/page/animation/CompositeAnimation.h
r36031 r36120 30 30 #define CompositeAnimation_h 31 31 32 #include "wtf/Noncopyable.h"33 32 #include "AtomicString.h" 33 34 #include <wtf/HashMap.h> 35 #include <wtf/Noncopyable.h> 34 36 35 37 namespace WebCore { -
trunk/WebCore/platform/FileSystem.h
r34999 r36120 56 56 57 57 #if PLATFORM(WIN) 58 typedef void *HANDLE; 59 // Assuming STRICT 60 typedef struct HINSTANCE__* HINSTANCE; 61 typedef HINSTANCE HMODULE; 62 58 63 typedef HANDLE PlatformFileHandle; 59 64 typedef HMODULE PlatformModule; -
trunk/WebCore/platform/graphics/Image.h
r35993 r36120 48 48 49 49 #if PLATFORM(WIN) 50 typedef struct tagSIZE SIZE; 51 typedef SIZE* LPSIZE; 50 52 typedef struct HBITMAP__ *HBITMAP; 51 53 #endif -
trunk/WebCore/platform/text/AtomicString.h
r36073 r36120 43 43 AtomicString(const String& s) : m_string(add(s.impl())) { } 44 44 45 #if USE(JSC) 45 46 static AtomicStringImpl* find(const KJS::Identifier&); 47 #endif 46 48 47 49 operator const String&() const { return m_string; } -
trunk/WebCore/platform/text/String.cpp
r36073 r36120 624 624 m_impl = StringImpl::create(str.data(), str.size()); 625 625 } 626 #endif627 626 628 627 String::operator UString() const … … 632 631 return UString(m_impl->characters(), m_impl->length()); 633 632 } 633 #endif 634 634 635 635 // String Operations -
trunk/WebCore/rendering/style/RenderStyle.h
r36109 r36120 54 54 #include "TextDirection.h" 55 55 #include <wtf/HashMap.h> 56 #include <wtf/OwnPtr.h> 56 57 #include <wtf/RefCounted.h> 57 58 #include <wtf/Vector.h>