Lines Matching refs:PlatformBridge
32 #include "PlatformBridge.h"
144 void PlatformBridge::cacheMetadata(const KURL& url, double responseTime, const Vector<char>& data)
151 bool PlatformBridge::clipboardIsFormatAvailable(
160 String PlatformBridge::clipboardReadPlainText(
167 void PlatformBridge::clipboardReadHTML(
177 PassRefPtr<SharedBuffer> PlatformBridge::clipboardReadImage(
183 void PlatformBridge::clipboardWriteSelection(const String& htmlText,
192 void PlatformBridge::clipboardWritePlainText(const String& plainText)
197 void PlatformBridge::clipboardWriteURL(const KURL& url, const String& title)
202 void PlatformBridge::clipboardWriteImage(NativeImagePtr image,
214 void PlatformBridge::clipboardWriteData(const String& type,
221 HashSet<String> PlatformBridge::clipboardReadAvailableTypes(
232 bool PlatformBridge::clipboardReadData(PasteboardPrivate::ClipboardBuffer buffer,
246 Vector<String> PlatformBridge::clipboardReadFilenames(PasteboardPrivate::ClipboardBuffer buffer)
258 void PlatformBridge::setCookies(const Document* document, const KURL& url,
266 String PlatformBridge::cookies(const Document* document, const KURL& url)
275 String PlatformBridge::cookieRequestHeaderFieldValue(const Document* document,
285 bool PlatformBridge::rawCookies(const Document* document, const KURL& url, Vector<Cookie>& rawCookies)
309 void PlatformBridge::deleteCookie(const Document* document, const KURL& url, const String& cookieName)
316 bool PlatformBridge::cookiesEnabled(const Document* document)
327 void PlatformBridge::prefetchDNS(const String& hostname)
334 bool PlatformBridge::fileExists(const String& path)
339 bool PlatformBridge::deleteFile(const String& path)
344 bool PlatformBridge::deleteEmptyDirectory(const String& path)
349 bool PlatformBridge::getFileSize(const String& path, long long& result)
354 void PlatformBridge::revealFolderInOS(const String& path)
359 bool PlatformBridge::getFileModificationTime(const String& path, time_t& result)
368 String PlatformBridge::directoryName(const String& path)
373 String PlatformBridge::pathByAppendingComponent(const String& path, const String& component)
378 bool PlatformBridge::makeAllDirectories(const String& path)
383 String PlatformBridge::getAbsolutePath(const String& path)
388 bool PlatformBridge::isDirectory(const String& path)
393 KURL PlatformBridge::filePathToURL(const String& path)
398 PlatformFileHandle PlatformBridge::openFile(const String& path, FileOpenMode mode)
403 void PlatformBridge::closeFile(PlatformFileHandle& handle)
408 long long PlatformBridge::seekFile(PlatformFileHandle handle, long long offset, FileSeekOrigin origin)
413 bool PlatformBridge::truncateFile(PlatformFileHandle handle, long long offset)
418 int PlatformBridge::readFromFile(PlatformFileHandle handle, char* data, int length)
423 int PlatformBridge::writeToFile(PlatformFileHandle handle, const char* data, int length)
431 bool PlatformBridge::ensureFontLoaded(HFONT font)
442 String PlatformBridge::getFontFamilyForCharacters(const UChar* characters, size_t numCharacters, const char* preferredLocale)
454 void PlatformBridge::getRenderStyleForStrike(const char* font, int sizeAndStyle, FontRenderStyle* result)
468 bool PlatformBridge::loadFont(NSFont* srcFont, ATSFontContainerRef* out)
485 PlatformFileHandle PlatformBridge::databaseOpenFile(const String& vfsFileName, int desiredFlags)
490 int PlatformBridge::databaseDeleteFile(const String& vfsFileName, bool syncDir)
495 long PlatformBridge::databaseGetFileAttributes(const String& vfsFileName)
500 long long PlatformBridge::databaseGetFileSize(const String& vfsFileName)
507 PassRefPtr<IDBFactoryBackendInterface> PlatformBridge::idbFactory()
514 void PlatformBridge
526 PassRefPtr<SerializedScriptValue> PlatformBridge::injectIDBKeyIntoSerializedValue(PassRefPtr<IDBKey> key, PassRefPtr<SerializedScriptValue> value, const String& keyPath)
533 String PlatformBridge::signedPublicKeyAndChallengeString(
543 String PlatformBridge::computedDefaultLanguage()
550 bool PlatformBridge::layoutTestMode()
557 bool PlatformBridge::isSupportedImageMIMEType(const String& mimeType)
563 bool PlatformBridge::isSupportedJavaScriptMIMEType(const String& mimeType)
569 bool PlatformBridge::isSupportedNonImageMIMEType(const String& mimeType)
575 String PlatformBridge::mimeTypeForExtension(const String& extension)
580 String PlatformBridge::mimeTypeFromFile(const String& path)
585 String PlatformBridge::preferredExtensionForMIMEType(const String& mimeType)
592 bool PlatformBridge::plugins(bool refresh, Vector<PluginInfo>* results)
599 NPObject* PlatformBridge::pluginScriptableObject(Widget* widget)
609 PassRefPtr<Image> PlatformBridge::loadPlatformImageResource(const char* name)
622 PassOwnPtr<AudioBus> PlatformBridge::loadPlatformAudioResource(const char* name, double sampleRate)
631 PassOwnPtr<AudioBus> PlatformBridge::decodeAudioFileData(const char* data, size_t size, double sampleRate)
643 bool PlatformBridge::sandboxEnabled()
650 void PlatformBridge::setSharedTimerFiredFunction(void (*func)())
655 void PlatformBridge::setSharedTimerFireTime(double fireTime)
660 void PlatformBridge::stopSharedTimer()
667 void PlatformBridge::decrementStatsCounter(const char* name)
672 void PlatformBridge::incrementStatsCounter(const char* name)
677 void PlatformBridge::histogramCustomCounts(const char* name, int sample, int min, int max, int bucketCount)
682 void PlatformBridge::histogramEnumeration(const char* name, int sample, int boundaryValue)
689 void PlatformBridge::suddenTerminationChanged(bool enabled)
696 double PlatformBridge::currentTime()
705 void PlatformBridge::paintButton(
713 void PlatformBridge::paintMenuList(
721 void PlatformBridge::paintScrollbarArrow(
729 void PlatformBridge::paintScrollbarThumb(
737 void PlatformBridge::paintScrollbarTrack(
746 void PlatformBridge::paintSpinButton(
754 void PlatformBridge::paintTextField(
767 void PlatformBridge::paintTrackbar(
775 void PlatformBridge::paintProgressBar(
784 static WebThemeEngine::Part WebThemePart(PlatformBridge::ThemePart part)
787 case PlatformBridge::PartScrollbarDownArrow: return WebThemeEngine::PartScrollbarDownArrow;
788 case PlatformBridge::PartScrollbarLeftArrow: return WebThemeEngine::PartScrollbarLeftArrow;
789 case PlatformBridge::PartScrollbarRightArrow: return WebThemeEngine::PartScrollbarRightArrow;
790 case PlatformBridge::PartScrollbarUpArrow: return WebThemeEngine::PartScrollbarUpArrow;
791 case PlatformBridge::PartScrollbarHorizontalThumb: return WebThemeEngine::PartScrollbarHorizontalThumb;
792 case PlatformBridge::PartScrollbarVerticalThumb: return WebThemeEngine::PartScrollbarVerticalThumb;
793 case PlatformBridge::PartScrollbarHorizontalTrack: return WebThemeEngine::PartScrollbarHorizontalTrack;
794 case PlatformBridge::PartScrollbarVerticalTrack: return WebThemeEngine::PartScrollbarVerticalTrack;
795 case PlatformBridge::PartCheckbox: return WebThemeEngine::PartCheckbox;
796 case PlatformBridge::PartRadio: return WebThemeEngine::PartRadio;
797 case PlatformBridge::PartButton: return WebThemeEngine::PartButton;
798 case PlatformBridge::PartTextField: return WebThemeEngine::PartTextField;
799 case PlatformBridge::PartMenuList: return WebThemeEngine::PartMenuList;
800 case PlatformBridge::PartSliderTrack: return WebThemeEngine::PartSliderTrack;
801 case PlatformBridge::PartSliderThumb: return WebThemeEngine::PartSliderThumb;
802 case PlatformBridge::PartInnerSpinButton: return WebThemeEngine::PartInnerSpinButton;
803 case PlatformBridge::PartProgressBar: return WebThemeEngine::PartProgressBar;
809 static WebThemeEngine::State WebThemeState(PlatformBridge::ThemePaintState state)
812 case PlatformBridge::StateDisabled: return WebThemeEngine::StateDisabled;
813 case PlatformBridge::StateHover: return WebThemeEngine::StateHover;
814 case PlatformBridge::StateNormal: return WebThemeEngine::StateNormal;
815 case PlatformBridge::StatePressed: return WebThemeEngine::StatePressed;
821 static void GetWebThemeExtraParams(PlatformBridge::ThemePart part, PlatformBridge::ThemePaintState state, const PlatformBridge::ThemePaintExtraParams* extraParams, WebThemeEngine::ExtraParams* webThemeExtraParams)
824 case PlatformBridge::PartScrollbarHorizontalTrack:
825 case PlatformBridge::PartScrollbarVerticalTrack:
831 case PlatformBridge::PartCheckbox:
835 case PlatformBridge::PartRadio:
838 case PlatformBridge::PartButton:
843 case PlatformBridge::PartTextField:
848 case PlatformBridge::PartMenuList:
855 case PlatformBridge::PartSliderTrack:
856 case PlatformBridge::PartSliderThumb:
860 case PlatformBridge::PartInnerSpinButton:
864 case PlatformBridge::PartProgressBar:
876 IntSize PlatformBridge::getThemePartSize(ThemePart part)
881 void PlatformBridge::paintThemePart(
892 void PlatformBridge::paintScrollbarThumb(
916 void PlatformBridge::traceEventBegin(const char* name, void* id, const char* extra)
921 void PlatformBridge::traceEventEnd(const char* name, void* id, const char* extra)
928 LinkHash PlatformBridge::visitedLinkHash(const UChar* url, unsigned length)
937 LinkHash PlatformBridge::visitedLinkHash(const KURL& base,
971 bool PlatformBridge::isLinkVisited(LinkHash visitedLinkHash)
980 void PlatformBridge::notifyJSOutOfMemory(Frame* frame)
991 int PlatformBridge::memoryUsageMB()
996 int PlatformBridge::actualMemoryUsageMB()
1001 int PlatformBridge::screenDepth(Widget* widget)
1009 int PlatformBridge::screenDepthPerComponent(Widget* widget)
1017 bool PlatformBridge::screenIsMonochrome(Widget* widget)
1025 IntRect PlatformBridge::screenRect(Widget* widget)
1033 IntRect PlatformBridge::screenAvailableRect(Widget* widget)
1041 bool PlatformBridge::popupsAllowed(NPP npp)