summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Back off the histograms change.rvargas@google.com2008-08-124-40/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@741 0039d316-1c4b-4281-b951-d872f2087c98
* Revert my changejabdelmalek@google.com2008-08-122-16/+10
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@740 0039d316-1c4b-4281-b951-d872f2087c98
* git-svn-id: svn://svn.chromium.org/chrome/trunk/src@739 ↵darin@google.com2008-08-127-160/+197
| | | | 0039d316-1c4b-4281-b951-d872f2087c98
* Back out r736 due to breakagemmentovai@google.com2008-08-127-178/+114
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@738 0039d316-1c4b-4281-b951-d872f2087c98
* Update project file for mac clipboard implavi@google.com2008-08-121-4/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@737 0039d316-1c4b-4281-b951-d872f2087c98
* Fix string_util and its tests for the Mac, GCC, UTF-32 wchar_t platforms, ↵mmentovai@google.com2008-08-127-114/+178
| | | | | | and POSIX systems generally. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@736 0039d316-1c4b-4281-b951-d872f2087c98
* Add a few histograms to the disk cache.rvargas@google.com2008-08-124-0/+40
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@735 0039d316-1c4b-4281-b951-d872f2087c98
* Make timer.cc portable by factoring its Windows bits into MessageLoop.darin@google.com2008-08-127-197/+160
| | | | | | Please note that the goal of this CL is merely to move the Windowisms out of timer.cc and into message_loop.cc. Next up will be to refactor message_loop.cc so that the Windowisms are further isolated. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@734 0039d316-1c4b-4281-b951-d872f2087c98
* Manually refcount ReceivedSyncMsgQueue so that we force it to be destructed ↵jabdelmalek@google.com2008-08-122-10/+16
| | | | | | | | | on the listener thread. BUG=1319842 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@733 0039d316-1c4b-4281-b951-d872f2087c98
* Add a bit of plumbing to make it so Browser doesn't need to know about ↵ojan@google.com2008-08-123-5/+21
| | | | | | | | RenderViewHost. Don't know how what I had before built. Tested more thoroughly this time. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@732 0039d316-1c4b-4281-b951-d872f2087c98
* Add browser\render_view_host_manager.cc to SCons build.sgk@google.com2008-08-121-0/+1
| | | | | | TBR: brettw git-svn-id: svn://svn.chromium.org/chrome/trunk/src@731 0039d316-1c4b-4281-b951-d872f2087c98
* Added .dic, .aff and .bdic filessidchat@google.com2008-08-1288-0/+4379930
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@730 0039d316-1c4b-4281-b951-d872f2087c98
* Use the new Thread::StopSoon() facility. Add a new tight loop to control the ↵maruel@google.com2008-08-124-32/+66
| | | | | | | | worker thread shutdown in a way that is safe even for printer driver that displays a dialog box and attaches to the browser window. BUG=1274015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@729 0039d316-1c4b-4281-b951-d872f2087c98
* - Add Thread::StopSoon() and remove Thread::NonBlockingStop(). StopSoon() ↵maruel@google.com2008-08-123-138/+113
| | | | | | | | | | | | can't be implemented externally of the Thread class where NonBlockingStop() was really just an helper function solely used in printing. - Move two member functions access from public to protected. - Add documentation about which thread modifies which member variable. - Simplify ThreadStartInfo. This removes one heap allocation. - Improve unit test coverage. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@728 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of separate SConscript.main.linux:sgk@google.com2008-08-124-66/+94
| | | | | | | | | | | * Set -j default to %NUMBER_OF_PROCESSORS% + 1 only on Windows. * Initialize LOAD= modules up front, and let Linux override to the subset that are currently building. * Initialize Linux CCFLAGS, LINKFLAGS and LIBS in a separate if-clause (like we do for Windows). * Remove SCONSCRIPT_MAIN code in {base,chrome}/SConstruct in favor of just call ../build/SConscript.main. * Merge in evanm's changes to base/SConscript for separate lists of platform-neutral and platform-specific source files and test files. R=evanm,deanm git-svn-id: svn://svn.chromium.org/chrome/trunk/src@727 0039d316-1c4b-4281-b951-d872f2087c98
* Basic string conversions for Linux -- enough to get unit tests going.evanm@google.com2008-08-121-0/+57
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@726 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a few places that wind up using Lock recursively.erikkay@google.com2008-08-124-82/+94
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@725 0039d316-1c4b-4281-b951-d872f2087c98
* Revert this CL. Breaks compile.ojan@google.com2008-08-123-21/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@724 0039d316-1c4b-4281-b951-d872f2087c98
* Update strings. No webkit string changes.tc@google.com2008-08-124-20/+20
| | | | | | TBR=mal git-svn-id: svn://svn.chromium.org/chrome/trunk/src@723 0039d316-1c4b-4281-b951-d872f2087c98
* I accidentally committed file_version_info. Since comments were relatively ↵erikkay@google.com2008-08-127-39/+51
| | | | | | minor, I created a new CL rather than reverting the old one. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@722 0039d316-1c4b-4281-b951-d872f2087c98
* Add some printing related unit tests.maruel@google.com2008-08-126-0/+313
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@721 0039d316-1c4b-4281-b951-d872f2087c98
* Add a bit of plumbing just so Browser doesn't need to know about RenderViewHost.ojan@google.com2008-08-123-5/+21
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@720 0039d316-1c4b-4281-b951-d872f2087c98
* Remove an invalid DCHECK. If we are closing the browser andojan@google.com2008-08-121-1/+0
| | | | | | | the beforeunload handler hangs, then is_waiting_for_unload_ack will be true here. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@719 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the build; make the function here non-const too.avi@google.com2008-08-122-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@718 0039d316-1c4b-4281-b951-d872f2087c98
* Basic implementation of the clipboard on the Mac.avi@google.com2008-08-124-27/+243
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@717 0039d316-1c4b-4281-b951-d872f2087c98
* Move RenderViewHost management out of WebContents into a newbrettw@google.com2008-08-1216-1226/+1645
| | | | | | | | | | | | | | RenderViewHostManager object. The goal for this patch is to change no logic or APIs, just move the code. So there are some not very clean callback functions and no new unit tests for this file (although is is still covered by the same WebContents unit tests). This should make the actual cleanup in a later pass much easier to follow. I changed the ordering of only a few operations (like WebContents shutdown), and checked that this shouldn't matter. I had to change the "source" for several notifications since they are no longer sent from the WebContents. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@716 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate symbol visibility warnings produced when linking a unit test ↵mmentovai@google.com2008-08-121-18/+12
| | | | | | target against libgtest. Make a few other changes to gtest.xcodeproj to bring it in line with the rest of our project files. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@715 0039d316-1c4b-4281-b951-d872f2087c98
* Additional cleanups for PRTimeTest. We already have a ↵mmentovai@google.com2008-08-121-18/+11
| | | | | | microseconds-per-milliseconds constant, use it. Do less per-OS #ifdeffing. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@714 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup a few files, reduce the number of includes.maruel@google.com2008-08-1216-485/+591
| | | | | | | | Applied glint. No code change, just moving around. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@713 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ToUnsigned for 4-byte wchar_t platforms.mmentovai@google.com2008-08-121-0/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@712 0039d316-1c4b-4281-b951-d872f2087c98
* Change the ProxyService to work with ASCII strings.darin@google.com2008-08-1212-121/+121
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@711 0039d316-1c4b-4281-b951-d872f2087c98
* Fiddle with destruction order of the dragged tab controller to ensure that ↵beng@google.com2008-08-122-3/+3
| | | | | | | | | there's still a TabStrip available for it. B=1145714 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@708 0039d316-1c4b-4281-b951-d872f2087c98
* The tab dragging test ended up on interactive_ui, not ui_tests.sgk@google.com2008-08-122-1/+1
| | | | | | TBR: bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@706 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce timeout to 500ms.beng@google.com2008-08-121-3/+3
| | | | | | | TBR=mal git-svn-id: svn://svn.chromium.org/chrome/trunk/src@704 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash due to race condition in ImportingProgressView.finnur@google.com2008-08-121-1/+1
| | | | | | | | | | | | What is happening is that the ImporterView creates an ImportingProgressView to show the progress of the import but the ImportingProgressView receives the Cancel event before ImportStarted, so importing_ is not set to true. Cancel will think import is done and returns true (allowing the view to be destroyed) and then the ImporterView will try to communicate with a dead observer. By initializing importing_ to true this crash is avoided (we wouldn't be creating the view unless we were about to import, right?). BUG=1320194 TEST=Open Import dialog, press Enter and then Esc really quickly and Chrome should not crash (try it 10 times to be sure). git-svn-id: svn://svn.chromium.org/chrome/trunk/src@702 0039d316-1c4b-4281-b951-d872f2087c98
* Fix command_line unit test now that argv is no longer const. (Doh!) Remove ↵mmentovai@google.com2008-08-122-12/+11
| | | | | | a technically illegal zero-length array. Fix a couple of warnings for good measure as long as I'm in here. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@701 0039d316-1c4b-4281-b951-d872f2087c98
* Link tab_dragging_test.cc with the proper test executable.sgk@google.com2008-08-122-1/+1
| | | | | | TBR: bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@696 0039d316-1c4b-4281-b951-d872f2087c98
* Updating the SafeBrowsing database version to 3, to reset everyone's databaseifette@google.com2008-08-121-1/+1
| | | | | | after we had database corruption last week from bad data being served git-svn-id: svn://svn.chromium.org/chrome/trunk/src@695 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build breakage on Windows.evanm@google.com2008-08-121-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@692 0039d316-1c4b-4281-b951-d872f2087c98
* Enabling sync_channel in the browser to allow accessibility code making ↵jcampan@google.com2008-08-1217-42/+254
| | | | | | | | | blocking calls. This replaces my previous CL that was somehow duplicating some of these functionalities. BUG=None TEST=Run the unit tests. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@691 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of the command-line hacks for posix platforms.evanm@google.com2008-08-123-22/+26
| | | | | | | (They didn't work at all on Linux anyway.) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@690 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily add 1s sleep to see if waiting before quitting the browser helps ↵beng@google.com2008-08-121-0/+3
| | | | | | | | | reduce TabSelectedAt crashes. B=1145714 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@689 0039d316-1c4b-4281-b951-d872f2087c98
* SCons build updates:sgk@google.com2008-08-124-8/+21
| | | | | | | | | | | | | * Add base\file_util_linux.cc. * Add unit tests base\{idletimer,string_escape}_unittest.cc. * Add chrome\browser\views\hwnd_html_view.cc. * Add chrome\browser\tabs\tab_dragging_test.cc. * Add chrome\browser\views\bookmark_bar_view_test.cc * Add chrome\test\ui\view_event_test_base.cc. * Only define on Windows build of base: _Win32_WINNT=0x0600, WINVER=0x0600, _HAS_EXCEPTIONS=0. TBR: bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@688 0039d316-1c4b-4281-b951-d872f2087c98
* Instead of returning false we should default to en-us when we fail to get ↵rahulk@google.com2008-08-121-2/+4
| | | | | | locale. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@687 0039d316-1c4b-4281-b951-d872f2087c98
* include and turn on more base unit tests.pinkerton@google.com2008-08-121-0/+32
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@686 0039d316-1c4b-4281-b951-d872f2087c98
* Don't terminate the process when a tab becomes unresponsive during ojan@google.com2008-08-114-24/+14
| | | | | | | | | | | | | unload/beforeunload. Instead, just call close on it. If two tabs are in the same process, then terminating the process is totally wrong. This also avoids the bugs where we show sad tab, or don't remove the tab from the tabstrip. Also, remove a couple of bogus DCHECKS. BUG=1314995,1301757 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@685 0039d316-1c4b-4281-b951-d872f2087c98
* bustage fix, include build_config for platform defines.pinkerton@google.com2008-08-111-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@684 0039d316-1c4b-4281-b951-d872f2087c98
* Set the svn:eol-style to LF.tc@google.com2008-08-111-76/+76
| | | | | | TBR=evanm git-svn-id: svn://svn.chromium.org/chrome/trunk/src@683 0039d316-1c4b-4281-b951-d872f2087c98
* Expand an internal-only URL to its destination.evanm@google.com2008-08-111-4/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@682 0039d316-1c4b-4281-b951-d872f2087c98
* Stub out defines on non-windows platforms.pinkerton@google.com2008-08-111-0/+14
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@681 0039d316-1c4b-4281-b951-d872f2087c98