summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Replace "Hammer" references with "Debug" as appropriate.sgk@google.com2009-03-311-2/+1
| | | | | | Review URL: http://codereview.chromium.org/53118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12849 0039d316-1c4b-4281-b951-d872f2087c98
* Make the "id" key for extension manifests optional inaa@chromium.org2009-03-3110-60/+88
| | | | | | | | | | | | | | --load-extension mode. This makes this mode more convenient, and should lead to less copy-and-paste of extension IDs. Also, remove the "format_version" key. This is basically duplicated in the code that checks the version number of the crx file format. And if we ever really need a format version for the manifest, we can always add it later. Review URL: http://codereview.chromium.org/56044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12837 0039d316-1c4b-4281-b951-d872f2087c98
* Mechanic change based on comment from previous code review.huanr@chromium.org2009-03-318-57/+56
| | | | | | | | | Rename RunCommand to RunCommandAsync and RunCommandSync to RunCommand. Review URL: http://codereview.chromium.org/57039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12836 0039d316-1c4b-4281-b951-d872f2087c98
* Make app installation work when --user-data-dir is specified.brettw@chromium.org2009-03-311-1/+1
| | | | | | | BUG=9546 Review URL: http://codereview.chromium.org/58004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12835 0039d316-1c4b-4281-b951-d872f2087c98
* - Add UI test for the V8 Benchmark Suite.patrick@chromium.org2009-03-3015-41/+799
| | | | | | | | | | | | | - Modify the V8 Benchmark Suite to work with the UI test framework. - Add utils for JavaScript UI tests. - Move automation.js files for SunSpider and V8 Benchmark to the src/chrome/test/ui directory. - Overload UITest::PrintResult for convenience. BUG=9255 Review URL: http://codereview.chromium.org/42628 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12823 0039d316-1c4b-4281-b951-d872f2087c98
* Reland changes to enable worker layout tests. Compared to last review ↵jianli@chromium.org2009-03-308-0/+604
| | | | | | | | | | | (http://codereview.chromium.org/50045), the following changes are made: 1) Add chrome/test/worker/DEPS to address checkdeps error. 2) Change test_expectations.txt to skip some worker layout tests. 3) Add test_worker.vcproj to webkit.sln so that test_worker.dll can be built for WebKit build. Review URL: http://codereview.chromium.org/56074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12822 0039d316-1c4b-4281-b951-d872f2087c98
* Enable running webkit tests in parallel and make it useojan@google.com2009-03-304-0/+23
| | | | | | | | | | | | | | | | | | | | the number of cpus as the default number of test_shells to spawn. This involved ignoring focus/blur messages and mocking out the clipboard. The test_shell window still sometimes seems to get focus, so there's still a bit more work to do, but the tests seem to all pass. We still default to 1 test_shell at a time. Once I get this committed, I'll try multiple. I just don't want to have to rollback this whole thing. Review URL: http://codereview.chromium.org/56040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12821 0039d316-1c4b-4281-b951-d872f2087c98
* Display a title for files in the back/forward menu.estade@chromium.org2009-03-301-1/+2
| | | | | | | | | | Patch by Paul Robinson <http://codereview.chromium.org/56045> BUG=7871 Review URL: http://codereview.chromium.org/57013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12819 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some line endings in browser/dom_ui.brettw@chromium.org2009-03-302-115/+115
| | | | | | Review URL: http://codereview.chromium.org/57028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12818 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting, as this changelist broke unittests on Windows.markus@chromium.org2009-03-301-10/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12816 0039d316-1c4b-4281-b951-d872f2087c98
* * Breakpad on OSX now works with stock Breakpad framwork.jeremy@chromium.org2009-03-3011-45/+354
| | | | | | | | | | * We now add all the same Metadata on OS X as we do on Windows. * Made the code for logging URLs in crash dumps a little more x-platform. Remove custom Breakpad hacks so we can use an unmodified version of the Framework. Review URL: http://codereview.chromium.org/55028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12811 0039d316-1c4b-4281-b951-d872f2087c98
* Make NTP work by correctly marking the kind of urls we type in. Patch from ↵pinkerton@chromium.org2009-03-301-1/+5
| | | | | | rohitrao@google.com. http://codereview.chromium.org/55058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12810 0039d316-1c4b-4281-b951-d872f2087c98
* Change the bad-certificate handler for SSL (using NSS) to return anmarkus@chromium.org2009-03-301-2/+10
| | | | | | | | | | | | | | | | | | | | | | | error. This requires a few additional changes in the rest of the code. In particular, we now have to teach HttpNetworkTransaction about how to restart connections with bad certificates. This was originally intended to be done by ReconnectIgnoringLastError(), but that API turns out be very difficult to implement in the SSLClientSocket. So, instead, we just create a completely new SSLClientSocket. We also have to be careful to store a copy of the certificate from within the bad-certificate handler, as it won't be available by the time GetSSLInfo() is called. And we fix a bug that would cause us to erroneously talk SSL on reconnected TCP sockets, even though we were still supposed to negotiate a proxy tunnel first. Review URL: http://codereview.chromium.org/43115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12809 0039d316-1c4b-4281-b951-d872f2087c98
* Update chrome.gyp for new browser/gtk/tabs/*.{cc,h} breakout.sgk@google.com2009-03-301-2/+6
| | | | | | Review URL: http://codereview.chromium.org/57022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12806 0039d316-1c4b-4281-b951-d872f2087c98
* Retry of r12793: Rename some .cpp files to .cc.evan@chromium.org2009-03-305-11/+11
| | | | | | Review URL: http://codereview.chromium.org/57017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12805 0039d316-1c4b-4281-b951-d872f2087c98
* Enable streaming in ffmpeg based on data sourcemedia::DataSource interface ↵hclam@chromium.org2009-03-302-2/+11
| | | | | | | | has IsSeekable() method to decideon runtime whether the data source is seekable or not. Thisinformation is provided to FFmpeg to decide whether to dostreaming or not. In the case of streaming, FFmpeg does notsupport seeking. Review URL: http://codereview.chromium.org/57015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12802 0039d316-1c4b-4281-b951-d872f2087c98
* FFmpeg Audio decoder glue codehclam@chromium.org2009-03-301-0/+2
| | | | | | | | | | Implementation of FFmpegAudioDecoder which is the glue code providing access to ffmpeg decoder functions for the media pipeline. Review URL: http://codereview.chromium.org/56035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12800 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Windows "Save As" dialogs from Save Page code.In this change:- ↵paulg@google.com2009-03-3018-186/+247
| | | | | | | | convert SavePackage to use async SelectFileDialog- return the chosen filter index in the FileSelected callback- some clean up of save_package.ccBUG=8691 (http://crbug.com/8691) Review URL: http://codereview.chromium.org/45048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12799 0039d316-1c4b-4281-b951-d872f2087c98
* Decoders now use standard callback mechanism for Reads. Removed ↵ralphl@chromium.org2009-03-302-6/+6
| | | | | | | | | Assignable<> template. Also includes an update that should provide more accurate timing from the audio renderer. Review URL: http://codereview.chromium.org/55031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12796 0039d316-1c4b-4281-b951-d872f2087c98
* Break out the tab rendering logic into TabGtk and TabRendererGtk.jhawkins@chromium.org2009-03-3010-646/+1324
| | | | | | Review URL: http://codereview.chromium.org/56030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12795 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Rename some .cpp files to .cc."evan@chromium.org2009-03-305-6/+6
| | | | | | This reverts commit r12793. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12794 0039d316-1c4b-4281-b951-d872f2087c98
* Rename some .cpp files to .cc.evan@chromium.org2009-03-305-6/+6
| | | | | | Review URL: http://codereview.chromium.org/57017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12793 0039d316-1c4b-4281-b951-d872f2087c98
* The NativeButton HWND would not be created yet when we were setting the ↵jcampan@chromium.org2009-03-301-5/+5
| | | | | | | | | | | | initial focus in the first run bubble view. This CL makes sure to set the focus when everything is set-up. BUG=9387 TEST=Run chrome to show the first run bubble (you can use the --first-run parameter). When Chrome comes-up, it shows the "Search from here" info bubble. The focus should be on the "Keep Google..." button. Review URL: http://codereview.chromium.org/55019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12790 0039d316-1c4b-4281-b951-d872f2087c98
* Use HTTP status return code to make SDCH handling more robust.jar@chromium.org2009-03-302-2/+2
| | | | | | | | | | | | | | | | | | | | | At least one proxy replaces the SDCH content with an error page (of HTML, without SDCH compression). We can identify that scenario by spotting the 40x HTTP return code (and the fact that the content is not SDCH encoded, even though we advertised SDCH and a dictionary to the server). This change list adds the ability to access the return code via the FilterContext. The bulk of the change is centered on getting that access method to be const in all derived classes. bug=8916 r=wtc,huanr,openvcdiff Review URL: http://codereview.chromium.org/56043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12784 0039d316-1c4b-4281-b951-d872f2087c98
* Based on empirical data, push chrome.dll's base address forward.deanm@chromium.org2009-03-301-1/+1
| | | | | | | | | | | | | Since the meat of our code is in a DLL, which is loaded dynamically, parts of the address space are already occupied. Having our DLL rebased from its preferred address means processing relocations, slower startup time, and less effective memory sharing. We don't have enough information to decide on the best address, but hopefully this will be better than what we currently use. Review URL: http://codereview.chromium.org/49051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12782 0039d316-1c4b-4281-b951-d872f2087c98
* Platform cleanup in chrome UI tests.phajdan.jr@chromium.org2009-03-302-5/+9
| | | | | | | | | Can't include them in the Linux build yet because they wouldn't pass. Review URL: http://codereview.chromium.org/57010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12780 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup in automation. Remove WaitForTabCountToChange.phajdan.jr@chromium.org2009-03-3010-224/+109
| | | | | | | | | | WaitForTabCountToBecome is easier to use and more reliable. Also removed Windows2000-specific code from accessibility unit tests. Review URL: http://codereview.chromium.org/45070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12774 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the DOMUIToStandard unit test and uncomment it. The NavigationControllerbrettw@chromium.org2009-03-301-8/+20
| | | | | | | | wasn't getting hooked up properly to the WebContents, and we were getting the wrong RenderViewHost out of it later on in the test. Review URL: http://codereview.chromium.org/55045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12773 0039d316-1c4b-4281-b951-d872f2087c98
* Make version rule's path assumptions less specific.robertshield@google.com2009-03-301-1/+1
| | | | | | Review URL: http://codereview.chromium.org/56054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12770 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 12763.jianli@chromium.org2009-03-307-601/+0
| | | | | | Review URL: http://codereview.chromium.org/56055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12764 0039d316-1c4b-4281-b951-d872f2087c98
* Enable worker layout tests. In order for test_shell to run worker, we link ↵jianli@chromium.org2009-03-307-0/+601
| | | | | | | | all of the code required to run the worker into a DLL and then load that DLL in test_shell. This allows us to host a separate V8 instance. Review URL: http://codereview.chromium.org/50045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12763 0039d316-1c4b-4281-b951-d872f2087c98
* Switching media to gyp under windows.bradnelson@google.com2009-03-301-2/+2
| | | | | | Review URL: http://codereview.chromium.org/57002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12761 0039d316-1c4b-4281-b951-d872f2087c98
* A workaround fix for Issue 3693.hbono@chromium.org2009-03-301-0/+6
| | | | | | | | | To investigate the behavior of Safari, it seems to finish an ongoing composition when we click a left mouse button. So, this change just emulates the behavior. BUG=3693 Review URL: http://codereview.chromium.org/42691 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12759 0039d316-1c4b-4281-b951-d872f2087c98
* Remove NOTIMPLEMENTED bits for fast shutdown code on non-Windows.evan@chromium.org2009-03-291-8/+0
| | | | | | | | This was just temporary code anyway. Review URL: http://codereview.chromium.org/49048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12756 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash that occurs when the about:network window is closed while stilldarin@chromium.org2009-03-281-0/+1
| | | | | | | | | | | tracking network jobs. BUG=9446 R=brettw Review URL: http://codereview.chromium.org/45072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12752 0039d316-1c4b-4281-b951-d872f2087c98
* Fix linux build.aa@chromium.org2009-03-281-1/+0
| | | | | | Review URL: http://codereview.chromium.org/55055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12746 0039d316-1c4b-4281-b951-d872f2087c98
* Add more of the server-side plumbing for extension APIs. Alsoaa@chromium.org2009-03-2821-94/+437
| | | | | | | | added getTabsForWindow() to drive it. Review URL: http://codereview.chromium.org/42680 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12744 0039d316-1c4b-4281-b951-d872f2087c98
* Build fix.abarth@chromium.org2009-03-281-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12741 0039d316-1c4b-4281-b951-d872f2087c98
* Add the ability to specify a default MIME type when loading a resource. ↵abarth@chromium.org2009-03-289-2/+37
| | | | | | | | | | | | | We'll need this to correctly load stylesheets that lack a Content-Type header in standards mode. We're waiting on https://bugs.webkit.org/show_bug.cgi?id=24904 upstream before this works fully. This change, as it stands, is a no-op. R=wtc BUG=7448 Review URL: http://codereview.chromium.org/55049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12739 0039d316-1c4b-4281-b951-d872f2087c98
* It looks like the Chrome NPAPI plugin installer has been broken since we ↵ananta@chromium.org2009-03-282-1/+411
| | | | | | | | | | | | | | | | | | | | | | | first updated chrome webkit after 1.0 shipped. Basically in the 1.0 branch when the plugin was instantiated in its instantiation it would get the mime type along with the list of other arguments. If an object tag was specified with the classid, it would get mapped to the mime type. With the webkit merge the classs id is passed in along with the mime type. The plugin installer thinks that this is an activex installation on receiving a valid class id and and ends up checking if it is a white listed classid, etc. All this code will be taken out along with the activex shim in the near future. For now we take this code path only if we don't have a valid mime type. This fixes http://code.google.com/p/chromium/issues/detail?id=8584 Added a plugin test for the argument parsing functionality in the default plugin. I changed the ParseInstantiationArguments function in the plugin installer to a static function to be able to unit test this. Bug=8584 Review URL: http://codereview.chromium.org/42684 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12733 0039d316-1c4b-4281-b951-d872f2087c98
* A crash report from the field reports that we are removing a ↵jcampan@chromium.org2009-03-281-2/+5
| | | | | | | | | | | | | SafeBrowsingBlockingPage from a global map that is not to be found causing a stl exception to be thrown. I am not sure what the cause is yet, my investigations results are in the bug comment. This is a work-around the crasher while I keep investigating. BUG=9442 TEST=Access a page which contains sub-resource malware. Review URL: http://codereview.chromium.org/49049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12732 0039d316-1c4b-4281-b951-d872f2087c98
* This CL fixes a lint issue -- line exceeding 80 characters.xji@chromium.org2009-03-281-1/+2
| | | | | | Review URL: http://codereview.chromium.org/56039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12730 0039d316-1c4b-4281-b951-d872f2087c98
* Use Webkit::WebInputEvent and remove webkit/glue/webinputevent.darin@chromium.org2009-03-2719-91/+130
| | | | | | | | | | This change adds a temporary dependency on src/KeyIdentifier.{h,cpp} which I am going to remove after this CL. I didn't want to grow this CL any larger. R=dglazkov Review URL: http://codereview.chromium.org/53099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12728 0039d316-1c4b-4281-b951-d872f2087c98
* The URL in the bug triggers an SSL interstitial for a redirect that ↵jcampan@chromium.org2009-03-273-2/+64
| | | | | | | | | | | | | | | | | | | redirects to a bad SSL page. This happens because: - when proceeding on an interstitial, we wait for the navigation to commit before hiding the current interstitial - when showing an interstitial, if an interstitial is already showing we call DontProceed on it In the case of this bug, the interstitial has already been approved when the showing of the 2nd interstitial calls DontProceed on it, causing bad things to happen. The fix is easy: we shouldn't call DontProceed on an interstitial already "Proceeded". BUG=9286 TEST=See bug. Review URL: http://codereview.chromium.org/56019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12727 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build in release mode.tc@google.com2009-03-271-1/+2
| | | | | | | | TBR=evanm Review URL: http://codereview.chromium.org/56036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12724 0039d316-1c4b-4281-b951-d872f2087c98
* Move message flags into a separate header that can be usedtc@google.com2009-03-2715-75/+84
| | | | | | | | | outside the views system. Mac will need this as well when implementing message boxes. Review URL: http://codereview.chromium.org/56026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12722 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed a lot threading issues during tear down of <video>hclam@chromium.org2009-03-276-84/+94
| | | | | | | | | | | | | | | | | Fixed a lot of dead locks during tead down of <video> due to DataSourceImpl. Most of the issues come from that during a tab close RenderThread is destroyed and new tasks posted on it will not executed, but DataSourceImpl is waiting for those tasks to finish to complete stopping. Another dead lock comes from that when RenderThread is destroyed the owner loop of it (a IO Message Loop) is being destroyed too and DataSourceImpl shouldn't post tasks to that message loop when stopping. Review URL: http://codereview.chromium.org/42675 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12720 0039d316-1c4b-4281-b951-d872f2087c98
* Properly fix menu display when using dark system themes.evan@chromium.org2009-03-273-14/+4
| | | | | | | | | The drawing code in the tab strip was modifying the GC, which affected the GC used for drawing menus. Review URL: http://codereview.chromium.org/55022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12713 0039d316-1c4b-4281-b951-d872f2087c98
* Fix assertion that was firing in unit tests.jam@chromium.org2009-03-271-3/+6
| | | | | | Review URL: http://codereview.chromium.org/56027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12710 0039d316-1c4b-4281-b951-d872f2087c98
* Add another ifdef for other platformsjam@chromium.org2009-03-271-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12708 0039d316-1c4b-4281-b951-d872f2087c98