summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* POSIX: Don't spawn zombies.agl@chromium.org2009-04-246-10/+95
| | | | | | | | TEST=Navigate to several different sites and check that no Chrome zombies are roaming around. BUG=9401 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14488 0039d316-1c4b-4281-b951-d872f2087c98
* No code change, just converting CRLF to LF to prevent changesfinnur@chromium.org2009-04-241-156/+156
| | | | | | | | | | to this file from messing up the try server. TBR=aa Review URL: http://codereview.chromium.org/93156 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14486 0039d316-1c4b-4281-b951-d872f2087c98
* Fix word wrapping on the license label.erg@google.com2009-04-241-0/+11
| | | | | | | | | This uses the trick described here: http://blog.16software.com/dynamic-label-wrapping-in-gtk Review URL: http://codereview.chromium.org/93153 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14485 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for minimum size checkevan@chromium.org2009-04-241-2/+5
| | | | | | | | cds->cbData is data length in bytes, and min_message_size is in characters. So it needs to be multiplied by sizeof(wchar_t) Review URL: http://codereview.chromium.org/93078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14482 0039d316-1c4b-4281-b951-d872f2087c98
* Pass the ExtensionID to the ExtensionFunctionDispatcher.finnur@chromium.org2009-04-246-8/+30
| | | | | | | | | | | | | | | | This is needed for PageActions that deal with IDs, so that we can check if one PageAction is trying to change another PageAction. This converts the object ExtensionFunctionDispatcher in RenderViewHost from a member to a scoped ptr so we can reset it on navigate. BUG=None TEST=Extensions should work as before (no visible change). Review URL: http://codereview.chromium.org/93125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14481 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Do not send stats from Chromium builds."kuchhal@chromium.org2009-04-248-63/+28
| | | | | | | | | | | | This reverts commit 4a0189db765fe94f5df360c0907a585e26c9f681. Revert "Fix build break." This reverts commit eada493cf28975e56395aa3e2d3a0dc267a7f2c7. Review URL: http://codereview.chromium.org/92162 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14479 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build break.kuchhal@chromium.org2009-04-241-1/+1
| | | | | | | | | BUG=1435533 Review URL: http://codereview.chromium.org/93154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14478 0039d316-1c4b-4281-b951-d872f2087c98
* Add a gcc warning if we don't check the results of ReadParam. Sometc@google.com2009-04-242-7/+8
| | | | | | | | | | | | of the buildbots noticed that we weren't checking the results when generating log output. AGL gets the credit for tracking this down. Review URL: http://codereview.chromium.org/93126 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14475 0039d316-1c4b-4281-b951-d872f2087c98
* Do not send stats from Chromium builds.kuchhal@chromium.org2009-04-248-28/+63
| | | | | | | | | BUG=1435533 Review URL: http://codereview.chromium.org/93109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14474 0039d316-1c4b-4281-b951-d872f2087c98
* Make uninstall dialog handle keyboard events (TAB).kuchhal@chromium.org2009-04-241-1/+1
| | | | | | | | | BUG=10950 Review URL: http://codereview.chromium.org/93140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14473 0039d316-1c4b-4281-b951-d872f2087c98
* Implement HTML selects as native Cocoa controls for Chrome.paul@chromium.org2009-04-2410-6/+205
| | | | | | | | BUG=8389 (http://crbug.com/8389) Review URL: http://codereview.chromium.org/57032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14471 0039d316-1c4b-4281-b951-d872f2087c98
* Fix DCHECK when typing certain kinds of input on certain profiles.pkasting@chromium.org2009-04-241-1/+3
| | | | | | | | | This is actually a very old bug that some of my recent changes exposed more widely. In PromoteOrCreateShorterSuggestion(), we could create a totally bogus search base, which, if added to the history matches, would then break. In the old code, we'd create this match, but usually not add it to the history match set because we'd already have a What You Typed match; in my new code that's frequently no longer the case. BUG=10926 Review URL: http://codereview.chromium.org/92154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14470 0039d316-1c4b-4281-b951-d872f2087c98
* Checkbox/RadioButton labels have to reserve space for the focus rects, even ↵ben@chromium.org2009-04-243-1/+10
| | | | | | | | | if they're not actively being painted as focused, otherwise layout breaks badly. http://crbug.com/10958 Review URL: http://codereview.chromium.org/93142 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14464 0039d316-1c4b-4281-b951-d872f2087c98
* The accidental search infobar was almost never appearing. Fix that ↵pkasting@chromium.org2009-04-246-103/+87
| | | | | | | | | | | regression. Now we don't rely on the presence of a "what you typed" match in the result set; instead the AutocompleteResult determines the alternate nav URL directly. To do this I refactored some of the code from the history URL provider over to AutocompleteInput. BUG=10808 Review URL: http://codereview.chromium.org/92140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14463 0039d316-1c4b-4281-b951-d872f2087c98
* Create an about dialog for GTK Chromium.erg@google.com2009-04-246-4/+178
| | | | | | Review URL: http://codereview.chromium.org/93128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14462 0039d316-1c4b-4281-b951-d872f2087c98
* Use WebWorker and WebWorkerClient from the WebKit API.darin@chromium.org2009-04-246-59/+72
| | | | | | | | | BUG=10995 R=jam Review URL: http://codereview.chromium.org/92144 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14461 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate a dependency on _com_issue_error() (via the use of _bstr_t)sgk@google.com2009-04-241-10/+0
| | | | | | | by removing a no-longer-necessary std::ostream operator<< overload. Review URL: http://codereview.chromium.org/92134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14453 0039d316-1c4b-4281-b951-d872f2087c98
* Override GtkTextView's size request width in the Linux Omnibox.deanm@chromium.org2009-04-242-0/+21
| | | | | | | | | | | GtkTextView requests enough space to fit all of the text. It turns out if you weren't doing something to restrict the window size (like using a tiling manager) long text in the edit would push the window to fit the text. Review URL: http://codereview.chromium.org/93127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14449 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bug where radio buttons would become unselected when clicked (more ↵jcampan@chromium.org2009-04-242-1/+6
| | | | | | | | | | specifically, when clicked on the button, not the label). BUG=10834 TEST=Open the option dialog, click on the button (not the label) of a selected radio-button. The button should stay selected. Make sure checkboxes and radio buttons still behave as expected. Review URL: http://codereview.chromium.org/97012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14447 0039d316-1c4b-4281-b951-d872f2087c98
* First cut at adding a map between strings names and resource ids.tc@google.com2009-04-248-0/+129
| | | | | | | | | | | | | This creates a mapping for all the entries in the theme_resources.grd file and adds a static method for querying the mapping. BUG=10639 Review URL: http://codereview.chromium.org/92085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14443 0039d316-1c4b-4281-b951-d872f2087c98
* Removes FindBar cruft from TabContentsViewMac.rohitrao@chromium.org2009-04-243-89/+2
| | | | | | | | | TEST=Ran Chromium, clicked around, found something in page. Nothing seems to have broken. Review URL: http://codereview.chromium.org/93124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14442 0039d316-1c4b-4281-b951-d872f2087c98
* Make messages in javascript's alert copyable.tc@google.com2009-04-243-1/+22
| | | | | | | | | | | | | | Now, we can copy the message by Ctrl-C. BUG=5879 Patch by hamaji@google.com via http://codereview.chromium.org/93112 Review URL: http://codereview.chromium.org/92133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14441 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: fix root window co-ordinates.agl@chromium.org2009-04-241-2/+2
| | | | | | | | | | | (I screwed up. Thanks to Dean for noticing.) TBR=tony http://codereview.chromium.org/92132 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14439 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome side of using WebPluginListBuilder.darin@chromium.org2009-04-245-4/+6
| | | | | | | | | | | | | | I also broke glue/webplugininfo.h out of glue/webplugin.h as part of this change. Eventually, glue/webplugin.h will go away and be moved into the WebKit API, but the structures left in glue/webplugininfo.h need to remain since they are used extensively throughout Chrome. BUG=10922 R=dglazkov Review URL: http://codereview.chromium.org/93116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14438 0039d316-1c4b-4281-b951-d872f2087c98
* Adding missing null check in case of missing file version info.robertshield@google.com2009-04-241-1/+4
| | | | | | Review URL: http://codereview.chromium.org/88041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14436 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes issue where the placeholder text was not shown because there is no DOMarv@chromium.org2009-04-241-2/+3
| | | | | | | | | | | | | property for the placeholder attribute. BUG=10940 TEST=Make sure that the search boxes (not Search your history) on the new tab page has place holder text. Review URL: http://codereview.chromium.org/92107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14435 0039d316-1c4b-4281-b951-d872f2087c98
* Use the NotificationRegistrar for the remaining TAB_CONTENTS_DESTROYEDbrettw@chromium.org2009-04-244-38/+29
| | | | | | | notifications to see if it can fix a crash. Review URL: http://codereview.chromium.org/92129 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14433 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Stop hitting a DCHECK in GoButtonGtk on shutdown.willchan@chromium.org2009-04-241-1/+8
| | | | | | | | | Turns out we can get 2 gtk leave events in a row on shutdown, if the cursor is already hovering over the go button. BUG=10851 Review URL: http://codereview.chromium.org/93055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14432 0039d316-1c4b-4281-b951-d872f2087c98
* Add CSS to make toolstrip buttons look closer to native ones.aa@chromium.org2009-04-242-1/+46
| | | | | | | | | Please refer to this URL to have your mind blown: http://aaronboodman.com/z_dropbox/whoa/ Review URL: http://codereview.chromium.org/92119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14428 0039d316-1c4b-4281-b951-d872f2087c98
* Disable TabDraggingTest.Tab1Tab3 due to flakiness.dglazkov@chromium.org2009-04-241-1/+2
| | | | | | | | | | TBR=ben BUG=10941 TEST=0 Review URL: http://codereview.chromium.org/93098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14425 0039d316-1c4b-4281-b951-d872f2087c98
* Unittest for FindBarCocoaController.rohitrao@chromium.org2009-04-247-11/+115
| | | | | | | TEST=The new unittest passes. BUG=10802 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14424 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting r14328 for the linux file; I shouldn't be fixing things that ↵avi@google.com2009-04-241-4/+1
| | | | | | | | aren't broken. Review URL: http://codereview.chromium.org/92084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14423 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable memory tests and remove the fixed crash from the known crashes.levin@chromium.org2009-04-242-6/+3
| | | | | | | | | | BUG=10895 TEST=Just re-enabling some tests that I had to disable earlier today. Review URL: http://codereview.chromium.org/93115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14419 0039d316-1c4b-4281-b951-d872f2087c98
* The previous behavior of not focusing the HWND when focusing a ↵jcampan@chromium.org2009-04-242-6/+0
| | | | | | | | | | checkbox/radio-button was preventing focus to work as expected on these controls. It would leave the previous HWND focused, causing problems. BUG=10856 TEST=Open the Option dialog. Click the "Show home button..." checkbox. The close button should lose focus, the checkbox should get focus. Press space, the checkbox state should change. Click on a radio-button, it should become selected and get focused. Press the up/down arrow. The next/previous radio-button should get selected and focused. Review URL: http://codereview.chromium.org/93114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14417 0039d316-1c4b-4281-b951-d872f2087c98
* Kill WebContents by moving the remaining methods to TabContents. WebContentsbrettw@chromium.org2009-04-245-1879/+1884
| | | | | | | remains as a shell so I don't have to change all the callers in this CL. Review URL: http://codereview.chromium.org/92115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14414 0039d316-1c4b-4281-b951-d872f2087c98
* Linux valgrind: fix new[] / delete mismatchagl@chromium.org2009-04-241-1/+1
| | | | | | | | | TBR=abarth http://codereview.chromium.org/93113 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14413 0039d316-1c4b-4281-b951-d872f2087c98
* Move another batch of functions for WebContents to TabContents. This alsobrettw@chromium.org2009-04-246-478/+447
| | | | | | | | updates the Dev tools manager to take a TabContents (a pointer was being passed from the TabContents which made it break). Review URL: http://codereview.chromium.org/92101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14412 0039d316-1c4b-4281-b951-d872f2087c98
* Crude text style rendering in the omnibox 2 popup. I copied most of the ↵ben@chromium.org2009-04-241-4/+192
| | | | | | | | | | DrawString/DrawStringFragment stuff from the old code. I am pretty sure the RTL stuff doesn't actually work, I just copied enough in to get things to compile/work. Will sort out RTL later once LTR works. Review URL: http://codereview.chromium.org/93092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14411 0039d316-1c4b-4281-b951-d872f2087c98
* Minor string changes:mal@chromium.org2009-04-241-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | 1. Change Clear All to Clear all (Sentence case for all labels) 2. Remove 'uncompleted' from the downloads in progress confirm, and change 'remove' to just 'cancel' in all cases. R= glen BUG= 10954 TEST= Ctrl+J and check that the label in the upper right is 'Clear all' with a lower-case a. TEST= Close the browser with a download in progress and verify that the prompt is "You have 1 download(s) in progress. If you close Google Chrome now, these downloads will be canceled." and the cancel button is "Close and cancel downloads" Review URL: http://codereview.chromium.org/92114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14410 0039d316-1c4b-4281-b951-d872f2087c98
* Remove deprecated file_util::GetFilenameWithoutExtensionFromPath(), also ↵thestig@chromium.org2009-04-245-53/+64
| | | | | | | | convert ElideFilename() to take a FilePath. Review URL: http://codereview.chromium.org/92060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14409 0039d316-1c4b-4281-b951-d872f2087c98
* Try 14398 again, with Mac fix.abarth@chromium.org2009-04-243-8/+57
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14408 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: stop popups from flickeringagl@chromium.org2009-04-241-1/+1
| | | | | | | | | | | Before, clicking on a select would produce a noticable flicker as it appeared at the top-left of the screen before moving to the correct location. http://codereview.chromium.org/93111 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14407 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: use opaque NativeViewIdsagl@chromium.org2009-04-245-30/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently we are still passing GtkWidget* into the renderer and trusting the value on the way out. With this patch we switch to using opaque values. These opaque values are handled by a GtkNativeViewIdManger, a singleton object which maintains the list of currently valid ids and their current X window ids. We don't pass the X window ids directly to the renderer because they are a) guessable and b) possibly variable for a GtkWidget. From a patch size point of view, the X window isn't current created at the point where we need it so significant work would be needed to reorder operations to fix that as well. This patch also removes the GTK accesses from the BACKGROUND_X11 thread which were a temporary hack. http://codereview.chromium.org/92110 BUG=9014,9869,10787 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14405 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused bits and pieces of #ifdefed code that isn't used.tim@chromium.org2009-04-249-163/+7
| | | | | | Review URL: http://codereview.chromium.org/93042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14402 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 14398.abarth@chromium.org2009-04-242-53/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14399 0039d316-1c4b-4281-b951-d872f2087c98
* Check the size of bitmaps coming over IPC.abarth@chromium.org2009-04-242-4/+53
| | | | | | | | | | R=cpu BUG=10869 TEST=IPCMessageTest.Bitmap Review URL: http://codereview.chromium.org/92064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14398 0039d316-1c4b-4281-b951-d872f2087c98
* Port and enable most of TabRestoreUITest on linux.estade@chromium.org2009-04-249-16/+61
| | | | | | | | | - fill in necessary bits of automation proxy, also mock out some windows-only functions on posix so that the IPC messages don't get completely ignored (so we get NOTIMPLEMENTEDs rather than just hanging when porting future UI tests) - add IsWindowActive to platform_util Review URL: http://codereview.chromium.org/93096 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14396 0039d316-1c4b-4281-b951-d872f2087c98
* Print backtraces on FATAL log messages in debug mode.ajwong@chromium.org2009-04-241-0/+1
| | | | | | | | This provides basic support for looking up backtrace information on GNU libc systems and in Windows. The code is only enabled for FATAL log messages in debug mode. In a release build, it is unlikely that symbols will be available making the backtrace less useful. Review URL: http://codereview.chromium.org/62140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14391 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a function that is no longer used.jhawkins@chromium.org2009-04-231-18/+0
| | | | | | Review URL: http://codereview.chromium.org/97009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14385 0039d316-1c4b-4281-b951-d872f2087c98
* Check for view source mode in DOM UI mode.thestig@chromium.org2009-04-232-7/+37
| | | | | | | BUG=9183 Review URL: http://codereview.chromium.org/67030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14379 0039d316-1c4b-4281-b951-d872f2087c98