summaryrefslogtreecommitdiffstats
path: root/chrome/common
Commit message (Collapse)AuthorAgeFilesLines
* Revert 71656 - Allow policy refresh rate to be configured through policymnissler@chromium.org2011-01-184-8/+0
| | | | | | | | BUG=none TEST=none TBR=mnissler git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71663 0039d316-1c4b-4281-b951-d872f2087c98
* Allow policy refresh rate to be configured through policy.mnissler@chromium.org2011-01-184-0/+8
| | | | | | | | | BUG=64877 TEST=Existing unittests; manual testing. Review URL: http://codereview.chromium.org/6079012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71656 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 71313 - Removed old login screen from source.avayvod@chromium.org2011-01-182-0/+4
| | | | | | | | | | | | | Deleted kEnableLoginImages flag. BUG=chromium-os:7214 TEST=Old login screen should not show up even under automation tests for login. Review URL: http://codereview.chromium.org/5809001 TBR=avayvod@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71637 0039d316-1c4b-4281-b951-d872f2087c98
* Remove TopSites::IsEnabled() as well as related dead code.satorux@chromium.org2011-01-181-3/+0
| | | | | | | | | | | | TopSites has been enabed since r64072. It's now time to remove the dead code. BUG=69492 TEST=Make sure thumbnails are correctly updated as before. try bots. Review URL: http://codereview.chromium.org/6283001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71634 0039d316-1c4b-4281-b951-d872f2087c98
* Made return types of various Value::DeepCopy() implementations more specificakalin@chromium.org2011-01-182-29/+24
| | | | | | | | | | | | | | | | | | Since C++ supports covariant return types, a subclass of Value can return its own pointer type for Value::DeepCopy(). Also made signatures of Value::Create*Value() more specific. Removed now-unnecessary casts. Added test for covariant return types. BUG=None TEST=Compile Review URL: http://codereview.chromium.org/6324004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71617 0039d316-1c4b-4281-b951-d872f2087c98
* Do not read /proc/self/exe before forking if Chrome is ran under Valgrind.glider@chromium.org2011-01-171-1/+5
| | | | | | | | | | | This should prevent ui_tests from crashing under Valgrind on Linux. This fix was suggested by kcc (see the discussion of issue 28439) BUG=28439 Review URL: http://codereview.chromium.org/6331002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71590 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit DEPS past WebKit move. Update gyp files and include paths to ↵abarth@chromium.org2011-01-1733-68/+68
| | | | | | reflect the move. Consolidate how we DEPS in WebKit source files. Cross fingers. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71585 0039d316-1c4b-4281-b951-d872f2087c98
* Added CHECK for buffer_ and xml_wrapper_ to be not NULL rtenneti@chromium.org2011-01-161-1/+3
| | | | | | | | | | | before accessing them. BUG=64813 TEST=see bug Review URL: http://codereview.chromium.org/6273006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71564 0039d316-1c4b-4281-b951-d872f2087c98
* Make PP_Resources associated with the Instance rather than the module. Thisbrettw@chromium.org2011-01-151-1/+3
| | | | | | | | | | | | | | | | | | | | | | adds PP_Instance to the necessary places in the API to make this possible. String and Object vars used to be PP_Resources. But it is not practical to assocaited strings with an instance since then we can't have implicit var constructors and have to litter every string with an instance. So this changes vars to use their own tracking system associated with the module (i.e. keeping the current semantics) and making it no longer a resource. I made the internal Var IDs 32 bits since Neb is about to land his 64->32 change. Now it force-deletes resources associated with an instance when that instance goes away. I added some additional code and tracking in ResourceTracker to do this. I could then remove the Instance::Observer class since the resource can use the (now renamed) StoppedTracking to know that it's being deleted in response to the instance being destroyed. TEST=ppapi ui tests BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71544 0039d316-1c4b-4281-b951-d872f2087c98
* Turn password sync on by default.johnnyg@chromium.org2011-01-152-4/+4
| | | | | | | | | BUG=61252 TEST=none Review URL: http://codereview.chromium.org/6249006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71534 0039d316-1c4b-4281-b951-d872f2087c98
* net: Remove typedef net::URLRequestContext URLRequestContext;tfarina@chromium.org2011-01-155-12/+13
| | | | | | | | | BUG=64263 TEST=compiled locally, trybots Review URL: http://codereview.chromium.org/6338002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71522 0039d316-1c4b-4281-b951-d872f2087c98
* Implement renderer AudioDevice API for low-latency audio outputcrogers@google.com2011-01-151-0/+4
| | | | | | | | | BUG=none TEST=none (I tested locally for Mac OS X, but we'll need further testing for Windows and Linux as we add real-time threads, etc.) Review URL: http://codereview.chromium.org/6002005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71521 0039d316-1c4b-4281-b951-d872f2087c98
* Allow printing/saving a plugin through right click menu, even if it's in a ↵jam@chromium.org2011-01-151-0/+6
| | | | | | | | | frame or an embed element. BUG=50285 Review URL: http://codereview.chromium.org/6142013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71519 0039d316-1c4b-4281-b951-d872f2087c98
* Makes chrome pass down the length of text as the end of thesky@chromium.org2011-01-141-10/+12
| | | | | | | | | | | | selection for instant queries. At some point I'll wire through the actual cursor position, but this is better than what we had. BUG=none TEST=none Review URL: http://codereview.chromium.org/6363001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71509 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 71487 - Move SystemMonitor to src/ui/base/system_monitor.ben@chromium.org2011-01-143-79/+0
| | | | | | | | | | | | | | Move HiResTimerManager to src/chrome/common. BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/6361002 TBR=ben@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71489 0039d316-1c4b-4281-b951-d872f2087c98
* Move SystemMonitor to src/ui/base/system_monitor.ben@chromium.org2011-01-143-0/+79
| | | | | | | | | | | | Move HiResTimerManager to src/chrome/common. BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/6361002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71487 0039d316-1c4b-4281-b951-d872f2087c98
* The revert Broke Chrome OS...mmenke@chromium.org2011-01-142-4/+0
| | | | | | | | | | | | | | | | Revert 71470 - Revert 71313 - Removed old login screen from source. Deleted kEnableLoginImages flag. BUG=chromium-os:7214 TEST=Old login screen should not show up even under automation tests for login. Review URL: http://codereview.chromium.org/5809001 TBR=avayvod@chromium.org,tbroch@chromium.org TBR=avayvod@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71478 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 71313 - Removed old login screen from source.avayvod@chromium.org2011-01-142-0/+4
| | | | | | | | | | | | | Deleted kEnableLoginImages flag. BUG=chromium-os:7214 TEST=Old login screen should not show up even under automation tests for login. Review URL: http://codereview.chromium.org/5809001 TBR=avayvod@chromium.org,tbroch@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71470 0039d316-1c4b-4281-b951-d872f2087c98
* Add a command line flag to specify the minimum flash version implementing ↵bauerb@chromium.org2011-01-142-0/+4
| | | | | | | | | | | the NPP_ClearSiteData API. BUG=58235 TEST=none Review URL: http://codereview.chromium.org/6242002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71441 0039d316-1c4b-4281-b951-d872f2087c98
* Clear plugin data together with cookies on shutdown.bauerb@chromium.org2011-01-142-6/+0
| | | | | | | | | BUG=58235 TEST=none Review URL: http://codereview.chromium.org/6260003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71436 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Port about:sync to DOMUIakalin@chromium.org2011-01-142-0/+11
| | | | | | | | | | | | | | | | | Write chrome://sync-internals DOMUI page which is like about:sync but automatically updates on sync events. Make about:sync{,-internals} aliases for chrome://sync-internals. More diagnostic capabilities will be added to chrome://sync-internals in future CLs. BUG=69500 TEST=Manual Review URL: http://codereview.chromium.org/6299002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71435 0039d316-1c4b-4281-b951-d872f2087c98
* Clang: enable -Wbool-conversions and -Wunused-variables on Linux.hans@chromium.org2011-01-141-1/+1
| | | | | | | | | | | | | | | -Wbool-conversion warns about EXPECT_EQ(false, blah), so replace that with EXPECT_FALSE(blah). Do the same with EXPECT_EQ(true, blah) for good measure (even though that doesn't generate warnings). Also remove the one instance of an unused variable. BUG=69421 TEST=buildbots all compile and all tests pass Review URL: http://codereview.chromium.org/6300001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71431 0039d316-1c4b-4281-b951-d872f2087c98
* Changing the security model for "chrome" URLsabarth@chromium.org2011-01-132-0/+4
| | | | | | | | | | | | | | | | | | This patch changes the security model for "chrome" URLs to make implementing some features in DOMUI easier. Instead of registering "chrome" as a NoAccess and a Local scheme, we register it as a DisplayIsolated scheme. That should have the effects outlined in this email: http://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/863700bf99b3f3ed See also https://bugs.webkit.org/show_bug.cgi?id=50182 which introduces the necessary API into WebKit. BUG=69140 Review URL: http://codereview.chromium.org/5268006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71382 0039d316-1c4b-4281-b951-d872f2087c98
* This adds a "killed tab" page to be displayed in the case where a tab is ↵gspencer@chromium.org2011-01-135-0/+19
| | | | | | | | | | | | | | | killed instead of crashing. It also adds "about:kill" to simulate kills. On ChromeOS killed tabs will be reloaded as soon as the user clicks on them unless they are the only tab, or the currently focused tab is killed. BUG=http://crosbug.com/10043, http://crosbug.com/10711 TEST=Built linux and ChromeOS Chrome and killed a tab, and then did about:crash and made sure that the "Aw, Snap!" page was displayed. Did about:kill and made sure kill page was displayed. Review URL: http://codereview.chromium.org/6053012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71360 0039d316-1c4b-4281-b951-d872f2087c98
* Move app/key* to ui/base/keycodes/*ben@chromium.org2011-01-131-1/+1
| | | | | | | | | | BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/6246001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71330 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: fix a bunch of NULL vs. 0 issues spotted by gcc 4.5.craig.schlenter@chromium.org2011-01-131-2/+2
| | | | | | | | | | | | There are more gcc 4.5 issues to be solved so GYP_DEFINES=='werror=' is still required to build with 4.5 even with these changes. BUG=66652 TEST=compiles with gcc 4.5 and trybots Review URL: http://codereview.chromium.org/6186008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71325 0039d316-1c4b-4281-b951-d872f2087c98
* For ChromeOS: when starting session:dilmah@chromium.org2011-01-132-3/+12
| | | | | | | | | | | if locale was changed (as a result of sync or because user preference differs from login locale): show notification. BUG=chromium-os:9164 TEST=Manual Review URL: http://codereview.chromium.org/5976005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71320 0039d316-1c4b-4281-b951-d872f2087c98
* Policy: Add ProxyMode and deprecate ProxyServerMode.danno@chromium.org2011-01-132-4/+4
| | | | | | | | | | | | | - Add support for 'deprecated' attribute in template generator - Add support for both int- and string- based enums in the template generator - Add logic to handle ProxyMode and fall back to ProxyServerMode BUG=68134 TEST=ConfigurationPolicyPrefStore*, new policy template generator tests Review URL: http://codereview.chromium.org/5958014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71315 0039d316-1c4b-4281-b951-d872f2087c98
* Removed old login screen from source.avayvod@chromium.org2011-01-132-4/+0
| | | | | | | | | | | Deleted kEnableLoginImages flag. BUG=chromium-os:7214 TEST=Old login screen should not show up even under automation tests for login. Review URL: http://codereview.chromium.org/5809001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71313 0039d316-1c4b-4281-b951-d872f2087c98
* Also delete plugin data when the cookies checkbox in the clear browsing data ↵bauerb@chromium.org2011-01-132-2/+0
| | | | | | | | | | | dialog is checked. BUG=58235 TEST=none Review URL: http://codereview.chromium.org/6122008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71304 0039d316-1c4b-4281-b951-d872f2087c98
* net: Remove typedef net::URLRequestStatus URLRequestStatus;tfarina@chromium.org2011-01-1317-143/+157
| | | | | | | | | BUG=64263 TEST=compiled locally, trybots Review URL: http://codereview.chromium.org/6166010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71285 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium build failed with heap leak checker, or configured withtony@chromium.org2011-01-131-0/+1
| | | | | | | | | | | | | | | | | 'gyp_chromium -Dlinux_use_heapchecker=1 -Dlinux_keep_shadow_stacks=1' parameters. This configuration set gcc option '-finstrument-functions' and cause 'control reaches end of non-void function' error in some sources. Some errors occur in WebKit, and this changelist doesn't include patches for WebKit sources. TEST=pass sync_unit_tests, browser_tests, net_unittests Original patch by Takashi Toyoshima <toyoshim@google.com> at http://codereview.chromium.org/5991005/ Review URL: http://codereview.chromium.org/6262002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71274 0039d316-1c4b-4281-b951-d872f2087c98
* Added new methods to chrome.experimental.metrics to enable or disable ↵hansl@google.com2011-01-121-0/+33
| | | | | | | | | | | sending the crash reports and UMA to Google. BUG=64677 TEST=browser_tests.exe --gtest_filter=ExtensionApiTest.Metrics Review URL: http://codereview.chromium.org/5319006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71242 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor RenderWidgetHost::set_paint_observer()davemoore@chromium.org2011-01-121-0/+22
| | | | | | | | | BUG=None TEST=Rerun RenderWidgetHostUnitTest.* Review URL: http://codereview.chromium.org/6010004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71238 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed crash caused by ResourceDispatcher::OnReceivedRedirect() indirectly ↵zelidrag@chromium.org2011-01-121-0/+5
| | | | | | | | | | | running a nested mesage loop in request_info->peer->OnReceivedRedirect() call. The loop might kill the instance of PendingRequestInfo what caused this crash. The fix simply checks for validity of PendingRequestInfo one more time within this OnReceivedRedirect() method. BUG=chromium:65345, chromium-os:10721 TEST=sign up with gmail, try to switch account to another one - there should be no crash. see http://crosbug.com/10721 for more detailed repro steps Review URL: http://codereview.chromium.org/6211005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71182 0039d316-1c4b-4281-b951-d872f2087c98
* wrong file slipped into my original cl - ↵zelidrag@chromium.org2011-01-121-5/+0
| | | | | | | | | | | | | | | | chrome/test/data/import/firefox/linux.zip Revert 71180 - Fixed crash caused by ResourceDispatcher::OnReceivedRedirect() indirectly running a nested mesage loop in request_info->peer->OnReceivedRedirect() call. The loop might kill the instance of PendingRequestInfo what caused this crash. The fix simply checks for validity of PendingRequestInfo one more time within this OnReceivedRedirect() method. BUG=chromium:65345, chromium-os:10721 TEST=sign up with gmail, try to switch account to another one - there should be no crash. see http://crosbug.com/10721 for more detailed repro steps Review URL: http://codereview.chromium.org/6211005 TBR=zelidrag@chromium.org Review URL: http://codereview.chromium.org/6100012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71181 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed crash caused by ResourceDispatcher::OnReceivedRedirect() indirectly ↵zelidrag@chromium.org2011-01-121-0/+5
| | | | | | | | | | | running a nested mesage loop in request_info->peer->OnReceivedRedirect() call. The loop might kill the instance of PendingRequestInfo what caused this crash. The fix simply checks for validity of PendingRequestInfo one more time within this OnReceivedRedirect() method. BUG=chromium:65345, chromium-os:10721 TEST=sign up with gmail, try to switch account to another one - there should be no crash. see http://crosbug.com/10721 for more detailed repro steps Review URL: http://codereview.chromium.org/6211005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71180 0039d316-1c4b-4281-b951-d872f2087c98
* When printing a page containing alpha blending on a printer which doesn't ↵senorblanco@chromium.org2011-01-122-5/+13
| | | | | | | | | | | | | support alpha blending, post-process the metafile to replace the AlphaBlend calls with BitBlts from a software-composited rendering of the page so far. BUG=7434 TEST=see bug Review URL: http://codereview.chromium.org/5362002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71177 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 71169 - Revert 71167 - Remove wstring from gfx.avi@chromium.org2011-01-121-1/+1
| | | | | | | | | | | | | | | BUG=68882 TEST=no visible changes; all tests pass Review URL: http://codereview.chromium.org/6121004 TBR=avi@chromium.org Review URL: http://codereview.chromium.org/6134010 TBR=joi@chromium.org Review URL: http://codereview.chromium.org/6130008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71176 0039d316-1c4b-4281-b951-d872f2087c98
* Makes the instant url managed by group policy.sky@chromium.org2011-01-122-0/+3
| | | | | | | | | BUG=64870 64922 TEST=none Review URL: http://codereview.chromium.org/6174002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71172 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 71167 - Remove wstring from gfx.joi@chromium.org2011-01-121-1/+1
| | | | | | | | | | | | BUG=68882 TEST=no visible changes; all tests pass Review URL: http://codereview.chromium.org/6121004 TBR=avi@chromium.org Review URL: http://codereview.chromium.org/6134010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71169 0039d316-1c4b-4281-b951-d872f2087c98
* Remove wstring from gfx.avi@chromium.org2011-01-121-1/+1
| | | | | | | | | BUG=68882 TEST=no visible changes; all tests pass Review URL: http://codereview.chromium.org/6121004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71167 0039d316-1c4b-4281-b951-d872f2087c98
* Clarify wording around blocking 3rd party cookies and add lab to block ↵jochen@chromium.org2011-01-122-0/+6
| | | | | | | | | | | reading of 3rd party cookies BUG=69066 TEST=net_unittests Review URL: http://codereview.chromium.org/6207005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71148 0039d316-1c4b-4281-b951-d872f2087c98
* Change the flash sandbox policy to add support for:cpu@chromium.org2011-01-121-21/+31
| | | | | | | | | | | | - webcam (as in youtube.com\my_webcam) - gtalk BUG=64356 TEST=see bug Review URL: http://codereview.chromium.org/6139006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71129 0039d316-1c4b-4281-b951-d872f2087c98
* Changes to default apps promo per ui leads:aa@chromium.org2011-01-111-1/+2
| | | | | | | | | | | | | | | | | 1. Change hide message from 'Hide this message' to 'No thanks, hide this'. 2. Hide promo text when a default app is launched (this was already happening on uninstall). 3. Uninstall default apps when promo expires or is purposefully hidden. 4. Collapse apps section when promo expires or is purposefully hidden. BUG=67292,69268 TEST=none Review URL: http://codereview.chromium.org/6162006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71100 0039d316-1c4b-4281-b951-d872f2087c98
* Adds the x-nacl to the MIME types recognized by the Pepper NaCl plug-in. ↵bbudge@google.com2011-01-111-1/+7
| | | | | | | | | | Another CL will remove the old MIME type (x-ppapi-nacl-srpc) after the NaCl tree has been updated, to avoid a window where NaCl is broken. BUG=none TESTS=manual Review URL: http://codereview.chromium.org/6117005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71094 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r71044: "DevTools: migrate APU from dedicated commands to the ↵pfeldman@chromium.org2011-01-111-6/+7
| | | | | | inspector protocol." git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71048 0039d316-1c4b-4281-b951-d872f2087c98
* Switch BlockedPlugins from using notifications to having themmenke@chromium.org2011-01-111-4/+0
| | | | | | | | | | | | RenderView load them directly, in response to the LoadBlockedPlugins IPC message. BUG=none TEST=NPAPIVisiblePluginTester.ClickToPlay (pre-existing) Review URL: http://codereview.chromium.org/6209004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71047 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: migrate APU from dedicated commands to the inspector protocol.pfeldman@chromium.org2011-01-111-7/+6
| | | | | | TBR=yurys git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71044 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r71037. "DevTools: migrate APU from dedicated commands to the ↵pfeldman@chromium.org2011-01-111-0/+8
| | | | | | | | inspector protocol." TBR=yurys git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71040 0039d316-1c4b-4281-b951-d872f2087c98