summaryrefslogtreecommitdiffstats
path: root/chrome/common
Commit message (Collapse)AuthorAgeFilesLines
* Move MHTML code to content, now that download code is moving there.jam@chromium.org2011-07-192-15/+0
| | | | | | | BUG=82782 Review URL: http://codereview.chromium.org/7396029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93041 0039d316-1c4b-4281-b951-d872f2087c98
* Split the about flags for pre- and auto-login apart, and leave pre-loginrogerta@chromium.org2011-07-192-5/+10
| | | | | | | | | | | | enabled by default and make auto-login disabled by default. BUG=None TEST=Try all four combinations of the about flags to make sure they work as expected. Review URL: http://codereview.chromium.org/7401021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93032 0039d316-1c4b-4281-b951-d872f2087c98
* FileManagerDialogTest.SelectFileAndCancel flaky.grt@chromium.org2011-07-191047-0/+239848
|\ | | | | | | | | | | | | | | | | BUG=89733 TBR=robertshield@chromium.org TEST=browser_tests Review URL: http://codereview.chromium.org/7447001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93027 0039d316-1c4b-4281-b951-d872f2087c98
* | Roll ANGLE r704:r705jbauman@chromium.org2011-07-191047-239848/+0
| | | | | | | | | | | | | | | | | | BUG= TEST=try Review URL: http://codereview.chromium.org/7375016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93026 0039d316-1c4b-4281-b951-d872f2087c98
* | Revert 93021 - A ZygoteForkDelegate for Native Client.robertshield@chromium.org2011-07-193-89/+1
| | | | | | | | | | | | | | | | | | | | | | | | BUG=nativeclient:480 TEST=native client chrome linux tests Review URL: http://codereview.chromium.org/7395024 TBR=bradchen@google.com Review URL: http://codereview.chromium.org/7440001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93023 0039d316-1c4b-4281-b951-d872f2087c98
* | A ZygoteForkDelegate for Native Client.bradchen@google.com2011-07-193-1/+89
| | | | | | | | | | | | | | | | | | BUG=nativeclient:480 TEST=native client chrome linux tests Review URL: http://codereview.chromium.org/7395024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93021 0039d316-1c4b-4281-b951-d872f2087c98
* | Migrate default geolocation content setting to host content settings map.markusheintz@chromium.org2011-07-192-0/+3
| | | | | | | | | | | | | | | | | | | | | | BUG=TODO TEST=geolocation_content_settings_map_unittest.cc, content_settings_pref_provider_unittest.cc, host_content_settings_map_unittest.cc Review URL: http://codereview.chromium.org/7328018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93018 0039d316-1c4b-4281-b951-d872f2087c98
* | Filebrowser: restrict handlers' file patterns to '*.whatever', '*' and ↵dgozman@chromium.org2011-07-191-0/+11
|/ | | | | | | | | | '*.*', and perform case-insensitive match. BUG=chromium-os:17571 TEST=FileSystemExtensionApiTest.FileBrowserTest, manual of manifest parsing Review URL: http://codereview.chromium.org/7371003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93015 0039d316-1c4b-4281-b951-d872f2087c98
* Expose new file browser as chrome:filesserya@google.com2011-07-194-1/+43
| | | | | | | | | BUG=chromium-os:14342 TEST=ExtensionManifestTest.FileManagerURLOverride, ExtensionURLRewriteBrowserTest.FileManagerURL Review URL: http://codereview.chromium.org/7366003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93002 0039d316-1c4b-4281-b951-d872f2087c98
* Start and stop the safe browsing service depending on whether any profile is ↵joaodasilva@chromium.org2011-07-191-6/+8
| | | | | | | | | | | | | | using it. It is currently always running, even if no profiles uses it. BUG=88661 TEST=Safe browsing should still work as intended. Review URL: http://codereview.chromium.org/7383012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92993 0039d316-1c4b-4281-b951-d872f2087c98
* Added 'wasCached' parameter to webRequest APIbattre@chromium.org2011-07-192-0/+276
| | | | | | | | | | | | Added a parameter that indicates whether a request was answered from the cache on disk. BUG=81262 TEST=no Review URL: http://codereview.chromium.org/7390006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92990 0039d316-1c4b-4281-b951-d872f2087c98
* Add sample extension to allow/block third-party cookies.bauerb@chromium.org2011-07-199-8/+222
| | | | | | | | | | | This is basically a copy of the enableReferrer extension, but it manages a preference which is also exposed in chrome://settings/content, so the interaction with user-defined settings is visible. BUG=none TEST=sample extension works Review URL: http://codereview.chromium.org/7310004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92986 0039d316-1c4b-4281-b951-d872f2087c98
* Add notes for ChromeUI constants.msw@chromium.org2011-07-191-5/+11
| | | | | | | | | | | | Add some missing trailing slashes. Place a constant in alphabetical order. BUG=73926 TEST=none Review URL: http://codereview.chromium.org/7390034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92978 0039d316-1c4b-4281-b951-d872f2087c98
* Convert the remaining callers of LaunchApp to LaunchProcess.evan@chromium.org2011-07-181-1/+3
| | | | | | | | | | And delete temporary shims. BUG=88990 Review URL: http://codereview.chromium.org/7386010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92897 0039d316-1c4b-4281-b951-d872f2087c98
* Add extensionId to experimental app notifiction methods.asargent@chromium.org2011-07-182-309/+219
| | | | | | | | | | | | | | | | This will let you do prototyping with an extension to see what notifications will feel like on apps you already have installed. Also remove the unused 'passive' flag, and set nodoc=true on icon-related stuff since we don't support that yet. BUG=86958 TEST=none Review URL: http://codereview.chromium.org/7381009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92866 0039d316-1c4b-4281-b951-d872f2087c98
* base: Put md5.* into base namespace.tfarina@chromium.org2011-07-182-13/+13
| | | | | | | | | | | BUG=89274 TEST=None R=evan@chromium.org Review URL: http://codereview.chromium.org/7395021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92861 0039d316-1c4b-4281-b951-d872f2087c98
* Dropping `type="number"` to avoid thousands separators for ports.mkwst@chromium.org2011-07-183-6/+6
| | | | | | | | | BUG=77137 TEST=Look at the plugin. Is it sane? Review URL: http://codereview.chromium.org/7396020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92859 0039d316-1c4b-4281-b951-d872f2087c98
* Add 'Learn more' link to the RPH infobars.koz@chromium.org2011-07-182-0/+6
| | | | | | | | | BUG=88892 Review URL: http://codereview.chromium.org/7335003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92833 0039d316-1c4b-4281-b951-d872f2087c98
* Add sanity test for chrome://workersyurys@chromium.org2011-07-182-0/+2
| | | | | | | | | BUG=None TEST=WorkersUITest.SharedWorkersList Review URL: http://codereview.chromium.org/7388020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92830 0039d316-1c4b-4281-b951-d872f2087c98
* Print Preview: Make preview generation event driven to eliminate synchronous ↵thestig@chromium.org2011-07-181-11/+12
| | | | | | | | | | | messages. BUG=89069 TEST=Print preview still works. Review URL: http://codereview.chromium.org/7365003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92828 0039d316-1c4b-4281-b951-d872f2087c98
* Add doc for the "content_security_policy" manifest field.kathyw@chromium.org2011-07-182-2/+62
| | | | | | | | BUG=89471 TEST=code.google.com/chrome/extensions/dev/manifest.html#content_security_policy goes to a subsection about this policy Review URL: http://codereview.chromium.org/7398010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92823 0039d316-1c4b-4281-b951-d872f2087c98
* Implement auto-login for GAIA login pages when a GAIA token is available.rogerta@chromium.org2011-07-172-2/+10
| | | | | | | | | | | | BUG=87151 TEST=Make sure to be signed in to sync in preferences. Go to a GAIA login page like gmail.com. If you are already logged, then explicitly log out. When you next see the login page, an infobar should be shown allowing one click login. Review URL: http://codereview.chromium.org/7284007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92822 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r92615 - Linux: make externally-stored passwords (e.g. GNOME Keyring) ↵mdm@chromium.org2011-07-162-0/+15
| | | | | | | | | | profile-specific. Fixed the compile issue on linux_view by adding additional preprocessor conditions. BUG=77022 Review URL: http://codereview.chromium.org/7377013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92796 0039d316-1c4b-4281-b951-d872f2087c98
* Wired direct GAIA authentication into ChromeOS login screen.zelidrag@chromium.org2011-07-162-5/+16
| | | | | | | | BUG=chromium-os:17470 TEST=none yet Review URL: http://codereview.chromium.org/7346037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92788 0039d316-1c4b-4281-b951-d872f2087c98
* Promote the content_security_policy manifest attribute out of experimental.abarth@chromium.org2011-07-161-3/+1
| | | | | | Review URL: http://codereview.chromium.org/7398008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92773 0039d316-1c4b-4281-b951-d872f2087c98
* Add 'from_webstore' state to Extensions, so renderer code can enforce CWS ↵bbudge@chromium.org2011-07-152-1/+12
| | | | | | | | restrictions. Review URL: http://codereview.chromium.org/7384010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92752 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r92730, r92731, r92732 ... will land again once I ensure the win ↵dpranke@chromium.org2011-07-151-78/+0
| | | | | | | | | | | | | builds compile. TBR=jam@chromium.org BUG=none TEST= Review URL: http://codereview.chromium.org/7400002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92733 0039d316-1c4b-4281-b951-d872f2087c98
* This change will split the result codes between content and chrome.dpranke@chromium.org2011-07-151-0/+78
| | | | | | | | | | | | | | | This adds a new file into chrome/common and does a lot of renaming. The current version is just a sketch of the headers, and nothing will compile. R=jam@chromium.org BUG=76699 TEST=everything still compiles and runs Review URL: http://codereview.chromium.org/7377010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92730 0039d316-1c4b-4281-b951-d872f2087c98
* Change base::LaunchProcess API slightlyevan@chromium.org2011-07-151-1/+1
| | | | | | | | | | | Rather than passing the out param process handle via the options, take it as a function argument. This simplifies many callers. BUG=88990 Review URL: http://codereview.chromium.org/7377012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92701 0039d316-1c4b-4281-b951-d872f2087c98
* Move dependencies of download\base_file from chrome to content. These are ↵jam@chromium.org2011-07-152-211/+0
| | | | | | | | | all trivial file moves. BUG=82782 Review URL: http://codereview.chromium.org/7388002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92695 0039d316-1c4b-4281-b951-d872f2087c98
* Update TTS extension API docs to reflect latest changes. Note that thisdmazzoni@chromium.org2011-07-155-161/+177
| | | | | | | | | | splits it into two modules, tts and tts_engine. BUG=none TEST=none Review URL: http://codereview.chromium.org/7282048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92686 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 92615 - Linux: make externally-stored passwords (e.g. GNOME Keyring) ↵mdm@chromium.org2011-07-142-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | profile-specific. This is accomplished by associating a randomly generated id with each profile, and storing the profile id with the passwords. The ids are chosen such that they are obviously not unique ids (there are more users than ids), yet within one machine they should be unique with high probability. Although profiles have names, it turns out that using these names as the identifiers is not preferable for two reasons. First, the names are actually the account email addresses, and not user-provided strings. The default profile, if not using sync, has the empty string for its name. This means that we still have to worry about migration in this case, and can't cleanly assume that existing passwords "belong" to the default profile, because we can't always tell which profile is the default. Second, the sync code seems to be rather non-robust and fails frequently when passwords change underneath it. Using the profile name would mean that the same account synced within different user data dirs would share passwords, which the sync code won't really like. (Of course, this is the current situation as well, with different user data dirs.) Speaking of migration: this change leaves the original, shared passwords alone, and they will be migrated (copied, really) into each profile the first time it is used. After a while, we can add code to delete these shared passwords so they don't persist forever without being visible in the UI. Eventually, we can remove the migration and deletion code. BUG=77022 Review URL: http://codereview.chromium.org/7212031 TBR=mdm@chromium.org Review URL: http://codereview.chromium.org/7373014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92618 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: make externally-stored passwords (e.g. GNOME Keyring) profile-specific.mdm@chromium.org2011-07-142-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is accomplished by associating a randomly generated id with each profile, and storing the profile id with the passwords. The ids are chosen such that they are obviously not unique ids (there are more users than ids), yet within one machine they should be unique with high probability. Although profiles have names, it turns out that using these names as the identifiers is not preferable for two reasons. First, the names are actually the account email addresses, and not user-provided strings. The default profile, if not using sync, has the empty string for its name. This means that we still have to worry about migration in this case, and can't cleanly assume that existing passwords "belong" to the default profile, because we can't always tell which profile is the default. Second, the sync code seems to be rather non-robust and fails frequently when passwords change underneath it. Using the profile name would mean that the same account synced within different user data dirs would share passwords, which the sync code won't really like. (Of course, this is the current situation as well, with different user data dirs.) Speaking of migration: this change leaves the original, shared passwords alone, and they will be migrated (copied, really) into each profile the first time it is used. After a while, we can add code to delete these shared passwords so they don't persist forever without being visible in the UI. Eventually, we can remove the migration and deletion code. BUG=77022 Review URL: http://codereview.chromium.org/7212031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92615 0039d316-1c4b-4281-b951-d872f2087c98
* Remove scheme restriction for extension context menu items.asargent@chromium.org2011-07-142-0/+32
| | | | | | | | | | | BUG=51461, 73631 TEST=Install an extension that adds context menu items - you should now see them on pages with schemes like chrome://, file://, chrome-extension://, etc. Review URL: http://codereview.chromium.org/7258009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92609 0039d316-1c4b-4281-b951-d872f2087c98
* Replace onRequestSent with onSendHeaders in webrequest APIbattre@chromium.org2011-07-143-160/+367
| | | | | | | | | | | | | | | This CL replaces the onRequestSent signal of the webrequest API with a new onSendHeader signal. The sequence is now: onBeforeRequest -> onBeforeSendHeaders -> onSendHeaders. This change allows us to completely remove the webrequest API from the network transaction layer and stay in the URL request layer. That solve the problem that the network layer may convert one URLRequest to multiple HTTP requests which should be transparent to the webrequest API. It also solves the problem that requests answered from the cache did not trigger an onRequestSent event. Given the choice of removing onRequestSent completely and replacing it with onSendHeaders, I chose the latter so that extensions can see the headers sent to the network after other extensions had a chance to modify them. BUG=no TEST=no Review URL: http://codereview.chromium.org/7353021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92584 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed regression: various preferences were not persisted when changed from ↵battre@chromium.org2011-07-143-7/+8
| | | | | | | | | | | | | incognito window This CL renames the OverlayPrefStore to an IncognitoPrefStore. This IncognitoPrefStore stores write operations in memory and prevents persisting them to the user prefs file. The CL also blacklists two preferences from being stored in the in-memory IncognitoPrefStore to fix the regressions mentioned in the bugs. BUG=87191,84472 TEST=see bug descriptions Review URL: http://codereview.chromium.org/7342043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92581 0039d316-1c4b-4281-b951-d872f2087c98
* Add WebUI certificate viewer to eventually replace GTK certificate viewer.flackr@chromium.org2011-07-142-0/+4
| | | | | | | | | | | | | | Hidden behind the gyp flag webui_certificate_viewer, this dialog will replace the GTK certificate viewer as part of the nogtk effort. This CL only adds the new certificate viewer but does not use it unless compiled with webui_certificate_viewer=1. This is the first stage, which adds the viewer and only shows the "General" certificate details (As shown in the General tab in the GTK viewer). The next steps are to show the detailed information, resolve some minor display and functionality issues on desktop builds and then make this the standard certificate viewer. BUG=None TEST=Manually viewed certificate details for several secure sites. Review URL: http://codereview.chromium.org/7331016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92541 0039d316-1c4b-4281-b951-d872f2087c98
* Adds extension API for getting/observing input method.altimofeev@chromium.org2011-07-144-2/+50
| | | | | | | | | | | API includes async input method getter and onChange event. BUG=chromium-os:16735 TEST=InputMethodApiBasic browser_test Review URL: http://codereview.chromium.org/7311005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92493 0039d316-1c4b-4281-b951-d872f2087c98
* fix broken tree and an actual bug. thanks clanckcpu@chromium.org2011-07-141-1/+1
| | | | | | | | | | BUG=89248 TEST=none TBR=thakis Review URL: http://codereview.chromium.org/7361009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92459 0039d316-1c4b-4281-b951-d872f2087c98
* Add the path fetching for flappercpu@chromium.org2011-07-142-0/+47
| | | | | | | | BUG=89248 TEST=see bug Review URL: http://codereview.chromium.org/7346029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92458 0039d316-1c4b-4281-b951-d872f2087c98
* Add option to chrome.windows.update extension API to draw the user's ↵jennb@chromium.org2011-07-142-1/+70
| | | | | | | | | | | | | | attention to the window. Extension docs updated (all the html file changes are auto generated by the script that updates the extension docs). Added for Panels but can be applied to any type of browser window. BUG=None TEST=Manually tested with extension that uses new API. Review URL: http://codereview.chromium.org/7232036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92457 0039d316-1c4b-4281-b951-d872f2087c98
* Use crypto::SHA256HashString instead of SHA256_ functions.sadrul@chromium.org2011-07-131-1/+0
| | | | | | | | | | | This also fixes build with component=shared_library for chromeos. BUG=none TEST=manually Review URL: http://codereview.chromium.org/7351028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92450 0039d316-1c4b-4281-b951-d872f2087c98
* Make safe browsing work in a multi-profile environment.mirandac@chromium.org2011-07-131-0/+4
| | | | | | | | | | | | | A single safe browsing service will be triggered per-profile, by passing the profile's safe browsing preference to the ResourceDispatcherHost through the ResourceContext. References to the Default Profile used in starting and configuring the SafeBrowsingService have also been replaced with references to the appropriate profile for each situation. BUG=83770 TEST=safe browsing is triggered correctly. Review URL: http://codereview.chromium.org/7134017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92438 0039d316-1c4b-4281-b951-d872f2087c98
* Adds code to track a set of expanded folders. This is going to be usedsky@chromium.org2011-07-132-0/+5
| | | | | | | | | | | | | to make the bookmark editor remember what folders were expanded last time the editor was shown. BUG=6648 TEST=covered by unit tests TBR=tim@chromium.org,maf@chromium.org,erg@chromium.org Review URL: http://codereview.chromium.org/7343016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92421 0039d316-1c4b-4281-b951-d872f2087c98
* Print Preview: Associating preview requests and responses using an identifierdpapad@chromium.org2011-07-131-0/+5
| | | | | | | | | | BUG=88807, 89106 TEST=NONE Review URL: http://codereview.chromium.org/7313035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92402 0039d316-1c4b-4281-b951-d872f2087c98
* Change documentation link for DOM to a better guide.yoz@chromium.org2011-07-136-122/+120
| | | | | | | | | | | | Also update some generated docs (post-r92020). BUG=88676 TEST=none Review URL: http://codereview.chromium.org/7352009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92391 0039d316-1c4b-4281-b951-d872f2087c98
* Update URLPatternSet to contain a std::set instead of std::vector.jstritar@chromium.org2011-07-1318-229/+317
| | | | | | | | | | | This updates URLPatternSet to contain a std::set instead of a std::vector, making it easier to implement the set operations in ExtensionPermissionSet. BUG=84507 TEST=unit_tests Review URL: http://codereview.chromium.org/7347011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92364 0039d316-1c4b-4281-b951-d872f2087c98
* [cros] Load OEM EULA in OOBE WebUI.nkostylev@chromium.org2011-07-132-0/+4
| | | | | | | | | | | | Make EULA columns a bit wider. BUG=chromium-os:17331 TEST=Manual. Created manifest with OEM EULA defined. Review URL: http://codereview.chromium.org/7345009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92357 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land change 7253001.sanjeevr@chromium.org2011-07-138-24/+102
| | | | | | | | | | | | | This change was reverted in r90547 due to unrelated test failures. BUG=None TEST=Unit-tests. Review URL: http://codereview.chromium.org/7348001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92317 0039d316-1c4b-4281-b951-d872f2087c98
* Move protocol_handler from chrome/browser to chrome/common so that ↵yoz@chromium.org2011-07-132-0/+139
| | | | | | | | | | | extensions can use it. BUG=86115 TEST=existing tests Review URL: http://codereview.chromium.org/7275036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92281 0039d316-1c4b-4281-b951-d872f2087c98