summaryrefslogtreecommitdiff
path: root/chromium/third_party/mozilla/README.chromium
blob: af92b886be16badc6e46353b507dbe87156d6fa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Name: Cocoa extension code from Camino
Short Name: camino
URL: http://caminobrowser.org/
Version: unknown
CPEPrefix: unknown
License: MPL 1.1/GPL 2.0/LGPL 2.1
Security Critical: yes

Description:
  This directory contains the following files come from (Mozilla) Camino
  (src/camino/src/extensions):

    NSPasteboard+Utils.h/mm
    NSString+Utils.h/m
    NSURL+Utils.h/m
    NSWorkspace+Utils.h/m

Local modifications:
- All methods that are not used in Chromium have been removed.
- NSURL+Utils.m was modified to use non-deprecated Cocoa APIs to allow
  compilation on modern versions of Mac OS X.
- NSString+Utils.m was renamed to NSString+Utils.mm and modified to use GURL
  for validation in -[NSString isValidURI].
- NSPasteboard+Utils.mm was modified to add an argument to
  -[NSPasteboard getURLs:andTitles:] to determine whether or not filenames in
  the drag should be converted to file URLs.
- -[NSPasteboard getURLs:andTitles:convertingFilenames:convertingTextToURL:]
  was modified to keep going if WebURLsWithTitlesPboardType exists but doesn't
  contain any URLs, which can happen with drags from WebView.
- -[NSPasteboard:containsURLData] and [NSPasteboard getURLs:andTitles:] were
  modified to accept an additional parameter convertingTextToURL:, which
  indicates whether the string contents of the pasteboard should be
  interpreted as a URL if possible.
- -[NSPasteboard getURLs:andTitles:convertingFilenames:convertingTextToURL:]
  was modified to retain the -types array.
- NSWorkspace+Utils.m was modified to compile on the x86_64 architecture.
- MOZILLA_EXPORT was added to some constants in NSPasteboard+Utils.h.