diff options
Diffstat (limited to 'WebKit/mac/WebCoreSupport/WebFrameBridge.mm')
-rw-r--r-- | WebKit/mac/WebCoreSupport/WebFrameBridge.mm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/WebKit/mac/WebCoreSupport/WebFrameBridge.mm b/WebKit/mac/WebCoreSupport/WebFrameBridge.mm index 8e0ba51..9440f2d 100644 --- a/WebKit/mac/WebCoreSupport/WebFrameBridge.mm +++ b/WebKit/mac/WebCoreSupport/WebFrameBridge.mm @@ -738,4 +738,9 @@ NSString *WebPluginContainerKey = @"WebPluginContainer"; [highlighter paintHighlightForBox:boxRect onLine:lineRect behindText:text entireLine:line]; } +- (NSString*)imageTitleForFilename:(NSString*)filename size:(NSSize)size +{ + return [NSString stringWithFormat:UI_STRING("%@ %.0f×%.0f pixels", "window title for a standalone image (uses multiplication symbol, not x)"), filename, size.width, size.height]; +} + @end |