|
(NSImage *) | - iconForURL:withSize: |
|
(NSImage *) | - iconForURL:withSize:cache: |
|
(NSString *) | - iconURLForURL: |
|
(NSImage *) | - defaultIconWithSize: |
|
(NSImage *) | - defaultIconForURL:withSize: |
|
(void) | - retainIconForURL: |
|
(void) | - releaseIconForURL: |
|
(void) | - setDelegate: |
|
(id) | - delegate |
|
(virtual HRESULT STDMETHODCALLTYPE) | - QueryInterface |
|
(virtual ULONG STDMETHODCALLTYPE) | - AddRef |
|
(virtual ULONG STDMETHODCALLTYPE) | - Release |
|
(virtual HRESULT STDMETHODCALLTYPE) | - sharedIconDatabase |
|
(virtual HRESULT STDMETHODCALLTYPE) | - iconForURL |
|
(virtual HRESULT STDMETHODCALLTYPE) | - defaultIconWithSize |
|
(virtual HRESULT STDMETHODCALLTYPE) | - retainIconForURL |
|
(virtual HRESULT STDMETHODCALLTYPE) | - releaseIconForURL |
|
(virtual HRESULT STDMETHODCALLTYPE) | - removeAllIcons |
|
(virtual HRESULT STDMETHODCALLTYPE) | - delayDatabaseCleanup |
|
(virtual HRESULT STDMETHODCALLTYPE) | - allowDatabaseCleanup |
|
(virtual HRESULT STDMETHODCALLTYPE) | - iconURLForURL |
|
(virtual HRESULT STDMETHODCALLTYPE) | - isEnabled |
|
(virtual HRESULT STDMETHODCALLTYPE) | - setEnabled |
|
(virtual HRESULT STDMETHODCALLTYPE) | - hasIconForURL |
|
(virtual void) | - didRemoveAllIcons |
|
(virtual void) | - didImportIconURLForPageURL |
|
(virtual void) | - didImportIconDataForPageURL |
|
(virtual void) | - didChangeIconForPageURL |
|
(virtual void) | - didFinishURLImport |
|
HRESULT | sharedIconDatabase ([out, retval] IWebIconDatabase **result) |
|
HRESULT | iconForURL ([in] BSTR url, [in] LPSIZE size, [in] BOOL cache, [out, retval] HBITMAP *hBitmap) |
|
HRESULT | defaultIconWithSize ([in] LPSIZE size, [out, retval] HBITMAP *hBitmap) |
|
HRESULT | retainIconForURL ([in] BSTR url) |
|
HRESULT | releaseIconForURL ([in] BSTR url) |
|
HRESULT | iconURLForURL ([in] BSTR url, [out, retval] BSTR *iconURL) |
|
HRESULT | isEnabled ([out, retval] BOOL *result) |
|
HRESULT | hasIconForURL ([in] BSTR url, [out, retval] BOOL *result) |
|
virtual | ~IconDatabaseClient () |
|
virtual void | didClose () |
|
virtual | ~IconDatabaseClient () |
|
virtual void | didClose () |
|
Features:
- memory cache icons at different sizes
- disk storage
- icon update notification
Uses:
- UI elements to retrieve icons that represent site URLs.
- Save icons to disk for later use.
Every icon in the database has a retain count. If an icon has a retain count greater than 0, it will be written to disk for later use. If an icon's retain count equals zero it will be removed from disk. The retain count is not persistent across launches. If the WebKit client wishes to retain an icon it should retain the icon once for every launch. This is best done at initialization time before the database begins removing icons. To make sure that the database does not remove unretained icons prematurely, call delayDatabaseCleanup until all desired icons are retained. Once all are retained, call allowDatabaseCleanup.
Note that an icon can be retained after the database clean-up has begun. This just has to be done before the icon is removed. Icons are removed from the database whenever new icons are added to it.
Retention methods can be called for icons that are not yet in the database.
Features:
- memory cache icons at different sizes
- disk storage
- icon update notification
Uses:
- WebIconLoader to cache icon images
- UI elements to retrieve icons that represent site URLs.
- Save icons to disk for later use.
Every icon in the database has a retain count. If an icon has a retain count greater than 0, it will be written to disk for later use. If an icon's retain count equals zero it will be removed from disk. The retain count is not persistent across launches. If the WebKit client wishes to retain an icon it should retain the icon once for every launch. This is best done at initialization time before the database begins removing icons. To make sure that the database does not remove unretained icons prematurely, call delayDatabaseCleanup until all desired icons are retained. Once all are retained, call allowDatabaseCleanup.
Note that an icon can be retained after the database clean-up has begun. This just has to be done before the icon is removed. Icons are removed from the database whenever new icons are added to it.
Retention methods can be called for icons that are not yet in the database.