Lines Matching defs:format
23 // The first custom format ID will be the ID after that max value in
27 // Checks the validity of the given format name.
53 uint32_t format) {
54 custom_formats_[format] = format_name;
57 bool FlashClipboardFormatRegistry::IsFormatRegistered(uint32_t format) const {
58 return custom_formats_.find(format) != custom_formats_.end();
61 std::string FlashClipboardFormatRegistry::GetFormatName(uint32_t format) const {
62 FormatMap::const_iterator it = custom_formats_.find(format);
80 bool FlashClipboardFormatRegistry::IsValidPredefinedFormat(uint32_t format) {
81 if (format == PP_FLASH_CLIPBOARD_FORMAT_INVALID)
83 return format < kFirstCustomFormat;