summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Remove extraneous uses of the --enable-user-scriptaa@chromium.org2009-01-283-29/+7
| | | | | | | | | | 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@8793 0039d316-1c4b-4281-b951-d872f2087c98
* Move Windows specific backing-store functions into backing_store_win.ccagl@chromium.org2009-01-283-258/+7
| | | | | | | | | | | A previous change forked backing_store.cc into backing_store_win.cc. This patch trims both to leave the platform-independent functions in backing_store.cc and the Windows specific functions in backing_store_win.cc. Review URL: http://codereview.chromium.org/19605 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8792 0039d316-1c4b-4281-b951-d872f2087c98
* Adds the localized oem html resources to setupcpu@google.com2009-01-282-12/+15
| | | | | | | | | | | - Only the ones required at this point - Requires official build BUG=1468838 Review URL: http://codereview.chromium.org/19416 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8791 0039d316-1c4b-4281-b951-d872f2087c98
* Process the EULA distro param, to direct chrome to show the EULA dialogcpu@google.com2009-01-281-0/+29
| | | | | | | | | | | | | - This is the EULA post installation case. Other cases possible. - Chrome waits forever until user dismises the dialog - Chrome will exit ipso-facto if user declines. BUG=1468838 Review URL: http://codereview.chromium.org/19601 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8790 0039d316-1c4b-4281-b951-d872f2087c98
* More break fixesjrg@chromium.org2009-01-281-1/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8787 0039d316-1c4b-4281-b951-d872f2087c98
* Another merge conflictjrg@chromium.org2009-01-281-1/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8786 0039d316-1c4b-4281-b951-d872f2087c98
* Merge conflict (crossed wires; this file was added somewhere else)jrg@chromium.org2009-01-281-1/+0
| | | | | | Review URL: http://codereview.chromium.org/19415 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8785 0039d316-1c4b-4281-b951-d872f2087c98
* Unit test addition, cleanup for render_process/thread.jrg@chromium.org2009-01-287-24/+66
| | | | | | Review URL: http://codereview.chromium.org/19606 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8782 0039d316-1c4b-4281-b951-d872f2087c98
* Make purify happy by fixing memory leak that shows up during shutdown.kuchhal@chromium.org2009-01-281-0/+8
| | | | | | | | | BUG=6528 Review URL: http://codereview.chromium.org/19407 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8780 0039d316-1c4b-4281-b951-d872f2087c98
* Adds the ability to have browser windows shown with a specificsky@google.com2009-01-282-0/+16
| | | | | | | | | | | | state. I need this for in process ui tests. I can move this to be private and make the test a friend if you prefer. BUG=none TEST=none Review URL: http://codereview.chromium.org/19404 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8773 0039d316-1c4b-4281-b951-d872f2087c98
* Fork backing_store.cc into backing_store_win.cc in preparation for aagl@chromium.org2009-01-271-0/+243
| | | | | | | | | | | future CL which will delete the Windows specific code from backing_store.cc and the platform-independent code from backing_store_win.cc. By forking in this manner, history is correctly preserved. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8771 0039d316-1c4b-4281-b951-d872f2087c98
* Adding new EULA dialog translations.gwilson@google.com2009-01-2741-0/+1927
| | | | | | Review URL: http://codereview.chromium.org/19043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8769 0039d316-1c4b-4281-b951-d872f2087c98
* Modifies shutdown/startup in the following manner:sky@google.com2009-01-273-2/+19
| | | | | | | | | | | | | | | | | . Before registering the scheme 'chrome' with GURL we make sure it isn't already registered. I need this as I'm going to invoke BrowserMain multiple times and didn't want the list of schemes to have n-chromes. . Removes ResourceBundle::CleanupSharedInstance from browser_shutdown. We do this from BrowserMain already, so there is no need in doing it here. BUG=none TEST=none Review URL: http://codereview.chromium.org/18861 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8768 0039d316-1c4b-4281-b951-d872f2087c98
* A little porting in chrome/renderer.estade@chromium.org2009-01-272-5/+1
| | | | | | Review URL: http://codereview.chromium.org/19045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8766 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for UA spoofing, and spoof Safari's UA string when loading URLsdarin@chromium.org2009-01-273-5/+12
| | | | | | | | | | | from *.mail.live.com (to fix hotmail). BUG=4111 R=wtc Review URL: http://codereview.chromium.org/19025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8764 0039d316-1c4b-4281-b951-d872f2087c98
* Extend the popup-mode location bar out into the nonclient view. This makes ↵pkasting@chromium.org2009-01-274-52/+34
| | | | | | | | | popup mode pixel perfect except for the off-by-one sizing regression caught by the interactive UI test, which I haven't figured out yet. BUG=5054 Review URL: http://codereview.chromium.org/18862 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8763 0039d316-1c4b-4281-b951-d872f2087c98
* Move MessageWindow out into its own file. BrowserInit is now ↵ben@chromium.org2009-01-277-363/+395
| | | | | | | | | | cross-platform-capable. Fix up the header includes in browser_init.cc/h removing a bunch of windows stuff. Review URL: http://codereview.chromium.org/19034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8762 0039d316-1c4b-4281-b951-d872f2087c98
* MAC: build fixagl@chromium.org2009-01-271-0/+4
| | | | | | | Review URL: http://codereview.chromium.org/19040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8759 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a small, subtle problem that caused an interactive_ui_test failure.pkasting@chromium.org2009-01-271-2/+8
| | | | | | | BUG=5054 Review URL: http://codereview.chromium.org/18865 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8758 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: gfx::NativeViewId and CrossProcessEventagl@chromium.org2009-01-2720-138/+164
| | | | | | | | | | | | | | | | | | | Create a couple new typedefs for porting work. Firstly, gfx::NativeViewId is a handle to a platform specific widget in the renderer process. For Windows, this is just a HWND as before. However, in other platforms the ids used in the renderer process will be something else. CrossProcessEvent is the type of a HANDLE to a Windows event object which is used across processes. Since we aren't going to support these sorts of events on non-Windows platforms, this will have to go away at some point. For now, however, this lets us build code without too many ifdefs all over the place. Review URL: http://codereview.chromium.org/18768 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8756 0039d316-1c4b-4281-b951-d872f2087c98
* Give the container a chance to handle function keys.tommi@chromium.org2009-01-271-0/+1
| | | | | | Review URL: http://codereview.chromium.org/19036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8755 0039d316-1c4b-4281-b951-d872f2087c98