summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert 106142 - Add a new globals object for PPAPI tracking information.sail@chromium.org2011-10-1865-556/+329
| | | | | | | | | | | | | | | | | | | | | | This adds a specialization on the host and plugin side of the proxy. This replaces the ad-hoc singleton tracking done by the resource and var trackers with just being getters on this global object. Most code can use the single PpapiGlobals class. I also allow code to get the host and plugin specializations since some code needs access to some specific features of each side. In a later pass I'll move the other stuff out of TrackerBase and delete it. TEST=none BUG=none Review URL: http://codereview.chromium.org/8316008 TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/8342016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106148 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Cleanup in browser_render_process_host.cc.jhawkins@chromium.org2011-10-184-16/+20
| | | | | | | | | | | BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8348011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106147 0039d316-1c4b-4281-b951-d872f2087c98
* Valgrind: Widen a suppression for the x509 cert leak.thestig@chromium.org2011-10-181-3/+1
| | | | | | | | | BUG=100761 TEST=none TBR=jhawkins Review URL: http://codereview.chromium.org/8348018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106145 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Cleanup in database_message_filter.cc.jhawkins@chromium.org2011-10-181-8/+4
| | | | | | | | | | | BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8348009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106144 0039d316-1c4b-4281-b951-d872f2087c98
* Disable pyauto notification tests on official builds until new chromekkania@chromium.org2011-10-181-0/+6
| | | | | | | | | | | | build is ready. An automation change was introduced in 106102 that is not backwards compatible. BUG=100790 TEST=none TBR=jasneet Review URL: http://codereview.chromium.org/8342015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106143 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new globals object for PPAPI tracking information.brettw@chromium.org2011-10-1865-329/+556
| | | | | | | | | | | | | | | | | | | This adds a specialization on the host and plugin side of the proxy. This replaces the ad-hoc singleton tracking done by the resource and var trackers with just being getters on this global object. Most code can use the single PpapiGlobals class. I also allow code to get the host and plugin specializations since some code needs access to some specific features of each side. In a later pass I'll move the other stuff out of TrackerBase and delete it. TEST=none BUG=none Review URL: http://codereview.chromium.org/8316008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106142 0039d316-1c4b-4281-b951-d872f2087c98
* Add chrome and cf multi-install tests.hnguyen@google.com2011-10-183-7/+18
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8336001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106141 0039d316-1c4b-4281-b951-d872f2087c98
* Make inline installation callbacks fire when the item is downloaded and ↵mihaip@chromium.org2011-10-188-17/+93
| | | | | | | | | | | | | | installed. By having WebstoreInlineInstaller implement WebstoreInstaller::Delegate, we can respond to the callback when the item is actually installed, instead of as soon as the download is initiated. R=jstritar@chromium.org Review URL: http://codereview.chromium.org/8348006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106140 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert FileSystemPathManager::GetRootPathCallback.jhawkins@chromium.org2011-10-1812-74/+75
| | | | | | | | | | | BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8342008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106139 0039d316-1c4b-4281-b951-d872f2087c98
* Downgrade a CHECK to a NOTREACHED in ResourceBundle::LoadLocaleResources.tony@chromium.org2011-10-182-1/+13
| | | | | | | | | | | | | | | This is a case where we're failing to mmap the file, even though it exists on disk. For example, we can't read the file or it has a size of 0. We don't need to CHECK because in chrome_browser_main.cc, we prompt the user to reinstall if this happens. BUG=100395 Review URL: http://codereview.chromium.org/8301017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106138 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting: Split XWindows scrollwheel -> button function and use abs().garykac@chromium.org2011-10-181-8/+8
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8333005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106137 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 106110 - Implement SyncableService in AppNotificationsManager:sail@chromium.org2011-10-1812-1142/+94
| | | | | | | | | | | | | | | | - Implement all methods of SyncableService - Modify existing methods that change the model (Add and ClearAll) to push changes to sync. - Add some extra properties to AppNotification: guid and extension id - Disallow operations on model until storage is loaded. - Ton of unit tests for sync methods There is anotehr part for the full notifications sync to work that will be done in a separate CL. Review URL: http://codereview.chromium.org/8263002 TBR=munjal@chromium.org Review URL: http://codereview.chromium.org/8345022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106136 0039d316-1c4b-4281-b951-d872f2087c98
* Refactors NativeWebKeyboardEvent to be less ugly.ben@chromium.org2011-10-1822-135/+84
| | | | | | | | | | | | Replaces #ifdefs in the source file with use of a new gfx::NativeEvent typedef. Adds NativeWebKeyboardEventAura. http://crbug.com/99757 TEST=none Review URL: http://codereview.chromium.org/8302013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106135 0039d316-1c4b-4281-b951-d872f2087c98
* Minor style edits to omnibox pyauto tests.dennisjeffrey@chromium.org2011-10-182-79/+96
| | | | | | | | | | | | | Adding some docstrings, adjusting some indentation, moving some functions around. Functionality remains unchanged. BUG=100198 TEST=None Review URL: http://codereview.chromium.org/8302011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106134 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Merge RootWindow into Desktop.sadrul@chromium.org2011-10-1816-355/+259
| | | | | | | | | | | | | | Notable changes: . Window::GetRoot gets renamed to Window::GetDesktop. . Desktop::Show gets renamed to Desktop::ShowDesktop, to disambiguate with Window::Show. BUG=none TEST=none Review URL: http://codereview.chromium.org/8346009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106133 0039d316-1c4b-4281-b951-d872f2087c98
* Change the Thread name of WATCHDOG to BrowserWatchdog.rtenneti@chromium.org2011-10-181-1/+1
| | | | | | | | | | BUG=100768 R=jar Test=thread watcher unit tests Review URL: http://codereview.chromium.org/8342007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106130 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded namespaces.thestig@chromium.org2011-10-1812-105/+95
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8334007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106129 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Implement initial web intent picker UI.groby@chromium.org2011-10-189-4/+550
| | | | | | | | | | BUG=93915,90458 TEST=none Review URL: http://codereview.chromium.org/8250001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106128 0039d316-1c4b-4281-b951-d872f2087c98
* add support for using system jpeg headers here for OpenBSDrobert.nagy@gmail.com2011-10-183-1/+19
| | | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/8348003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106127 0039d316-1c4b-4281-b951-d872f2087c98
* Don't DCHECK NPP_HandleEvent's return for NPERR_NO_ERRORdavidben@chromium.org2011-10-181-4/+2
| | | | | | | | | | | | | | It actually returns true or false depending on whether or not the plugin handled the event. Treating as an NPError is just asserting that the plugin claimed not to handle the event. Ignore the return value instead. BUG=none TEST=Flash still works, plugins which do return true (npapi-sdk sample plugin) don't trigger a DCHECK Review URL: http://codereview.chromium.org/8216033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106126 0039d316-1c4b-4281-b951-d872f2087c98
* Integration tests for two-client Nigori conflicts.albertb@chromium.org2011-10-181-0/+40
| | | | | | | | | | | R=rsimha BUG=none TEST=this is a test Review URL: http://codereview.chromium.org/8294023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106125 0039d316-1c4b-4281-b951-d872f2087c98
* content: Make tab_contents_drag_source not depend on download_util.herg@google.com2011-10-1819-27/+49
| | | | | | | | | | | This adds a method to the ContentBrowserClient to get what is otherwise localized resources. Most of this patch changes the interface to net::GenerateFileName() to take a utf8 string instead of a utf16 one (which was immediately changed to a utf8 one in implementation.) BUG=none TEST=none Review URL: http://codereview.chromium.org/8113012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106124 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Cleanups in appcache_storage_impl.cc.jhawkins@chromium.org2011-10-182-44/+51
| | | | | | | | | | | BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8344009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106122 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Cleanup of blog_url_request_job.*.jhawkins@chromium.org2011-10-183-32/+28
| | | | | | | | | | | BUG=NONE TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8345007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106119 0039d316-1c4b-4281-b951-d872f2087c98
* Define the glibc specific functions for OpenBSD toorobert.nagy@gmail.com2011-10-181-1/+2
| | | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/8343007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106118 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented local input monitor for mac.jamiewalch@chromium.org2011-10-181-22/+65
| | | | | | | | | | BUG=96650 TEST=Manual Review URL: http://codereview.chromium.org/8220020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106117 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Final cleanups in webkit/quota.jhawkins@chromium.org2011-10-186-63/+72
| | | | | | | | | | | BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8342004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106116 0039d316-1c4b-4281-b951-d872f2087c98
* Some extra cflags are needed for cups on OpenBSD.robert.nagy@gmail.com2011-10-181-0/+5
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8345001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106115 0039d316-1c4b-4281-b951-d872f2087c98
* Valgrind: Suppress a leak in CrxUpdateService::ProcessPendingItems.thestig@chromium.org2011-10-181-0/+7
| | | | | | | | | BUG=100777 TEST=none TBR=jhawkins Review URL: http://codereview.chromium.org/8348012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106114 0039d316-1c4b-4281-b951-d872f2087c98
* Used use-gl=any instead of forcing osmesa for gpu browser tests.alokp@chromium.org2011-10-183-72/+24
| | | | | | | This was committed as part of r105914, which was later reverted due to mysterious tsan failures. I am splitting the original patch into smaller chunks to figure out the failure. Review URL: http://codereview.chromium.org/8347007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106113 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 106069 - Fix for Memory Leak 72698_bthestig@chromium.org2011-10-184-4/+8
| | | | | | | | | | | | | BUG=72698 TEST= Review URL: http://codereview.chromium.org/8330018 TBR=nrqv63@motorola.com Review URL: http://codereview.chromium.org/8349007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106112 0039d316-1c4b-4281-b951-d872f2087c98
* Make OpenGL string entry points validate the stringgman@chromium.org2011-10-182-18/+96
| | | | | | | | | | | | BUG=69808 TEST=unit tests R=apatrick@chromium.org Review URL: http://codereview.chromium.org/8345003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106111 0039d316-1c4b-4281-b951-d872f2087c98
* Implement SyncableService in AppNotificationsManager:munjal@chromium.org2011-10-1812-94/+1142
| | | | | | | | | | | | | - Implement all methods of SyncableService - Modify existing methods that change the model (Add and ClearAll) to push changes to sync. - Add some extra properties to AppNotification: guid and extension id - Disallow operations on model until storage is loaded. - Ton of unit tests for sync methods There is anotehr part for the full notifications sync to work that will be done in a separate CL. Review URL: http://codereview.chromium.org/8263002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106110 0039d316-1c4b-4281-b951-d872f2087c98
* Add NetLog support to UDP sockets.mmenke@chromium.org2011-10-1818-99/+506
| | | | | | | | | | BUG=99508 TEST=UDPSocketTest.Connect Review URL: http://codereview.chromium.org/8200011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106109 0039d316-1c4b-4281-b951-d872f2087c98
* Valgrind: Update a suppression after r106077, suppress new errors for Mac ↵thestig@chromium.org2011-10-183-1/+59
| | | | | | | | | | | VideoCaptureDevice. BUG=100133,100772 TEST=none TBR=jhawkins Review URL: http://codereview.chromium.org/8342009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106108 0039d316-1c4b-4281-b951-d872f2087c98
* Finalize the XML writer before freeing it.petkov@chromium.org2011-10-181-0/+6
| | | | | | | | | | | | | Based on the libxml2 code and examples, this is the clean way to destroy a writer. This cleans up libxml2 warnings/errors for unit test logs. BUG=chromium-os:6717 TEST=unit tests, git try Review URL: http://codereview.chromium.org/8337016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106107 0039d316-1c4b-4281-b951-d872f2087c98
* Reset static HttpStreamFactory settings before each test in a NetTestSuite.szym@chromium.org2011-10-183-0/+32
| | | | | | | | | | | | | | This improves test isolation. BUG= TEST=./net_unittests --gtest_shuffle=1 --gtest_random_seed=56044 More specifically: TEST=./net_unittests --gtest_shuffle=1 --gtest_random_seed=56044 --gtest_filter=Spdy/SpdyNetworkTransactionTest.ThreeGets/1:HttpStreamFactoryTest.PreconnectHttpProxy Review URL: http://codereview.chromium.org/8295009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106106 0039d316-1c4b-4281-b951-d872f2087c98
* gtk: fix bulge in custom frameestade@chromium.org2011-10-182-9/+14
| | | | | | | | | | | | | | | | | problem: when there is no Other Bookmarks button showing (because the folder is empty), you can see a small beige bulge in the custom frame at the level of the bookmark bar cause: the other_padding GtkAlignment is still showing although the button itself is hidden (I'm not sure why this alignment extends outside the bounds of the bookmark bar, but it does) solution: show/hide that widget instead of the button widget. problem 2: the Other Bookmarks button is not shown/hidden when elements are added to or removed from it. solution: call UpdateOtherBookmarksVisibility more aggressively BUG=100724 TEST=manual Review URL: http://codereview.chromium.org/8336011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106105 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed log messages about failed initialization of GLSurface.alokp@chromium.org2011-10-183-3/+3
| | | | | | Review URL: http://codereview.chromium.org/8343006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106104 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync UI] Display error on personal options page when sync has an ↵binji@chromium.org2011-10-182-7/+28
| | | | | | | | | | | | unrecoverable error. BUG=99250, 94976 TEST=Cause an unrecoverable error. Go to chrome://settings/personal. There should be an error message "Oops, Sync has stopped working" with a learn more link. Review URL: http://codereview.chromium.org/8289024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106103 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some disabled/flaky notification pyauto tests.kkania@chromium.org2011-10-189-51/+153
| | | | | | | | | BUG=66072,95031 TEST=none Review URL: http://codereview.chromium.org/8286012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106102 0039d316-1c4b-4281-b951-d872f2087c98
* Fix histogram calls to use defined constant instead of hard coding number.rogerta@chromium.org2011-10-182-4/+6
| | | | | | | | | BUG=None TEST=Code cleanup, no user visible change Review URL: http://codereview.chromium.org/8320006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106099 0039d316-1c4b-4281-b951-d872f2087c98
* Update .DEPS.gitchrome-admin@google.com2011-10-181-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106098 0039d316-1c4b-4281-b951-d872f2087c98
* Bump Syzygy binaries to 0.1.8.0chrisha@google.com2011-10-181-2/+2
| | | | | | Review URL: http://codereview.chromium.org/8349003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106097 0039d316-1c4b-4281-b951-d872f2087c98
* base/json: Collapse a condition in ReadHexDigits into a single if clause.tfarina@chromium.org2011-10-181-3/+1
| | | | | | | | | TEST=base_unittests --gtest_filter=JSON* R=tony@chromium.org Review URL: http://codereview.chromium.org/8312004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106096 0039d316-1c4b-4281-b951-d872f2087c98
* Valgrind/Heapchecker: Suppress a WK memory error and a leak in x509 cert code.thestig@chromium.org2011-10-182-0/+71
| | | | | | | | | BUG=100661,100761 TEST=none TBR=jhawkins Review URL: http://codereview.chromium.org/8343010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106094 0039d316-1c4b-4281-b951-d872f2087c98
* net: rework the NPN patch.agl@chromium.org2011-10-1818-293/+505
| | | | | | | | | | | | | | | | | | This change moves the protocol selection logic out of NSS and into Chromium code. This allows some things to be a little cleaner (no more wire-encoded NPN strings) and also allows for some tricks that we have been considering for SPDY+WebSockets. As a consequence of this change, next protocols are now a std::vector<std::string> rather than an encoded char* BUG=none TEST=SPDY still works with Google sites. Review URL: http://codereview.chromium.org/8156001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106093 0039d316-1c4b-4281-b951-d872f2087c98
* Disable NoInfobarForAllowedOrigin on Win.jennb@chromium.org2011-10-181-1/+7
| | | | | | | | | | BUG=100763 TEST= TBR=bulach@chromium.org Review URL: http://codereview.chromium.org/8342006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106092 0039d316-1c4b-4281-b951-d872f2087c98
* Views Bubble API adjustments and cleanupmsw@chromium.org2011-10-1821-559/+282
| | | | | | | | | | | | | Adjust BubbleDelegateView API, add CreateBubble static factory function. Bubble's arrow anchors with a screen point, can fade in and fade out. Supporting changes, test updates, misc related cleanup, -275 lines. BUG=97248,98322,98323 TEST=updated unit tests, views_examples bubbles work. Review URL: http://codereview.chromium.org/8227003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106090 0039d316-1c4b-4281-b951-d872f2087c98
* Disable TestFullscreenBubbleMouseLockState on Linuxsail@chromium.org2011-10-181-1/+1
| | | | | | | | | | BUG=100680 TEST= TBR=jeremya@chromium.org Review URL: http://codereview.chromium.org/8348004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106088 0039d316-1c4b-4281-b951-d872f2087c98