summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Make the shared shell dialog not use Windows types, as well as the web contentsbrettw@chromium.org2009-01-298-18/+24
| | | | | | | code that runs it. Review URL: http://codereview.chromium.org/19666 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8895 0039d316-1c4b-4281-b951-d872f2087c98
* Move kClientEdgeThickness from BrowserView to NonClientView (which makes ↵pkasting@chromium.org2009-01-296-27/+19
| | | | | | | | | more sense anyway) so I'll be able to use it in custom_frame_window.cc. Also eliminate an unnecessarily-repeated set of resource IDs from the opaque nonclient view, and move a comment to match what I ended up doing (but haven't yet sent up for review) in other places. Seems I couldn't make up my mind on that one. Review URL: http://codereview.chromium.org/19458 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8891 0039d316-1c4b-4281-b951-d872f2087c98
* Fix issue 7146, sending large messages over IPC on POSIX was broken.jeremy@chromium.org2009-01-292-7/+17
| | | | | | Review URL: http://codereview.chromium.org/19454 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8887 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land revision 8821 with the ui test fixed.maruel@chromium.org2009-01-298-187/+119
| | | | | | | | | | Disconnect the "browser controlled printing" and always delegate the control flow to the renderer. Simplify the tests by not using a message loop anymore. Followup changes will remove more parts that are not needed anymore. Review URL: http://codereview.chromium.org/19460 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8886 0039d316-1c4b-4281-b951-d872f2087c98
* Create and destroy members of the AutomationProxy in the correct order to ↵stoyan@chromium.org2009-01-291-1/+11
| | | | | | | | avoid possible crash. Review URL: http://codereview.chromium.org/19451 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8882 0039d316-1c4b-4281-b951-d872f2087c98
* Disable DownloadTest.UnknownSize because it is flaky.maruel@chromium.org2009-01-291-1/+2
| | | | | | | BUG=7191 Review URL: http://codereview.chromium.org/19665 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8879 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the Windows set focus call and bad-design browser call from the new tabbrettw@chromium.org2009-01-294-27/+29
| | | | | | | | | | UI by plumbing through a delegate notification. This will also fix metrics for the "focus the URL bar" command. This also includes some OCD URL-formatting changes to the DOM UI that I noticed. Review URL: http://codereview.chromium.org/19455 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8878 0039d316-1c4b-4281-b951-d872f2087c98
* Update to latest V8 trunk version to fix dependency problem with our visual ↵ager@google.com2009-01-291-1/+19
| | | | | | | | | studio projects for creating snapshots. Apply change http://codereview.chromium.org/19635 to chrome and webkit solution files. Review URL: http://codereview.chromium.org/19659 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8871 0039d316-1c4b-4281-b951-d872f2087c98
* Wire the stats consent checkbox of the EULAcpu@google.com2009-01-295-24/+42
| | | | | | | | | | | | - Collected in setup.exe passed to chrome via return code - Depends on an updated oem.html and JS code by Glen BUG=1468838 Review URL: http://codereview.chromium.org/19649 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8866 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily disable failing test while I fix it.mpcomplete@chromium.org2009-01-291-1/+1
| | | | | | | | TBR=aa Review URL: http://codereview.chromium.org/19654 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8857 0039d316-1c4b-4281-b951-d872f2087c98
* Make adding internal plugins easier (and allow it to be dynamic). This code ↵jam@chromium.org2009-01-291-2/+2
| | | | | | | | also cleans up the internal plugin handling some more. Review URL: http://codereview.chromium.org/19443 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8855 0039d316-1c4b-4281-b951-d872f2087c98
* Generate a proper file name when dragging an image from apaulg@google.com2009-01-292-2/+14
| | | | | | | | | | | | | | | | | | | | | web page to the desktop. We receive information about the image from WebKit in the render which includes the image URL, MIME type and a guess as to what the file name is. If the filename is empty, we synthesize a file name based on the URL. In all cases, we set the file extension to the MIME type that was detected by WebKit. This change is the Chromium portion of image dragging. The WebKit portion has been committed as: http://trac.webkit.org/changeset/40294 BUG=6481 (http://crbug.com/6481) Review URL: http://codereview.chromium.org/19417 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8854 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling the failing testsnsylvain@chromium.org2009-01-291-3/+3
| | | | | | | tbr Review URL: http://codereview.chromium.org/19652 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8852 0039d316-1c4b-4281-b951-d872f2087c98
* Fix DCHECK when handling NOTIFY_USER_SCRIPTS_LOADED by not broadcasting thempcomplete@chromium.org2009-01-291-0/+2
| | | | | | | | message if we don't have any scripts. Review URL: http://codereview.chromium.org/19441 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8851 0039d316-1c4b-4281-b951-d872f2087c98
* Fix purify failure.jrg@chromium.org2009-01-292-17/+28
| | | | | | | | http://code.google.com/p/chromium/issues/detail?id=7144 Review URL: http://codereview.chromium.org/19642 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8850 0039d316-1c4b-4281-b951-d872f2087c98
* Fix incorrect spacing/width calculation for titlebar text. I used the wrong ↵pkasting@chromium.org2009-01-292-51/+49
| | | | | | | | | constants, oops. Also some tiny reorderings and similar nonfunctional changes in order to make this class closer to its sibling NonClientView subclasses, so I can eventually refactor them all more easily. Review URL: http://codereview.chromium.org/19447 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8849 0039d316-1c4b-4281-b951-d872f2087c98
* Added a test for checking system install.anantha@chromium.org2009-01-295-89/+153
| | | | | | Review URL: http://codereview.chromium.org/18131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8848 0039d316-1c4b-4281-b951-d872f2087c98
* Change URLRequest to use a ref-counted buffer for actual IO.rvargas@google.com2009-01-2933-129/+221
| | | | | | | | | | This will re-land http://codereview.chromium.org/18390 BUG=5325 Review URL: http://codereview.chromium.org/19004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8847 0039d316-1c4b-4281-b951-d872f2087c98
* Rename RenderWidgetHostView::GetPluginHWND to GetPluginNativeViewbrettw@chromium.org2009-01-298-25/+23
| | | | | | Review URL: http://codereview.chromium.org/19438 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8846 0039d316-1c4b-4281-b951-d872f2087c98
* Rename temp_scaffolding_stubs.cpp to temp_scaffolding_stubs.cc.tony@chromium.org2009-01-292-4/+4
| | | | | | | Review URL: http://codereview.chromium.org/19449 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8845 0039d316-1c4b-4281-b951-d872f2087c98
* fix p13n build.tim@chromium.org2009-01-291-0/+3
| | | | | | Review URL: http://codereview.chromium.org/18835 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8841 0039d316-1c4b-4281-b951-d872f2087c98
* Changes the in-application EULA dialog to not require the checkbox be ↵gwilson@google.com2009-01-2944-44/+44
| | | | | | | | checked to accept the EULA. Review URL: http://codereview.chromium.org/19436 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8839 0039d316-1c4b-4281-b951-d872f2087c98
* Add thread checks to the IPC channel.rvargas@google.com2009-01-292-0/+17
| | | | | | | | | | | | | Almost every method of the IPC channel must be invoked from a single thread. This adds the corresponding DCHECKS, and should confirm bug 6489 as a cause of flakiness on the UI tests. BUG: 6489. Review URL: http://codereview.chromium.org/19617 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8837 0039d316-1c4b-4281-b951-d872f2087c98
* Add zlib unzip to mac build and enable unit test.erikkay@google.com2009-01-291-0/+2
| | | | | | | | | | To get it to build, the source files had to have a few minor modifications: - resolved compiler warnings - fixed include path to avoid picking up system version of header Review URL: http://codereview.chromium.org/19645 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8836 0039d316-1c4b-4281-b951-d872f2087c98
* Make ScopedOleInitializer work on windows if you aren't includingsky@google.com2009-01-291-0/+3
| | | | | | | | | | | build_config already. BUG=none TEST=none Review URL: http://codereview.chromium.org/19640 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8835 0039d316-1c4b-4281-b951-d872f2087c98
* Roll back r8821mark@chromium.org2009-01-287-21/+73
| | | | | | Review URL: http://codereview.chromium.org/19453 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8834 0039d316-1c4b-4281-b951-d872f2087c98
* Add browser files to the linux build that mac has alreadytc@google.com2009-01-282-5/+4
| | | | | | | | | | | ported and added to the xcode build. Not much here, seems the earlier porting stuff just works. Review URL: http://codereview.chromium.org/19637 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8832 0039d316-1c4b-4281-b951-d872f2087c98
* Porting profiles to the Mac.avi@chromium.org2009-01-2852-367/+797
| | | | | | Review URL: http://codereview.chromium.org/19623 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8831 0039d316-1c4b-4281-b951-d872f2087c98
* Adds cleanup code to RLZ so that we don't leak an OmniBoxUsageObserversky@google.com2009-01-283-1/+29
| | | | | | | | | | | | on shutdown. This came up in running in process ui tests through purify. BUG=none TEST=none Review URL: http://codereview.chromium.org/19428 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8830 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes crash in adding a menu item. As far as I can tellsky@google.com2009-01-281-0/+9
| | | | | | | | | | | | | | | l10n_util::GetString(IDS_TASK_MANAGER) is returning "". Tony, myself and Rahul don't think this should be possible, yet we have crashes indicating otherwise. If IDS_TASK_MANAGER returns an emtpy string then menu derefs NULL and we crash. BUG=6206 TEST=no way to directly test this, instead just make sure menus still work. Review URL: http://codereview.chromium.org/19434 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8829 0039d316-1c4b-4281-b951-d872f2087c98
* Better control over window creation of external tabsjoshia@google.com2009-01-288-18/+44
| | | | | | | | | | | Improving automation interface to offer better control over window creation of external tabs. The changes allow us to specify a parent window, initial size and window style. Review URL: http://codereview.chromium.org/19048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8828 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 8822.brettw@chromium.org2009-01-285-167/+83
| | | | | | Review URL: http://codereview.chromium.org/19439 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8827 0039d316-1c4b-4281-b951-d872f2087c98
* This prevents an occasional DCHECK seen during the SSL UI test that happenedcreis@google.com2009-01-284-17/+42
| | | | | | | | | | | | | | | | | | | | | | because of the unresponsive tab logic. If we are short-cutting a slow beforeunload handler, we now avoid a redundant call to SetNavigationsSuspended. Also clarified a few comments, removed what appeared to be an unnecessary call to DidNavigateMainFrame, and re-enabled tests that were likely disabled due to this issue. BUG=6950 BUG=6698 TEST=SSLUITest.TestHTTPSExpiredCertAndDontProceed --single-process TEST=SSLUITest.TestHTTPWithBrokenHTTPSResource TEST=SSLUITest.TestOKHTTPS TEST=SSLUITest.TestHTTPSExpiredCertAndProceed Review URL: http://codereview.chromium.org/19006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8826 0039d316-1c4b-4281-b951-d872f2087c98
* Factor out the common parts of the about network dialog. I will be using thisbrettw@chromium.org2009-01-285-83/+167
| | | | | | | for the about IPC dialog next. Review URL: http://codereview.chromium.org/19433 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8822 0039d316-1c4b-4281-b951-d872f2087c98
* Disconnect the "browser controlled printing" and always delegate the control ↵maruel@chromium.org2009-01-287-73/+21
| | | | | | | | | flow to the renderer. Followup changes will remove more parts that are not needed anymore. Review URL: http://codereview.chromium.org/18860 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8821 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure that windowed plugins get keyboard focus in WM_MOUSEACTIVATe. This ↵ananta@chromium.org2009-01-281-0/+3
| | | | | | | | | | | | | | regressed with the introduction of the Plugin wrapper window which parents the actual plugin window in the plugin process. We need to set focus to the actual plugin window when we receive a WM_MOUSEACTIVATE in the browser caused by a click on the plugin window. This fixes http://code.google.com/p/chromium/issues/detail?id=7143 Bug=7143 Review URL: http://codereview.chromium.org/19626 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8820 0039d316-1c4b-4281-b951-d872f2087c98
* Make WebContentsView portable by using the native view types.brettw@chromium.org2009-01-285-31/+32
| | | | | | Review URL: http://codereview.chromium.org/19632 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8819 0039d316-1c4b-4281-b951-d872f2087c98
* Remove extrenuous DLOG from VisitedLinkMaster::InitFromFile()jeremy@chromium.org2009-01-281-3/+1
| | | | | | | | since it prints a confusing message on first run. Review URL: http://codereview.chromium.org/19429 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8817 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of unnecessary region code from spellcheck language/locale codes. ↵sidchat@google.com2009-01-282-42/+69
| | | | | | | | | Fix of Linux by using ARRAYSIZE_UNSAFE instead of arraysize. Issue=Issue=6329 Review URL: http://codereview.chromium.org/18567 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8816 0039d316-1c4b-4281-b951-d872f2087c98
* Context menus for text selections in editable boxes and links should include ↵pkasting@chromium.org2009-01-286-92/+78
| | | | | | | | the Search menu item. Original patch by Brian Duff (see http://codereview.chromium.org/16510 ), r=me. BUG=1925 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8815 0039d316-1c4b-4281-b951-d872f2087c98
* Add RenderProcessHost to the mac build (it's already in Linux).brettw@google.com2009-01-281-15/+29
| | | | | | Review URL: http://codereview.chromium.org/19627 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8813 0039d316-1c4b-4281-b951-d872f2087c98
* Makes unit tests depend upon chrome_exe.sky@google.com2009-01-283-0/+3
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/19432 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8810 0039d316-1c4b-4281-b951-d872f2087c98
* Sorts the sln files. chrome_kjs is already sorted, just not chrome.sky@google.com2009-01-281-1753/+1753
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/19430 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8808 0039d316-1c4b-4281-b951-d872f2087c98
* Write some basic RenderWidgetHost unittests for the more tricky behavior.brettw@chromium.org2009-01-286-1/+318
| | | | | | Review URL: http://codereview.chromium.org/19419 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8806 0039d316-1c4b-4281-b951-d872f2087c98
* Allow undefined as the script name in the debugger test.ager@google.com2009-01-281-1/+3
| | | | | | Review URL: http://codereview.chromium.org/19423 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8802 0039d316-1c4b-4281-b951-d872f2087c98
* Remove extraneous uses of the --enable-user-scriptaa@chromium.org2009-01-284-31/+11
| | | | | | | | | | switch. It's better to check this at one chokepoint (initialization) and let the rest of the code work the same, but end up as no-ops. Review URL: http://codereview.chromium.org/18401 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8800 0039d316-1c4b-4281-b951-d872f2087c98
* Add sqlite to list of things to build.thestig@chromium.org2009-01-281-2/+0
| | | | | | | | Follow up to issue 19041/r8767. Building with SHARED=1 --mode=opt got errors with missing sqlite. Move sqlite append from chrome/SConscript to build/SConscript.main. Review URL: http://codereview.chromium.org/19615 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8798 0039d316-1c4b-4281-b951-d872f2087c98
* Safe browsing cleanup:estade@chromium.org2009-01-2813-46/+72
| | | | | | | | | * wstring -> FilePath * create versions of WriteFile/ReadFile with FilePath signatures Review URL: http://codereview.chromium.org/19610 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8797 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a variable indicating whether resources should be deleted onsky@google.com2009-01-282-1/+8
| | | | | | | | | | | | | shutdown. Normally it's true, but I'm going to set it to false for in process ui tests. I can't delete the ResourceBundle for these tests as many classes cache SkBitmaps from the resource bundle in statics. BUG=none TEST=none Review URL: http://codereview.chromium.org/19609 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8795 0039d316-1c4b-4281-b951-d872f2087c98
* Rolback r8793: Remove extraneous uses of the --enable-user-scriptmal@chromium.org2009-01-283-7/+29
| | | | | | | | | | | | | switch. It's better to check this at one chokepoint (initialization) and let the rest of the code work the same, but end up as no-ops. This seems to break ui_tests. Review URL: http://codereview.chromium.org/19418 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8794 0039d316-1c4b-4281-b951-d872f2087c98