summaryrefslogtreecommitdiffstats
path: root/chrome/common
Commit message (Collapse)AuthorAgeFilesLines
* Implement private API for web store to determine app ID ofaa@chromium.org2011-04-142-0/+5
| | | | | | | | | | | a given frame. BUG=73225 TEST= Review URL: http://codereview.chromium.org/6823068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81652 0039d316-1c4b-4281-b951-d872f2087c98
* Move a bunch of Chrome specific code out of RenderThread, in preparation of ↵jam@chromium.org2011-04-144-35/+5
| | | | | | | | moving it to content. Review URL: http://codereview.chromium.org/6850003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81614 0039d316-1c4b-4281-b951-d872f2087c98
* Move crypto files out of base, to a top level directory.rvargas@google.com2011-04-142-6/+6
| | | | | | | | | | | | | src/crypto is now an independent project that contains our cryptographic primitives (except md5 and sha1). This removes the base dependency from nss, openssl and sqlite. BUG=76996 TEST=none Review URL: http://codereview.chromium.org/6805019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81611 0039d316-1c4b-4281-b951-d872f2087c98
* Move FilePathWatcher to base/files.craig.schlenter@chromium.org2011-04-142-2/+4
| | | | | | | | | | | | | | FilePathWatcher is going to be used in future for monitoring changes to /etc/resolv.conf so it needs live somewhere where various consumers can get at it without incurring the wrath of the layering gods. TEST=existing tests BUG=67734 Review URL: http://codereview.chromium.org/6793020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81606 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for 12/24 hour clock switching on Chrome OS.satorux@chromium.org2011-04-142-0/+4
| | | | | | | | | | | | | | | | | | Introduce "[ ] Use 24-hour clock" setting in the Chrome OS system settings. The English (United States) locale (en-US) uses 12 hour clock like "15:07 PM" by default, and there was no way to customize the format. With this change, users will be able to change it to 24 hour clock. Likewise, The English (United Kingdom) locale (en-GB) uses 24 hour clock by default. Users will also be able to change it to 12 hour clock. BUG=chromium-os:10534 TEST=confirmed that the 12/24 hour clock switching worked. Review URL: http://codereview.chromium.org/6834019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81593 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the histogram tracking command line app launches.jstritar@chromium.org2011-04-141-0/+5
| | | | | | | | | | | An old feature let users launch any URL with the --app command line switch. This change separates out non app --app launches into a separate histogram. BUG=78357 TEST=None. Review URL: http://codereview.chromium.org/6851003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81587 0039d316-1c4b-4281-b951-d872f2087c98
* UI for mobile network selection dialogdpolukhin@chromium.org2011-04-142-0/+5
| | | | | | | | | BUG=chromium-os:12013 TEST=manual Review URL: http://codereview.chromium.org/6824080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81582 0039d316-1c4b-4281-b951-d872f2087c98
* Implement device-level refresh rate policy.mnissler@chromium.org2011-04-142-10/+5
| | | | | | | | | | | BUG=chromium-os:14103 TEST=manual R=jkummerow@chromium.org Review URL: http://codereview.chromium.org/6837026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81558 0039d316-1c4b-4281-b951-d872f2087c98
* Wire up the extension API for registering NaCl modules to an actual registry ↵abarth@chromium.org2011-04-144-3/+119
| | | | | | | | of NaCl modules. Review URL: http://codereview.chromium.org/6821038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81545 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 81538 - Add unit test and 'ignore' functionality to ↵koz@chromium.org2011-04-142-13/+2
| | | | | | | | | ProtocolHandlerRegistry.When we change the infobar to make use of this functionality it will make itfeasible for sites to make registerProtocolHandler calls on load, instead of inresponse to a user action.BUG=TEST=Unit test provided.Review URL: http://codereview.chromium.org/6793014 TBR=koz@chromium.org Review URL: http://codereview.chromium.org/6853006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81540 0039d316-1c4b-4281-b951-d872f2087c98
* Add unit test and 'ignore' functionality to ProtocolHandlerRegistry.koz@chromium.org2011-04-142-2/+13
| | | | | | | | | | | | | When we change the infobar to make use of this functionality it will make it feasible for sites to make registerProtocolHandler calls on load, instead of in response to a user action. BUG= TEST=Unit test provided. Review URL: http://codereview.chromium.org/6793014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81538 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Allow extensions to redirect requests in onBeforeRequest."mpcomplete@chromium.org2011-04-132-226/+5
| | | | | | | The change introduced a regression in the WebRequestEvents api test. TBR=mpcomplete git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81503 0039d316-1c4b-4281-b951-d872f2087c98
* Join Wi-Fi network dialog lists user and server-CA certificates.jamescook@chromium.org2011-04-133-4/+51
| | | | | | | | | | | | | | | - Fixed width of server CA combobox, as it can be very wide. - Introduced WifiConfigModel to hold cert info for WifiConfigView. - Send user cert to flimflam by PKCS#11 ID - Send server CA cert to flimflam by nickname BUG=chromium-os:11412 TEST=Make successful connection to 802.1x network. Review URL: http://codereview.chromium.org/6693083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81498 0039d316-1c4b-4281-b951-d872f2087c98
* Allow extensions to redirect requests in onBeforeRequest.mpcomplete@chromium.org2011-04-132-5/+226
| | | | | | | | | BUG=60101 TEST=no Review URL: http://codereview.chromium.org/6677148 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81479 0039d316-1c4b-4281-b951-d872f2087c98
* Add metric for whether Autofill is enabled or disabled.isherman@chromium.org2011-04-132-7/+0
| | | | | | | | | BUG=none TEST=unit_tests --gtest_filter=AutofillMetrics* Review URL: http://codereview.chromium.org/6826047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81474 0039d316-1c4b-4281-b951-d872f2087c98
* apps: Add 'background_page' support for hosted apps.sadrul@chromium.org2011-04-137-18/+60
| | | | | | | | | | | | | | A hosted app can have a 'background_page' if it has 'background' 'permission'. The 'background_page' will launch immediately after the app is installed. BUG=77718 TEST=AppBackgroundPageApiTest.ManifestBackgroundPage, and existing tests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=81438 Review URL: http://codereview.chromium.org/6708100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81467 0039d316-1c4b-4281-b951-d872f2087c98
* Renamed raw_data_length to encoded_data_lengthvsevik@chromium.org2011-04-133-4/+5
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/6838021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81464 0039d316-1c4b-4281-b951-d872f2087c98
* Add svn prop eol-style LFachuith@chromium.org2011-04-134-4/+4
| | | | | | | | BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6840021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81447 0039d316-1c4b-4281-b951-d872f2087c98
* Caused compile failure on Lunux Builder x64.ctguil@chromium.org2011-04-137-60/+18
| | | | | | | | Revert 81438 - apps: Add 'background_page' support for hosted apps.A hosted app can have a 'background_page' if it has 'background' 'permission'.The 'background_page' will launch immediately after the app is installed.BUG=77718TEST=AppBackgroundPageApiTest.ManifestBackgroundPage, and existing tests.Review URL: http://codereview.chromium.org/6708100 TBR=sadrul@chromium.org Review URL: http://codereview.chromium.org/6834035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81442 0039d316-1c4b-4281-b951-d872f2087c98
* apps: Add 'background_page' support for hosted apps.sadrul@chromium.org2011-04-137-18/+60
| | | | | | | | | | | | A hosted app can have a 'background_page' if it has 'background' 'permission'. The 'background_page' will launch immediately after the app is installed. BUG=77718 TEST=AppBackgroundPageApiTest.ManifestBackgroundPage, and existing tests. Review URL: http://codereview.chromium.org/6708100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81438 0039d316-1c4b-4281-b951-d872f2087c98
* Add enableReferrers and enableHyperlinkAuditing to contentSettings.misc ↵bauerb@chromium.org2011-04-134-4/+174
| | | | | | | | | | | extension API. BUG=71067 TEST=ExtensionApiTest.* Review URL: http://codereview.chromium.org/6773006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81420 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 81394 (broke sync_integration_tests and clang) - This CL implements ↵altimofeev@chromium.org2011-04-132-183/+52
| | | | | | | | | alternative asynchronous methods for profile and preferences loading.BUG=chromium-os:11104TEST=UserProfileGotten (see "/tmp/login-times-sent") time doesn't increase, while UI jankness decreases.Review URL: http://codereview.chromium.org/6716025 TBR=altimofeev@chromium.org Review URL: http://codereview.chromium.org/6834021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81396 0039d316-1c4b-4281-b951-d872f2087c98
* This CL implements alternative asynchronous methods for profile and ↵altimofeev@chromium.org2011-04-132-52/+183
| | | | | | | | | | | preferences loading. BUG=chromium-os:11104 TEST=UserProfileGotten (see "/tmp/login-times-sent") time doesn't increase, while UI jankness decreases. Review URL: http://codereview.chromium.org/6716025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81394 0039d316-1c4b-4281-b951-d872f2087c98
* Move code that talks to spelling and translate out of content. I create ↵jam@chromium.org2011-04-131-0/+11
| | | | | | | | ChromeRenderObserver, which is a RenderViewObserver for the Chrome layer. Also, I added a TranslateTabHelper to hold the per-tab language data and moved LanguageState back to chrome since it's not used by content. Review URL: http://codereview.chromium.org/6824068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81341 0039d316-1c4b-4281-b951-d872f2087c98
* Include base/win/scoped_comptr.h instead of base/scoped_comptr_win.h.tfarina@chromium.org2011-04-121-3/+3
| | | | | | | | | | | | | | | | | Fix up all the callers to use the new location and namespace. Also, delete the stub file since it isn't included by anyone more. (Note: This was a TODO for brettw). BUG=None TEST=None R=brettw@chromium.org Review URL: http://codereview.chromium.org/6825055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81303 0039d316-1c4b-4281-b951-d872f2087c98
* a Downloaded or retrieved favicon and touch in FaviconHelper.michaelbai@google.com2011-04-123-2/+120
| | | | | | | | | | | | | b.ViewHostMsg_UpdateFaviconURL can update multiple icon urls BUG=71571 TEST=Tested with existing unit test and add 2 new unit tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=81158 Review URL: http://codereview.chromium.org/6672065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81258 0039d316-1c4b-4281-b951-d872f2087c98
* When two extension sources request the same extension, the source with ↵skerner@chromium.org2011-04-123-0/+115
| | | | | | | | | | | | higher priority wins. BUG=61000 TEST=ExtensionSourcePriorityTest.*,ExtensionTest.LocationPriorityTest Review URL: http://codereview.chromium.org/6693097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81255 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: removed declarations of obsolete APU messages. Also fixed a couple ↵yurys@chromium.org2011-04-121-10/+3
| | | | | | | | | | | of comments. BUG=Nonw TEST=Code compiles Review URL: http://codereview.chromium.org/6820066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81247 0039d316-1c4b-4281-b951-d872f2087c98
* Added EditBookmarksEnabled policy.joaodasilva@chromium.org2011-04-122-0/+4
| | | | | | | | | | | This just adds the policy and the preference, and some utility functions. BUG=49604 TEST=None Review URL: http://codereview.chromium.org/6825071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81246 0039d316-1c4b-4281-b951-d872f2087c98
* Replacing base::DIR_TEMP with ScopedTempDir when appropriate.mkwst@chromium.org2011-04-123-49/+20
| | | | | | | | | | BUG=73854 TEST=unit_tests Review URL: http://codereview.chromium.org/6793008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81245 0039d316-1c4b-4281-b951-d872f2087c98
* Remove old ScopedUserPrefUpdatebattre@chromium.org2011-04-121-5/+1
| | | | | | | | | BUG=77914, 58489 TEST=none, tree remains green Review URL: http://codereview.chromium.org/6823037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81232 0039d316-1c4b-4281-b951-d872f2087c98
* Added mount change notification event to extension API: zelidrag@chromium.org2011-04-121-0/+14
| | | | | | | | | | | | chrome.fileBrowserPrivate.onChanged.addListener(function(mountDirUrl) { ... }); BUG=chromium-os:13025 TEST=none Review URL: http://codereview.chromium.org/6749024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81208 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: Implement rough global menu support behind an about:flags flag.erg@google.com2011-04-112-0/+9
| | | | | | | | | | | | | | | This is a super early first cut of global menu support. It works by creating a GtkMenuBar inside chrome, attaching it to the widget hierarchy and then never showing it. This is sufficient for global menu support to detect the menu, at least on the Natty betas. There's a lot to do before this is considered done. I haven't added Bookmark and History menus, which will need custom handling to keep state up to date with the main window. Some items may need to be moved from one menu to another to fit with Linux conventions. Contains a bunch of new strings for global menu support. These need to go in before the M12 branch point. (I can iterate on the design afterwards; strings need translation.) BUG=30213 TEST=Open a window on Unity. A minimal menu is in the menu bar. Review URL: http://codereview.chromium.org/6812037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81170 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 81158 due to memory bots - a Downloaded or retrieved favicon and ↵erg@google.com2011-04-113-120/+2
| | | | | | | | | touch in FaviconHelper.b.ViewHostMsg_UpdateFaviconURL can update multiple icon urlsBUG=71571TEST=Tested with existing unit test and add 2 new unit testsReview URL: http://codereview.chromium.org/6672065 TBR=michaelbai@google.com Review URL: http://codereview.chromium.org/6820054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81167 0039d316-1c4b-4281-b951-d872f2087c98
* Add type 'panel' to chrome.windows.create.jennb@chromium.org2011-04-114-8/+12
| | | | | | | | | BUG=None TEST=New extension API test. Review URL: http://codereview.chromium.org/6740030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81165 0039d316-1c4b-4281-b951-d872f2087c98
* Connect the right metafiles for print preview on Linux and Windows.vandebo@chromium.org2011-04-111-5/+0
| | | | | | | | | | | | | | + Remove the NativeMetafileFactory since we can't just use preview flag. + Update each Metafile constructor site to use PreviewMetafile or NativeMetafileImpl. + Fix misc. problems blocking pdf generation on Windows. + Rename the metafile interface. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6826027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81161 0039d316-1c4b-4281-b951-d872f2087c98
* a Downloaded or retrieved favicon and touch in FaviconHelper.michaelbai@google.com2011-04-113-2/+120
| | | | | | | | | | | b.ViewHostMsg_UpdateFaviconURL can update multiple icon urls BUG=71571 TEST=Tested with existing unit test and add 2 new unit tests Review URL: http://codereview.chromium.org/6672065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81158 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented policy for disabling the bookmark bar.pastarmovj@chromium.org2011-04-112-0/+4
| | | | | | | | | BUG=49604 TEST=unit_tests ConfigurationPolicy* Review URL: http://codereview.chromium.org/6718039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81102 0039d316-1c4b-4281-b951-d872f2087c98
* Changes to cancel prerendering when there is HTML5 audio/video on a page.cbentzel@chromium.org2011-04-112-0/+29
| | | | | | | | | BUG=76599 TEST=browser tests added. Review URL: http://codereview.chromium.org/6690027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81091 0039d316-1c4b-4281-b951-d872f2087c98
* Unremoving the timeStamp property from webNavigation and webRequest ↵jochen@chromium.org2011-04-115-27/+1014
| | | | | | | | | | | | | | | | | | | | | | | | | | extension APIs. * Reverts r79631: "Remove the timeStamp property from the webNavigation extension API." * Reverts r79314: "Remove the timeStamp property from webRequest extension events." * Adds the `timeStamp` property to WebRequest's `onBeforeSendHeaders` event. * Updates documentation to note that the timestamps are only _internally_ consistent. Comparing timestamps to the extension's clock might result in Unexpected Events From The Future™. BUG=60101 TEST=browser_tests Review URL: http://codereview.chromium.org/6812047 Patch from Mike West <mkwst@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81076 0039d316-1c4b-4281-b951-d872f2087c98
* Enable data transfer items by default.dcheng@chromium.org2011-04-082-4/+4
| | | | | | | | | | | | Note that they aren't really enabled on a platform until an implementation that returns a non-empty vector from WebClipboard::readAvailableTypes is checked. BUG=75237 TEST=none Review URL: http://codereview.chromium.org/6813053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81002 0039d316-1c4b-4281-b951-d872f2087c98
* New screenshots for the extension UI overview.kathyw@chromium.org2011-04-0813-35/+35
| | | | | | | | | | Moved all overview images to images/overview/ (from images/* and images/index/*) BUG=78780 TEST=images under code.google.com/chrome/extensions/overview.html#extension-ui look right Review URL: http://codereview.chromium.org/6819001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80966 0039d316-1c4b-4281-b951-d872f2087c98
* Enabled actual transfer size in chromiumvsevik@chromium.org2011-04-083-11/+17
| | | | | | | | | BUG=40502 TEST=Open DevTools, open site having gzip/chunked encoding, ensure transfer size is correct. Review URL: http://codereview.chromium.org/6771043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80965 0039d316-1c4b-4281-b951-d872f2087c98
* This is downstream fix for chrome.experimental.debugger API.loislo@chromium.org2011-04-083-178/+31
| | | | | | | | | | | The DevTools messages format has been migrated to JSON-RPC-2.0 spec upstream. TEST=ExtensionApiTest.Debugger BUG=none Review URL: http://codereview.chromium.org/6813039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80930 0039d316-1c4b-4281-b951-d872f2087c98
* TBR: arv -- just fixing a long-out-of-date comment.mirandac@chromium.org2011-04-081-2/+1
| | | | | | Review URL: http://codereview.chromium.org/6820001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80925 0039d316-1c4b-4281-b951-d872f2087c98
* Add nacl_modules key to extension manifestsabarth@chromium.org2011-04-084-24/+90
| | | | | | | | | This is an experimental extension feature to let extensions register NaCl modules as a handler for MIME types. Review URL: http://codereview.chromium.org/6802023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80888 0039d316-1c4b-4281-b951-d872f2087c98
* Moved code that runs in both the browser and GPU process from content/gpu to ↵apatrick@chromium.org2011-04-084-7/+7
| | | | | | | | | | | | | | content/common/gpu. Also renamed GpuRenderThread to GpuChannelManager since that is what it really does. The only remaining dependency from content/common/gpu to content/gpu is gpu_watchdog_thread.h. Once that dependency has been reversed it should be possible to move most or all of the code in content/gpu to chrome/gpu. TEST=build, WebGL works, run by trybots. BUG=none Review URL: http://codereview.chromium.org/6793054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80883 0039d316-1c4b-4281-b951-d872f2087c98
* Adds TabContents/RenderView observers for automation/testing messages.kkania@chromium.org2011-04-072-1/+23
| | | | | | | | | | | | | | | | The RenderViewObserver currently sends two messages to the browser related to tracking client redirects, which is needed for determining whether to wait for a future navigation. This is particularly needed to wait correctly in chromedriver for form submissions and javascript redirects. However, timed redirects still need to be considered. BUG=none TEST=none Review URL: http://codereview.chromium.org/6676136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80848 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup in handling of JavaScript URLs in tabs APIaa@chromium.org2011-04-071-4/+8
| | | | | | | | | | | | Reuse infrastructure for chrome.tabs.executeScript() to implement chrome.tabs.update({url:"javascript:...."}) since it has built-in safeguards against navigation races. BUG=77026 Review URL: http://codereview.chromium.org/6771062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80826 0039d316-1c4b-4281-b951-d872f2087c98
* Support for fileBrowserPrivate extension file selection apis.achuith@chromium.org2011-04-073-12/+82
| | | | | | | | BUG=chromium-os:13045 TEST=rginda's filemanager will use/test this api. Review URL: http://codereview.chromium.org/6728032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80820 0039d316-1c4b-4281-b951-d872f2087c98