summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* browser_views.lib is build in browser\views\, not directly in browser\.sgk@google.com2008-08-133-3/+3
| | | | | | TBR: maruel git-svn-id: svn://svn.chromium.org/chrome/trunk/src@821 0039d316-1c4b-4281-b951-d872f2087c98
* Copy contents of FrameView into BrowserView2. Once the old frames retire, we ↵beng@google.com2008-08-132-1/+127
| | | | | | | | won't need this separate class. B=1031852 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@818 0039d316-1c4b-4281-b951-d872f2087c98
* Tests for BookmarkEditorView.sky@google.com2008-08-134-5/+249
| | | | | | | | | BUG=1323423 TEST=this is some tests. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@817 0039d316-1c4b-4281-b951-d872f2087c98
* daily string updatetc@google.com2008-08-133-12/+12
| | | | | | TBR=mal git-svn-id: svn://svn.chromium.org/chrome/trunk/src@815 0039d316-1c4b-4281-b951-d872f2087c98
* Changes printf to fprintf(stderr) in hopes of determining flakiness.sky@google.com2008-08-131-21/+21
| | | | | | | BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@813 0039d316-1c4b-4281-b951-d872f2087c98
* Removing OFFICIAL_BUILD as we do not really need it when we have ↵rahulk@google.com2008-08-131-1/+2
| | | | | | CHROME_BUILD_TYPE=_official. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@810 0039d316-1c4b-4281-b951-d872f2087c98
* First, this removes the dependency of NavigationController on thebrettw@google.com2008-08-1319-346/+360
| | | | | | | | | | | | | | | | | | | | | | SessionService. There were already some notifications that could be used to tell what's going on, and I filled out the rest. I moved some notifications from various places to the NavigationController. In ssl_blocking_page, I removed a notification because it also calls DidNavigateToEntry which does the notification (we got duplicate calls before). In browser.cc I removed the tab parented notification since this is already called by NavigationController::SetWindowID. I removed some obsolete notifications and associated structures, especially in history (like HOST_DELETED that was never issued). I renamed the window_map_ in the MetricsService becuase it was actually a map of controllers and Windows. This also reorders the navigation_types header file to try to bring some order to it. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@807 0039d316-1c4b-4281-b951-d872f2087c98
* Moves bookmark bar context menu controller into its own files alongsky@google.com2008-08-137-391/+694
| | | | | | | | | | | with a test. BUG=none TEST=none; just make sure context menu for bookmark bar still works git-svn-id: svn://svn.chromium.org/chrome/trunk/src@805 0039d316-1c4b-4281-b951-d872f2087c98
* Enable back SavePageTest.SaveHTMLOnly since it was mostly failing on Windows ↵maruel@google.com2008-08-131-2/+6
| | | | | | | | | | 2000 and add debugging information to know how SavePageTest.SaveCompleteHTML is failing. TBR=rocking git-svn-id: svn://svn.chromium.org/chrome/trunk/src@801 0039d316-1c4b-4281-b951-d872f2087c98
* Disable PrintingLayoutTest.Delayed on Windows 2000 (even though it's already ↵maruel@google.com2008-08-131-1/+5
| | | | | | disabled). Also disable PrintingLayoutTest.IFrame, it's still flaky. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@800 0039d316-1c4b-4281-b951-d872f2087c98
* Two changes to help track down why session restore test is failing:sky@google.com2008-08-136-16/+40
| | | | | | | | | | | | | 1. Adds a timeout in waiting for a tab to be restored. 2. Adds a bunch of printfs that will hopefully let me figure out where the test is failing. BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@797 0039d316-1c4b-4281-b951-d872f2087c98
* Split browser.lib (200 megs) into browser.lib(242 source files, 175 megs) ↵maruel@google.com2008-08-1317-597/+903
| | | | | | | | and browser_views.lib(65 source files, 30 megs). This will hopefully improve link time (well, not as much as I'd like) and will definitely help non-IB compilation parallelization. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@796 0039d316-1c4b-4281-b951-d872f2087c98
* Compile a list of the 34 automated UI test commands we want to run on the ↵finnur@google.com2008-08-133-30/+60
| | | | | | | | distributed tests. The goal is to make a test run of all combinations of 4 (as opposed to 5 now) for a total of 34^4 commands (as opposed to 17^5) and see what comes out of it. We won't be running any random keypresses in this run (except in the Dialog fuzzers), only explicit actions. There were also some discrepancies in how we were using the HTML elements, which I have fixed (Import is now ImportSettings, EditKeywords is now EditSearchEngines and ClearBrowserData is now ClearBrowsingData). I also reordered some functions to match .h file (alphabetical order). git-svn-id: svn://svn.chromium.org/chrome/trunk/src@780 0039d316-1c4b-4281-b951-d872f2087c98
* When I added some new tests in automated_ui_tests I flushed out a crash in ↵finnur@google.com2008-08-131-5/+6
| | | | | | the IDC handler for ViewSource. If Navigate is not called before ViewSource we get a crash when trying to use the output from GetLastCommittedEntry(). To facilitate automatic testing We should instead just check it for null and only do something if a URL is available to us. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@779 0039d316-1c4b-4281-b951-d872f2087c98
* Quick fix regression from previous change to toolbar - forgot to take into ↵beng@google.com2008-08-131-0/+1
| | | | | | | | | account the width of the Go button when sizing the location bar so that the last button on the toolbar (the app menu) spilled off the end. TBR=glen git-svn-id: svn://svn.chromium.org/chrome/trunk/src@774 0039d316-1c4b-4281-b951-d872f2087c98
* IPCSyncChannel cleanup:jabdelmalek@google.com2008-08-132-38/+26
| | | | | | | | -remove reply_lock_ since received_replies_ was only being used on the IPC thread -stop using nested locks git-svn-id: svn://svn.chromium.org/chrome/trunk/src@773 0039d316-1c4b-4281-b951-d872f2087c98
* Makes the toolbar/location bar look nice in popup windows.beng@google.com2008-08-137-67/+104
| | | | | | | | Rather than creating a frankenstein separate window type for popups, this just uses BrowserView2, and the regular BrowserToolbarView, but hides all the irrelevant controls. B=1031854 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@770 0039d316-1c4b-4281-b951-d872f2087c98
* Fix race condition in pluginjabdelmalek@google.com2008-08-131-0/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@767 0039d316-1c4b-4281-b951-d872f2087c98
* Add a couple of metrics to help us quantify two cases that can prevent us to ↵cpu@google.com2008-08-1310-57/+131
| | | | | | | | | get crash reports. - Added env_vars to exe project instead of keep duplicating the strings. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@766 0039d316-1c4b-4281-b951-d872f2087c98
* Manually refcount ReceivedSyncMsgQueue so that we force it to be destructed onjabdelmalek@google.com2008-08-123-10/+20
| | | | | | | | the listener thread. I've fixed the renderer crashes which were happening because SyncChannel was going away before the listener thread. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@762 0039d316-1c4b-4281-b951-d872f2087c98
* git-svn-id: svn://svn.chromium.org/chrome/trunk/src@760 ↵darin@google.com2008-08-121-0/+2
| | | | 0039d316-1c4b-4281-b951-d872f2087c98
* Increase the height of the options dialog and first run bubbletc@google.com2008-08-121-2/+2
| | | | | | | | for lang=fil. BUG=1320328,1321164 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@756 0039d316-1c4b-4281-b951-d872f2087c98
* Minor cleanup of RootView. Removes unused double_buffered field fromsky@google.com2008-08-128-31/+22
| | | | | | | | | | | RootView, as well as renaming RootView::ProcessPendingPaint to PaintNow. BUG=1255929 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@750 0039d316-1c4b-4281-b951-d872f2087c98
* Disable the Delayed UI test so the tree will be green.tc@google.com2008-08-121-1/+1
| | | | | | TBR=maruel git-svn-id: svn://svn.chromium.org/chrome/trunk/src@747 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-121-2/+0
| | | | 0039d316-1c4b-4281-b951-d872f2087c98
* Make timer.cc portable by factoring its Windows bits into MessageLoop.darin@google.com2008-08-121-0/+2
| | | | | | 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
* Get rid of separate SConscript.main.linux:sgk@google.com2008-08-121-9/+1
| | | | | | | | | | | * 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
* 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
* 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
* 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
* 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
* Change the ProxyService to work with ASCII strings.darin@google.com2008-08-121-1/+1
| | | | 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
* 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
* 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