summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Move MFT H264 video decoder implementation and connect it to ↵hclam@chromium.org2010-10-089-135/+10
| | | | | | | | | | | | | | | | | | | GpuVideoDecoder" This reverts commit 8462483619e253dca3717d51e340ed839a6cab1d. Revert "Fix build failure." This reverts commit 8dcd363637ac2e59f9472c0793a0b1fd3c2ad4c7. TBR=scherkus BUG=None TEST=None Review URL: http://codereview.chromium.org/3601019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61922 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build failure.hclam@chromium.org2010-10-081-2/+7
| | | | | | | | | | | TBR=scherkus BUG=None TEST=None Review URL: http://codereview.chromium.org/3516024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61921 0039d316-1c4b-4281-b951-d872f2087c98
* Move MFT H264 video decoder implementation and connect it to GpuVideoDecoderhclam@chromium.org2010-10-089-10/+130
| | | | | | | | | | | | | | | | | | | | Remove media/mf folder and move the video decode engine to media/video. There are some temporary changes in MftH264DecodeEngine to work with GpuVideoDecoder correctly. Removed tests will be added later. Example program will likely be removed permanently due to maintence problem. This patch depends WebKit and ANGLE changes to be able to present video frames onto screen and still have lot of bugs, those problems will be address later. BUG=53714 TEST=Tree is green. This patch doesn't work yet. Review URL: http://codereview.chromium.org/3432030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61918 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Fix some undefined-outlet warnings in PreviewableContents.xib.rohitrao@chromium.org2010-10-081-3/+73
| | | | | | | | | TBR=thomasvl BUG=56385 TEST=No more warnings when building. Review URL: http://codereview.chromium.org/3626007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61916 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Adds PreviewableContentsController, a container that manages "active" ↵rohitrao@chromium.org2010-10-087-0/+1112
| | | | | | | | | | and "preview" tab contents. BUG=56385 TEST=No visible changes. Review URL: http://codereview.chromium.org/3620012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61915 0039d316-1c4b-4281-b951-d872f2087c98
* Tweak Adobe Flash Player strings on Clear Browsing Data dialog.tim@chromium.org2010-10-081-2/+2
| | | | | | | | | BUG=58249 TEST=Open Clear Browsing Data, observe correct string (see bug). Review URL: http://codereview.chromium.org/3618012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61914 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ChromeThread to BrowserThread Part6:tfarina@chromium.org2010-10-0827-291/+291
| | | | | | | | | | | - Rename entries under renderer_host and ssl. BUG=56926 TEST=trybots Review URL: http://codereview.chromium.org/3595017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61913 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes uneeded delete in InstantLoader. This is no longer needed assky@chromium.org2010-10-081-6/+0
| | | | | | | | | | | | FrameLoaderObserver's lifetime is tied to that of InstantLoader. BUG=58411 TEST=none TBR=jcivelli@chromium.org Review URL: http://codereview.chromium.org/3536017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61912 0039d316-1c4b-4281-b951-d872f2087c98
* Adds throttling of instant results for sites that don't supportsky@chromium.org2010-10-088-43/+158
| | | | | | | | | | | instant. BUG=55342 TEST=none Review URL: http://codereview.chromium.org/3613014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61908 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ChromeThread to BrowserThread Part5:tfarina@chromium.org2010-10-0854-246/+246
| | | | | | | | | | | - Rename entries under sync. BUG=56926 TEST=trybots Review URL: http://codereview.chromium.org/3538015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61907 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a crash bug in the login manager.satorux@chromium.org2010-10-081-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | This is essentially a "use after free" bug combined with a race condition: 1. UserController creates windows, and own these windows. 2. UserController is registered as "widget delegate" by these windows. This means that these windows get notified when the active window is changed, and delegate it to UserController. 3. UserController is deleted 4. The windows owned by UserController are closed in the dtor of UserController 5. However, these windows are not deleted immediately 6. Instead, these windows are deleted after some delay 7. Hence, windows live longer than the owner (UserController) 8. If you are unlucky, the active window is changed before these windows are deleted 9. One of the windows get notified and delegate it to UserController 10. However, UserController has already been deleted. 11. Hence the pointer to the delegate is already invalid. 12. Bad things happen. TEST=tested that the login manager works as before BUG=chromium-os:7400 Review URL: http://codereview.chromium.org/3547018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61906 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Added DirectX Diagnostics information to about:gpu on Windows."ajwong@chromium.org2010-10-0810-271/+0
| | | | | | | | This reverts r61904. TBR=apatrick git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61905 0039d316-1c4b-4281-b951-d872f2087c98
* Added DirectX Diagnostics information to about:gpu on Windows.apatrick@chromium.org2010-10-0810-0/+271
| | | | | | | | | | | This includes the name of the GPU hardware and the driver version and release date and some other information that might potentially also be valuable in the GPU stats. TEST=try BUG=none Review URL: http://codereview.chromium.org/3547020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61904 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Make Enter key works on the Captcha dialog.tfarina@chromium.org2010-10-081-0/+4
| | | | | | | | | BUG=chromium-os:6928 TEST=see bug Review URL: http://codereview.chromium.org/3525020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61901 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new method, Scorer::CreateFromFile, that asynchronously reads a modelbryner@chromium.org2010-10-083-0/+195
| | | | | | | | | | | | from a file and creates a new Scorer when finished. The Scorer is returned to the caller via a callback. BUG=none TEST=PhishingScorerTest.CreateFromFile Review URL: http://codereview.chromium.org/3560014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61900 0039d316-1c4b-4281-b951-d872f2087c98
* Fix instances of passing raw pointers to RefCounted objects in tasks.willchan@chromium.org2010-10-0815-75/+142
| | | | | | | | | | | Some of these manually handled it correctly by using AddRef()/Release() pairs. I switched them to make_scoped_refptr() to be more consistent. This also makes them cleanup properly on MessageLoop shutdown if we start deleting tasks. BUG=28083 TEST=builds Review URL: http://codereview.chromium.org/3581008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61899 0039d316-1c4b-4281-b951-d872f2087c98
* Automation support for Find on a given page and return the search countnirnimesh@chromium.org2010-10-088-50/+170
| | | | | | | | | | | | (Committing on behalf of amolk. Originally reviewed and LGTM-ed at http://codereview.chromium.org/3402021/show) BUG=36177 TEST=find_in_page.py Review URL: http://codereview.chromium.org/3590026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61898 0039d316-1c4b-4281-b951-d872f2087c98
* * Made Menu/MenuItem subclass of HTMLDivElementoshima@chromium.org2010-10-087-127/+230
| | | | | | | | | | | | | | | I looked at shared/css/menu.css, but it uses menu class and will take a bit more time to consolidate. I'll revisit again after finishign wrench menu. * Don't adjust size when window is not yet shown, which was causing flashing. * Support command activation w/o closing menu. This is necessary to support wrench menu. class BUG=none TEST=none Review URL: http://codereview.chromium.org/3579016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61896 0039d316-1c4b-4281-b951-d872f2087c98
* DOMUI Cert Manager: Edit CA cert trust.mattm@chromium.org2010-10-0810-9/+284
| | | | | | | | | BUG=19991 TEST=manual Review URL: http://codereview.chromium.org/3549020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61895 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 61881 (broke sync_unit_tests) - [Sync] Fixed flipped return value ↵willchan@chromium.org2010-10-081-5/+3
| | | | | | | | | | | | | | | from 61851. BUG=None TEST=None TBR=johnnyg Review URL: http://codereview.chromium.org/3579018 TBR=akalin@chromium.org Review URL: http://codereview.chromium.org/3599023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61891 0039d316-1c4b-4281-b951-d872f2087c98
* Remove dead code - PrintViewManager::PrintNowInternal.thestig@chromium.org2010-10-082-17/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3588014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61890 0039d316-1c4b-4281-b951-d872f2087c98
* Remove PrintWebViewHelper::PrintPageAsJPEG. It's dead code.thestig@chromium.org2010-10-083-83/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3588011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61888 0039d316-1c4b-4281-b951-d872f2087c98
* Use BubbleWindow for ChromeOS windows/dialogs.xiyuan@chromium.org2010-10-0719-40/+106
| | | | | | | | | BUG=chromium-os:7216 TEST=Verify all windows/dialogs use new bubble design, e.g. JS dialog, page info window, certificate view, extension install confirmation, save as dialog etc. Review URL: http://codereview.chromium.org/3538012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61885 0039d316-1c4b-4281-b951-d872f2087c98
* chromium-os:7127, part 2: Add new cellular network data to network_library.stevenjb@chromium.org2010-10-073-28/+167
| | | | | | | | | BUG=http://code.google.com/p/chromium-os/issues/detail?id=7127 TEST=Ensure network menu and network settings are unbroken. Actual testing will occur when new data is consumed, pending completion of http://codereview.chromium.org/3387025/show. Review URL: http://codereview.chromium.org/3564015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61884 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Fixed flipped return value from 61851.akalin@chromium.org2010-10-071-3/+5
| | | | | | | | | | BUG=None TEST=None TBR=johnnyg Review URL: http://codereview.chromium.org/3579018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61881 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmit of http://codereview.chromium.org/3476002/show but without the ↵ericu@google.com2010-10-076-39/+86
| | | | | | | | | | crashing bug. BUG=none TEST=none Review URL: http://codereview.chromium.org/3618016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61879 0039d316-1c4b-4281-b951-d872f2087c98
* Change the way we wait for print jobs at shutdown on the Macstuartmorgan@chromium.org2010-10-073-6/+26
| | | | | | | | | | | Don't try to run a message loop to wait for print jobs after the event loop has already been torn down, or bad things happen. BUG=28714 TEST=Start a large print job job, then immediately quit. The browser should not crash. Review URL: http://codereview.chromium.org/3565010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61878 0039d316-1c4b-4281-b951-d872f2087c98
* Added switch to disable GPU vsync.apatrick@chromium.org2010-10-072-1/+7
| | | | | | | | | | | This is useful for GPU performance testing because the vsync caps the frame rate. TEST=try BUG=none Review URL: http://codereview.chromium.org/3380011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61877 0039d316-1c4b-4281-b951-d872f2087c98
* Fill the "Description" field for SPDY_SESSION events with the hostname:port ↵eroman@chromium.org2010-10-071-0/+2
| | | | | | | | | and proxy information of the connection. BUG=58367 Review URL: http://codereview.chromium.org/3609015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61875 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 61826 - Revert "Make sure TopSites is only created if enabled. ↵sky@chromium.org2010-10-072-5/+11
| | | | | | | | | | | TopSites was getting" This reverts commit r61790. It may have broken Vista Tests (dbg)(1) TBR=agl@chromium.org Review URL: http://codereview.chromium.org/3549027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61874 0039d316-1c4b-4281-b951-d872f2087c98
* Ping Google whenever a SafeBrowsing interstitial is shown to UMA users.noelutz@google.com2010-10-075-83/+91
| | | | | | | | | | | | | | | | | Whenever we show an interstitial to a UMA user we are sending a report request to SafeBrowsing servers so that we can count how many users saw a particular malicious URL. This change does not require any modification to the current privacy policy for UMA users since this is already covered by the current privacy policy. BUG=None TEST=SafeBrowsingProtocolManagerTest Review URL: http://codereview.chromium.org/3353011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61873 0039d316-1c4b-4281-b951-d872f2087c98
* All communication with the cloud print proxy service from the browser now ↵sanjeevr@chromium.org2010-10-0716-243/+220
| | | | | | | | | | | happens in the CloudPrintProxyService class. Added code to start the service process if the cloud print proxy was enabled. Also, when detect an auto-update, we send an IPC to the service process. The service process then shuts down when the browser disconnects. BUG=None TEST=Unit-tests, test Cloud Print proxy UI, test that when an update is available, the service process shuts down when the browser does. TBR=phajdan.jr Review URL: http://codereview.chromium.org/3617008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61871 0039d316-1c4b-4281-b951-d872f2087c98
* A new page about permission warnings.kathyw@chromium.org2010-10-075-0/+1120
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3622001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61866 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug with enabling/disabling the pdf plugin, related to plugin grouping work.jam@chromium.org2010-10-073-6/+19
| | | | | | | BUG=58329 Review URL: http://codereview.chromium.org/3618015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61864 0039d316-1c4b-4281-b951-d872f2087c98
* [GTK] make passwords label selectable.estade@chromium.org2010-10-071-0/+1
| | | | | | | | | BUG=58341 TEST=manual Review URL: http://codereview.chromium.org/3588013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61863 0039d316-1c4b-4281-b951-d872f2087c98
* Removed unneeded header from utility_messages_internal.h,sanjeevr@chromium.org2010-10-071-1/+0
| | | | | | | | | BUG=None TEST=Build. Review URL: http://codereview.chromium.org/3596011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61862 0039d316-1c4b-4281-b951-d872f2087c98
* Remove all FIXMEs in browser/estade@chromium.org2010-10-079-14/+15
| | | | | | | | | | | Changed them to TODO or NOTE or other as the situation called for it. BUG=NONE TEST=NONE (no code change) Review URL: http://codereview.chromium.org/3599021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61861 0039d316-1c4b-4281-b951-d872f2087c98
* Add placeholder text to DOM UI content settings exceptions <input>.estade@chromium.org2010-10-073-42/+35
| | | | | | | | | | | The actual placeholder attribute doesn't work because it disappears when the <input> is focused, and the <input> is focused as soon as it appears, so the text is placed as the contents of the <input>. Adding a new row should show [*.]example.com, and it should start as selected. Pressing enter in this one case should delete the row rather than inserting a [*.]example.com exception. Pressing escape in all cases should revert the row (delete it for Add'd rows). BUG=35087, 57458 TEST=manual Review URL: http://codereview.chromium.org/3573009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61860 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 61793 - [Mac] Set the TabContentsViewCocoa's resizing mask at ↵avi@chromium.org2010-10-072-1/+2
| | | | | | | | | | | | | | | | | creation time. Caused http://crbug.com/58360 It is better to set this mask once, at creation, rather than scattered about the code at insertion time. BUG=None TEST=Browser window should still resize properly. Review URL: http://codereview.chromium.org/3564019 TBR=rohitrao@chromium.org Review URL: http://codereview.chromium.org/3533019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61859 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up LiveSyncTest to start up its own real sync test server instance.rsimha@chromium.org2010-10-072-81/+202
| | | | | | | | | | | | | | | | | | As of today, the sync integration tests can be run in 2 ways: - By using a real sync server that is already running (via the --sync-url switch). - By starting up a mock sync server implemented in python. This patch adds a third way of running the tests (using a switch called "--sync-server-command-line"). With this, each integration test can automatically start up and shut down its own real sync server instance using the command line provided. This patch also contains a minor refactor of LiveSyncTest. (some failure conditions were allowing the tests to continue when they shouldn't have; fixed in this patch) BUG=57626 TEST=run integration tests on linux using a real test server; tests should pass. Review URL: http://codereview.chromium.org/3555018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61858 0039d316-1c4b-4281-b951-d872f2087c98
* Add geolocation and desktop notifications NotificationTypes.estade@chromium.org2010-10-074-16/+56
| | | | | | | | | | | Now geolocation should update live (i.e. if an exception is added or removed, the table will update without you needing to reload the page). BUG=57457 TEST=manual Review URL: http://codereview.chromium.org/3607005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61857 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash caused by missing user white list cache.xiyuan@chromium.org2010-10-073-50/+60
| | | | | | | | | | | | | - Handle the user white list missing case; - Change in user settings provider to populate white list cache if it is missing; BUG=chromium-os:7442 TEST=Verify crash in chromium-os:7442 no longer happens. Review URL: http://codereview.chromium.org/3532017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61856 0039d316-1c4b-4281-b951-d872f2087c98
* Submmiting for achuith, plus some additional changes to the filebrowser for ↵dhg@chromium.org2010-10-071-20/+52
| | | | | | | | | | | download cases review cl: http://codereview.chromium.org/3575016/show Review URL: http://codereview.chromium.org/3530013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61855 0039d316-1c4b-4281-b951-d872f2087c98
* GpuVideoDecoderHost runs on IO thread instead of Render threadhclam@chromium.org2010-10-0715-140/+68
| | | | | | | | | | | | Move GpuVideoDecoderHost to IO thread and change GpuVideoServiceHost to be a MessageFilter. BUG=53714 TEST=Tree is green. Will pending on WebKit changes to make this work. Review URL: http://codereview.chromium.org/3462015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61854 0039d316-1c4b-4281-b951-d872f2087c98
* Make FakeGlVideoDecodeEngine works in the hardware video decoding architecturehclam@chromium.org2010-10-0714-33/+126
| | | | | | | | | | | | | | Add Preroll IPC message for finishing the initialiation of FakeGlVideoDecodeEngine. Also defined methods in WebVideoFrameImpl to access video frame textures. This change depend on a WebKit change to succesfully display the textures. BUG=53714 TEST=Tree is green. This still needs WebKit changes to work. Review URL: http://codereview.chromium.org/3472016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61853 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup in VideoFramehclam@chromium.org2010-10-074-8/+0
| | | | | | | | | | | | | Remove D3D textures from VideoFrame because it is not used anymore. Remove duration and timestamp when creating a video frame from textures. BUG=53714 TEST=Tree is green. Review URL: http://codereview.chromium.org/3501005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61852 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Rolled cache-invalidation-api to @39.akalin@chromium.org2010-10-075-9/+68
| | | | | | | | | | | | | | | | | Updated sync notifier code to work with new cache-invalidation APIs. Added TODOs to support persistence for sync notifications. Use a chrome test runner for cacheinvalidation_unittests to get it to work again. fixed cache invalidation unit tests BUG=None TEST=cacheinvalidation_unittests Review URL: http://codereview.chromium.org/3532018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61851 0039d316-1c4b-4281-b951-d872f2087c98
* Marked another ChromeOS test as flaky since it was breaking autotest suite.zelidrag@chromium.org2010-10-071-1/+3
| | | | | | | | | | BUG=chromium-os:7306 TEST=none TBR=oshima Review URL: http://codereview.chromium.org/3595010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61850 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] UI for clearing sync data on the server.avi@chromium.org2010-10-075-610/+2520
| | | | | | | | | | | xib change: Nest current checkboxes inside tab, add needed elements to other tab. BUG=57876 TEST=as in bug 54349; functionality currently hidden behind flag Review URL: http://codereview.chromium.org/3590020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61848 0039d316-1c4b-4281-b951-d872f2087c98
* Make JavaScript alert and confirm dialog boxes driveable by keyboard.mark@chromium.org2010-10-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | This regressed in r60785. An error during refactoring used -[JavaScriptAppModalDialogHelper textField] to determine whether an accessory view was added to a JavaScript dialog box, but this isn't a simple getter, and was allays returning true. BUG=58299 TEST=- javascript:alert("x") allows return keypress to dismiss dialog (OK); if FKA is on, allows space bar operation - javascript:confirm("x") allows return keypress to dismiss dialog (OK); if FKA is on, has focus on Cancel, is tabbable between Cancel and OK, and allows space bar operation; - javascript:prompt("x") focuses text field and allows return keypress to dismiss dialog (OK); if FKA is on, is tabbable between text field and buttons, and allows space bar operation on buttons - Note: FKA is Full Keyboard Access, from System Preferences:Keyboard Review URL: http://codereview.chromium.org/3555021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61847 0039d316-1c4b-4281-b951-d872f2087c98