Page Speed Optimization Libraries
1.13.35.1
|
Classes | |
class | MockCanvas |
class | MockImage |
Public Member Functions | |
MockImageLibraryInterface (const FilePath &base_input_path, const FilePath &base_output_path, Delegate *delegate) | |
MOCK_METHOD1 (ReadFromFile, Image *(const FilePath &path)) | |
MOCK_METHOD2 (CreateCanvas, Canvas *(int width, int height)) | |
Public Member Functions inherited from net_instaweb::spriter::ImageLibraryInterface | |
virtual Image * | ReadFromFile (const FilePath &path)=0 |
virtual Canvas * | CreateCanvas (int width, int height)=0 |
ImageLibraryInterface (Delegate *delegate) | |
Additional Inherited Members | |
Public Types inherited from net_instaweb::spriter::ImageLibraryInterface | |
typedef GoogleString | FilePath |
Static Public Member Functions inherited from net_instaweb::spriter::ImageLibraryInterface | |
static ImageLibraryInterface * | ImageLibraryInterfaceFactory (const GoogleString &library_name) |
Use this factory method to get a usable image library object. | |
Protected Member Functions inherited from net_instaweb::spriter::ImageLibraryInterface | |
ImageLibraryInterface (const FilePath &base_input_path, const FilePath &base_output_path, Delegate *delegate) | |
Use ImageLibraryInterfaceFactory() to access an image library. | |
const FilePath & | base_input_path () |
Used by subclasses: | |
const FilePath & | base_output_path () |
const Delegate * | delegate () |
net_instaweb::spriter::MockImageLibraryInterface::MOCK_METHOD1 | ( | ReadFromFile | , |
Image * | const FilePath &path | ||
) |
Read an image from disk. Return NULL (after calling delegate method) on error. Caller owns the returned pointer.