summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Adding a sample to demonstrate the infobars API.kurrik@chromium.org2010-09-1711-1/+176
| | | | | | | | | | | | | Sample extension shows the number of times the word "sandwich" appears in a page in an infobar. Regenerated samples directory. Regeneration updated experimental.management's docs page. BUG=None TEST=None Review URL: http://codereview.chromium.org/3358022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59828 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed crash in DOM UI setup caused by lazy instantiation of thekbr@google.com2010-09-173-18/+28
| | | | | | | | | | | | | | | | DOMUIBindings. Added helper functions to lazily instantiate both DOMUIBindings and ExternalHostBindings and call them from all access sites in render_view. Also incorporated re-enabling of InputFileTriggerFileBrowse test thanks to xiyuan in http://codereview.chromium.org/3466001 . BUG=55959 TEST=none Review URL: http://codereview.chromium.org/3412011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59826 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unnecessary LOG(INFO) lines from extensions systemaa@chromium.org2010-09-173-9/+0
| | | | | | | | that were creating logs of spam in test output. TBR=shess@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59823 0039d316-1c4b-4281-b951-d872f2087c98
* Marking GeolocationBrowserTest.CancelpermissionsForFrame as flakymlloyd@chromium.org2010-09-171-1/+3
| | | | | | | | BUG=56033 TEST= git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59821 0039d316-1c4b-4281-b951-d872f2087c98
* Add Sources to several notifications.tim@chromium.org2010-09-177-29/+42
| | | | | | | | | BUG=none TEST=sync_integration_tests Review URL: http://codereview.chromium.org/3400011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59820 0039d316-1c4b-4281-b951-d872f2087c98
* Fix race in SearchProviderInstallDataTest (must delete ↵levin@chromium.org2010-09-173-14/+33
| | | | | | | | | | | | | SearchProviderInstallData on the I/O thread). I also added several DCHECKs to make this bug apparent in a normal test run. BUG=56002 TEST=unit_tests --gtest_filter=SearchProviderInstallDataTest.GetInstallState Review URL: http://codereview.chromium.org/3383012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59819 0039d316-1c4b-4281-b951-d872f2087c98
* Remove LOG(INFO) spam.evan@chromium.org2010-09-171-3/+6
| | | | | | | | | | | | If someone has time to fix this, they should. But for now, we need our logs to be useful and they're instead dominated by this unuseful message. BUG=11010 Review URL: http://codereview.chromium.org/3413019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59818 0039d316-1c4b-4281-b951-d872f2087c98
* Roll webkit 67655->67701johnnyg@chromium.org2010-09-171-1/+1
| | | | | | | | | | TBR=satish BUG=none TEST=none Review URL: http://codereview.chromium.org/3436016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59817 0039d316-1c4b-4281-b951-d872f2087c98
* Bumped ANGLE rev to 425 to pull the new API for extracting attribs and ↵alokp@chromium.org2010-09-175-48/+152
| | | | | | | | | uniforms. Created a new class ShaderTranslator to encapsulate shader translation. PS: I will add tests for this class once ANGLE actually returns attribs and uniforms. Review URL: http://codereview.chromium.org/3451002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59816 0039d316-1c4b-4281-b951-d872f2087c98
* DISABLE UnloadTest.BrowserCloseTabWhenOtherTabHasListener on windowscmasone@google.com2010-09-171-1/+1
| | | | | | | | | | | | Per discussion with maruel and phajdan.jr, re-marking this test as DISABLED on windows. It sometimes crashes, causing the remaining tests to be marked as failing. TBR=estade BUG=45281 TEST=UnloadTest.BrowserCloseTabWhenOtherTabHasListener doesn't run Review URL: http://codereview.chromium.org/3421016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59815 0039d316-1c4b-4281-b951-d872f2087c98
* Revert accidentally included test change.evan@chromium.org2010-09-171-1/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59814 0039d316-1c4b-4281-b951-d872f2087c98
* Disable WorkerTest.WorkerHttpLayoutTests. It always times out.evan@chromium.org2010-09-172-2/+3
| | | | | | BUG=16934 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59812 0039d316-1c4b-4281-b951-d872f2087c98
* Further integration of 2D mode. This change supports calltype=v, ↵fransiskusx@google.com2010-09-1713-57/+484
| | | | | | | | | | | | | transparancy, and image transformation. Currently only support Linux and compiled when renderer = cairo. TEST= I compiled with renderer = cairo and it worked. Also I compiled with renderer = gl and it worked. BUG=none Review URL: http://codereview.chromium.org/3315023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59811 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 59715 - Second try of http://codereview.chromium.org/3322009 since it ↵sky@chromium.org2010-09-174-242/+1
| | | | | | | | | | | | | | | | | | | | | got reverted. Added a media UI test case for fullscreen video implementation for Windows (which is not committed yet). However, it is currently disabled until the webkit patches are here. Also changed the other cases in media_uitest.cc to stop using Sleep() in test code. Instead, NotificationObserver and NotificationRegistrar are used. Thirdly, moved media_uitest.cc from ui_tests to interactive_ui_tests. TEST=ui_tests, interactive_ui_tests BUG=54838 Review URL: http://codereview.chromium.org/3407003 TBR=imcheng@chromium.org Review URL: http://codereview.chromium.org/3448008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59797 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 59768 - Refactoring of player[_fullscreen].html by placing the common ↵sky@chromium.org2010-09-174-78/+64
| | | | | | | | | | | | | | functions in a js file. Also, removing media_uitest.cc which is now empty. (it was not removed on last commit due to some svn oddities) BUG=none TEST=MediaBrowserTest.* Review URL: http://codereview.chromium.org/3454005 TBR=imcheng@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59796 0039d316-1c4b-4281-b951-d872f2087c98
* Fix case where we close a stream due to socket errors when it is currentlymbelshe@chromium.org2010-09-174-14/+126
| | | | | | | | | | | | | | | | | a pending create stream. The problem was that the socket error would arrive on the SpdySession, which would initiate cleanup of the pendng create streams for that session. In the callback to the stream, the stream would notify the transaction, which would delete itself, and that would cause a callback into the SpdySession to clear that specific pending create stream (via CancelPendingCreateStreams). BUG=52901,55795 TEST=SpdyNetworkTransactionTest.ThreeGetsWithMaxConcurrentSocketClose Review URL: http://codereview.chromium.org/3400009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59794 0039d316-1c4b-4281-b951-d872f2087c98
* Valgrind suppression for a chromeos domui invalid read.thakis@chromium.org2010-09-171-0/+26
| | | | | | | | BUG=56018 TEST=None TBR=xiyuan git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59793 0039d316-1c4b-4281-b951-d872f2087c98
* Handle return value from HANDLE_EINTR in file_descriptor_set_posix_unittest.cc.hans@chromium.org2010-09-171-2/+2
| | | | | | | | | | | Clang complains about this unused return value. BUG=none TEST=none Review URL: http://codereview.chromium.org/3328017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59791 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 59784 - GpuVideoDecoder to use GpuVideoDevice and IPC messages to ↵mlloyd@chromium.org2010-09-1713-204/+234
| | | | | | | | | | | | | | | | | | complete VideoFrame allocation GpuVideoDecedoer now sends IPC messages to allocation GL textures. It also uses GpuVideoDevice to create VideoFrames from the GL textures. These GL textures are passed into VideoDecodeEngine. BUG=53714 TEST=Tree is green Review URL: http://codereview.chromium.org/3335019 TBR=hclam@chromium.org Review URL: http://codereview.chromium.org/3451007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59790 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 59785 - Implement FakeGlVideoDecodeEngine using FakeGlVideoDecodeContextmlloyd@chromium.org2010-09-1725-286/+64
| | | | | | | | | | | | | | | | | Defines UploadToVideoFrame in VideoDecodeContext. FakeGlVideoDecodeEngine now uses FakeGlVideoDecodeContext to video frame allocation and uploading. BUG=53714 TEST=Tree is green Review URL: http://codereview.chromium.org/3312022 TBR=hclam@chromium.org Review URL: http://codereview.chromium.org/3436014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59789 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 59786 - Fix build.mlloyd@chromium.org2010-09-171-2/+1
| | | | | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/3400013 TBR=hclam@chromium.org Review URL: http://codereview.chromium.org/3415013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59788 0039d316-1c4b-4281-b951-d872f2087c98
* Fix IndexedDB. My last CL had a bug in it.jorlow@chromium.org2010-09-171-2/+2
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/3463001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59787 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build.hclam@chromium.org2010-09-171-1/+2
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/3400013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59786 0039d316-1c4b-4281-b951-d872f2087c98
* Implement FakeGlVideoDecodeEngine using FakeGlVideoDecodeContexthclam@chromium.org2010-09-1725-64/+286
| | | | | | | | | | | | | | Defines UploadToVideoFrame in VideoDecodeContext. FakeGlVideoDecodeEngine now uses FakeGlVideoDecodeContext to video frame allocation and uploading. BUG=53714 TEST=Tree is green Review URL: http://codereview.chromium.org/3312022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59785 0039d316-1c4b-4281-b951-d872f2087c98
* GpuVideoDecoder to use GpuVideoDevice and IPC messages to complete ↵hclam@chromium.org2010-09-1713-234/+204
| | | | | | | | | | | | | | | VideoFrame allocation GpuVideoDecedoer now sends IPC messages to allocation GL textures. It also uses GpuVideoDevice to create VideoFrames from the GL textures. These GL textures are passed into VideoDecodeEngine. BUG=53714 TEST=Tree is green Review URL: http://codereview.chromium.org/3335019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59784 0039d316-1c4b-4281-b951-d872f2087c98
* Added missing headers.dilmah@chromium.org2010-09-171-0/+2
| | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/3413017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59783 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Replace the existing browser-child mach ipc with a long-lived listener ↵rohitrao@chromium.org2010-09-179-168/+296
| | | | | | | | | | | | | | | | | on a well-known port. Before this CL: Before fork()ing a child, the browser process creates a mach receive port with a random name. After the fork() but before exec(), the child uses mach ipc to transmit send rights to its task port. The child has access to the random name because it inherits it from the browser process. Unfortunately, some of the library functions involved in sending a mach message are not safe to call after fork(). After this CL: Before forking the first child, the browser spins off a new thread that listens on a well-known port for mach ipc from any process. This well-known port is "com.google.Chrome.<browserpid>". When a child process starts up, it sends a mach message to its parent browser's well-known port. On the browser side, we listen for said message, extract the pid of the sending process, and ignore any messages from processes we did not personally fork(). This check is necessary because any arbitrary process on the system could send mach ipc to that port. BUG=35374 TEST=Browser should still start up. The task manager should still show correct cpu/memory data. There should be no perf regressions. TEST=Mac ui_tests and browser_tests should be less flaky. Review URL: http://codereview.chromium.org/3443002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59782 0039d316-1c4b-4281-b951-d872f2087c98
* The Chromium side of implementing the IndexedDB base path stuff.jorlow@chromium.org2010-09-173-3/+19
| | | | | | | | | | | This allows Chromium to specify where IndexedDB files are stored. TEST=none BUG=none Review URL: http://codereview.chromium.org/3413010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59781 0039d316-1c4b-4281-b951-d872f2087c98
* Add IDBIndex plumbing (for IndexedDB).jorlow@chromium.org2010-09-1712-28/+330
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3442001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59780 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress a possible data race on provider_map_ in SearchProviderInstallDatatimurrrr@chromium.org2010-09-171-0/+7
| | | | | | | | | BUG=56002 TBR=glider TEST=TSan/unit should go green Review URL: http://codereview.chromium.org/3453009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59779 0039d316-1c4b-4281-b951-d872f2087c98
* Annotate test-only race in DiskCacheBackendTest.NewEvictionTrimInvalidEntrytimurrrr@chromium.org2010-09-173-21/+8
| | | | | | | | | | | also remove the suppressions which won't be needed anymore. Also remove suppression for an old bug 30960 fixed long ago. BUG=55970,30960 TBR=rvargas TEST=trybots, TSan Review URL: http://codereview.chromium.org/3416009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59778 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r59641. Add the onBeforeNavigate and onErrorOccured events to the ↵jochen@chromium.org2010-09-177-99/+339
| | | | | | | | | | | | | webNavigation API. Also, rewrite the onCommitted event such that AUTO_SUBFRAME events are also registered. BUG=50943 TEST=WebNavigationEvents Review URL: http://codereview.chromium.org/3383008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59777 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build break caused by 59775hclam@chromium.org2010-09-171-2/+2
| | | | | | | | | | | TBR=scherkus BUG= TEST= Review URL: http://codereview.chromium.org/3448007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59776 0039d316-1c4b-4281-b951-d872f2087c98
* Add IPC messages for allocation video frames for hardware video decoderhclam@chromium.org2010-09-176-90/+153
| | | | | | | | | | | | | | | Allocation of video frames should be originated from the VideoDecodeEngine in the GPU process. Adding messages that will allow allocation be done during runtime instead of initialization. Also did some cleanup in gpu_video_common.cc. BUG=53714 TEST=Tree is green Review URL: http://codereview.chromium.org/3361017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59775 0039d316-1c4b-4281-b951-d872f2087c98
* Added tests for OOBE network screendpolukhin@chromium.org2010-09-174-400/+154
| | | | | | | | | | | Add new tests instead of tests disabled in http://codereview.chromium.org/3166028 BUG=chromium-os:6672 TEST=browser_tests --gtest_filter=NetworkScreenTest.* Review URL: http://codereview.chromium.org/3441008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59774 0039d316-1c4b-4281-b951-d872f2087c98
* Make pref service more robust against prefs that change their types without ↵pam@chromium.org2010-09-176-62/+172
| | | | | | | | | | | | | | | | | | | | updating user pref values. The outdated value will be ignored, but can be overwritten by a value of the correct type. Developers who change types of prefs should provide migration functionality if needed. Changing the pref's path (i.e., its name) is also advisable, but watch out that you don't leave an orphaned pref value in the user pref file forever. This change also moves tracking of preference types out of PrefService::Preference and into the PrefValueStore, because the latter now needs to know the registered pref types. This is an implementation change, only "externally" visible to unit tests. BUG=55552 TEST=covered by unit tests; also, Chrome launched with a pre-June 2010 profile containing kWebkitInspectorSettings shouldn't crash Review URL: http://codereview.chromium.org/3411011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59773 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: implement persistence of proxy config to device, enhance unittestkuan@chromium.org2010-09-177-191/+598
| | | | | | | | | | | | | | | | | | - during storing, all info in proxy config is serialized into a dictionary and persisted to device via SignedSettings::StoragePropertyOp - during retrieving, value is retrieved from device via SignedSettings::RetrievePropertyOp and deserialized into proxy config - modify API to return bool when setting proxy config from UI - in DOMUI design, every interaction with the page triggers a call to update config in backend - but, sometimes, the info is incomplete, e.g. single-proxy checkbox is checked but proxy server is still empty - for such cases, config service caches the info (so that UI can get this info on the next Get), but doesn't activate or persist it, and returns false to UI - wrote unittests for configuring socks proxy and bypass rules, serialize and deserialize, update unittest for code changes - handle using stub implementation of libcros to make browser tests pass BUG=chromium_os:5127 TEST=as owner, modify proxy config from UI, log out or reboot device, verify that proxy config is updated. Review URL: http://codereview.chromium.org/3366028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59772 0039d316-1c4b-4281-b951-d872f2087c98
* Add suppression for a tsan detected race, take 3rvargas@google.com2010-09-172-2/+4
| | | | | | | | | | BUG=55970 TEST=none TBR=timurrrr Review URL: http://codereview.chromium.org/3454006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59771 0039d316-1c4b-4281-b951-d872f2087c98
* Update omnibox popup when selection changes.isherman@chromium.org2010-09-171-0/+11
| | | | | | | | | | | | | The original motivation for this cl corresponds to bug 47210: If the user changes the selection by arrowing around in the omnibox, we should detect this as accepting the inline autocomplete suggestion. Otherwise, if the user subsequently presses ctrl (e.g. as part of the keystroke ctrl-d to perform a forward delete), the omnibox contents are reverted as if the user had never arrowed around. The other motivation is just to match the behavior on Windows, which detects changes to the selection. BUG=47210 TEST=none Review URL: http://codereview.chromium.org/3126024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59770 0039d316-1c4b-4281-b951-d872f2087c98
* Roll webkit 67622->67655johnnyg@chromium.org2010-09-171-1/+1
| | | | | | | | | | TBR=satish BUG=none TEST=none Review URL: http://codereview.chromium.org/3388011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59769 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring of player[_fullscreen].html by placing the common functions in a ↵imcheng@chromium.org2010-09-174-64/+78
| | | | | | | | | | | | js file. Also, removing media_uitest.cc which is now empty. (it was not removed on last commit due to some svn oddities) BUG=none TEST=MediaBrowserTest.* Review URL: http://codereview.chromium.org/3454005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59768 0039d316-1c4b-4281-b951-d872f2087c98
* Change all callers of WebFileInfo::appendFileRange() to use the newdumi@chromium.org2010-09-173-10/+7
| | | | | | | | | | | method. BUG=none TEST=none Review URL: http://codereview.chromium.org/3405010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59767 0039d316-1c4b-4281-b951-d872f2087c98
* Breakpad DEPS roll 657:692thestig@chromium.org2010-09-172-2/+2
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3460005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59766 0039d316-1c4b-4281-b951-d872f2087c98
* Implement SearchProviderInstallData.levin@chromium.org2010-09-176-13/+458
| | | | | | | | | | | Support for Google base URL will be in another patch. BUG=38475 TEST=unit_tests --gtest_filter=SearchProviderInstallDataTest* Review URL: http://codereview.chromium.org/3403008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59765 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused code.yusukes@chromium.org2010-09-171-3/+0
| | | | | | | | | | | | | | The click event of add-language-overlay-language-list is handled by handleAddLanguageListClick_ in chromeos_language_options.js. So the temporarily commented out code is not needed in the first place. BUG=chromium-os:6713 TEST=manually on the net book Review URL: http://codereview.chromium.org/3452005 Patch from Yasuhiro Matsuda <mazda@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59764 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress a tsan race on the disk cachervargas@google.com2010-09-171-0/+6
| | | | | | | | | | BUG=55970 TEST=none TBR=timurrrr Review URL: http://codereview.chromium.org/3419007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59763 0039d316-1c4b-4281-b951-d872f2087c98
* Supress a tsan race (disk cache GetEntryCount)rvargas@google.com2010-09-171-0/+6
| | | | | | | | | | BUG=55970 TEST=none TBR=timurrrr Review URL: http://codereview.chromium.org/3416008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59762 0039d316-1c4b-4281-b951-d872f2087c98
* FileBrowseBrowserTest.InputFileTriggerFileBrowser fails on linux bots.inferno@chromium.org2010-09-171-1/+1
| | | | | | | BUG=55959 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59761 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 59753 - Linux Breakpad: Update #include in generate-test-dump.cc.inferno@chromium.org2010-09-171-1/+1
| | | | | | | | | | | | BUG=none TEST=none TBR=markus Review URL: http://codereview.chromium.org/3419006 TBR=thestig@chromium.org Review URL: http://codereview.chromium.org/3407006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59754 0039d316-1c4b-4281-b951-d872f2087c98
* Linux Breakpad: Update #include in generate-test-dump.cc.thestig@chromium.org2010-09-161-1/+1
| | | | | | | | | BUG=none TEST=none TBR=markus Review URL: http://codereview.chromium.org/3419006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59753 0039d316-1c4b-4281-b951-d872f2087c98