summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Disable worker-constructor.html until the WebKit side change is landed and ↵jianli@chromium.org2009-07-301-1/+1
| | | | | | | | | | | we update the rebaselined result for it. BUG=none TEST=none Review URL: http://codereview.chromium.org/160370 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22028 0039d316-1c4b-4281-b951-d872f2087c98
* Use GetMessagePos instead of GetCursorPos to avoid unwanted detached tabs.darin@chromium.org2009-07-292-6/+7
| | | | | | | | | | | | | | | | | | | | The problem with GetCursorPos is that it queries the mouse position right now, which means that the values may not be consistent with the values reported via windows messages. GetMessagePos on the other hand returns the mouse position as last reported via the message loop. With this change, I'm unable to reproduce unwanted detached tabs even under heavy system load. R=ben BUG=2993 TEST=While your system is heavily loaded, click on a tab, release the mouse button and then move the mouse downward. Do this as quickly as you can, and the tab should stay put. Review URL: http://codereview.chromium.org/160364 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22024 0039d316-1c4b-4281-b951-d872f2087c98
* There is no need for the browser process to have an accelerator handler.This ↵jcampan@chromium.org2009-07-297-34/+6
| | | | | | | | CL cleans this up.BUG=NoneTEST=Accelerator should work in Chrome and in the first run window. Review URL: http://codereview.chromium.org/160301 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22020 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: factor out some shared GTK tree utility code.mdm@chromium.org2009-07-297-140/+96
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/160356 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22019 0039d316-1c4b-4281-b951-d872f2087c98
* GTK Themes: Native omnibox part 2.erg@google.com2009-07-294-48/+91
| | | | | | | | | | | | Put the star and go/stop buttons inside the location bar drawing. Reverts my changes to location_bar_view_gtk.cc in the previous patch. (Showed mocks of this to Ben and Glen.) Also fixes rendering of the location bar background under Crux and other themes that draw an entry_bg. Review URL: http://codereview.chromium.org/159610 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22018 0039d316-1c4b-4281-b951-d872f2087c98
* Added automation messages and corresponding handlers to support operations like ananta@chromium.org2009-07-295-33/+177
| | | | | | | | | | | 1. SelectAll 2. Cut/Copy/Paste 3. Reload :- Added an asynchronous version of this IPC 4. Stop. Review URL: http://codereview.chromium.org/159609 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22017 0039d316-1c4b-4281-b951-d872f2087c98
* Force sizing of a new tab as soon as TabContents is created.japhet@chromium.org2009-07-292-0/+13
| | | | | | | | | | | BUG=619 BUG=15960 TEST=none Review URL: http://codereview.chromium.org/126290 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22016 0039d316-1c4b-4281-b951-d872f2087c98
* gtk: Don't wrap around when scrolling the tab strip using the scroll event. ↵jhawkins@chromium.org2009-07-291-2/+4
| | | | | | | | | | This matches native gtk behavior. BUG=17869 TEST=Open multiple tabs. Scroll the tabs using the scroll wheel. The scroll should not wrap around. Review URL: http://codereview.chromium.org/160362 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22015 0039d316-1c4b-4281-b951-d872f2087c98
* Make Linux versioninfo its own lib so it can be linked in only where needed.mmoss@chromium.org2009-07-291-0/+1
| | | | | | | | | | This moves it out of libbase, and thus avoids relinking everything that touches base just because the versioninfo changed. Review URL: http://codereview.chromium.org/160358 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22014 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: move the findbar out of the way when it covers a find result.estade@chromium.org2009-07-295-50/+69
| | | | | | | | BUG=15875 Review URL: http://codereview.chromium.org/160350 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22012 0039d316-1c4b-4281-b951-d872f2087c98
* Make the DownloadRequestDialogDelegateGtk always report some response to the ↵estade@chromium.org2009-07-293-27/+30
| | | | | | | | | | | | download request manager. We weren't reporting Cancel on page navigation, which meant the download request manager had a stale pointer that it later tried to dereference. BUG=18021 Review URL: http://codereview.chromium.org/160361 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22011 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION build from 196.0 to 197.0laforge@chromium.org2009-07-291-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22004 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Save and restore bookmark manager and task manager window size.derat@google.com2009-07-295-88/+308
| | | | | | | | | | | | | | | | | | | | | | | | | To test, did the following under Metacity/GNOME: - remove window_placement prefs from "Local State" file - start chrome - open bookmark manager with Ctrl-Shift-B - resize window to be small and close it - reopen bookmark manager and confirm that its window is the same size as when closed - maximize bookmark manager and close it - reopen bookmark manager and confirm that it's still small - minimize bookmark manager before closing it; confirm that the size remains the same - restart chrome and confirm that the window size is still saved - repeat the above tests with the task manager (which is a bit quicker, since it doesn't allow maximizing or minimizing) BUG=15488 TEST=see above Review URL: http://codereview.chromium.org/160330 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22001 0039d316-1c4b-4281-b951-d872f2087c98
* Undisable DnsMasterTest.MassiveConcurrentLookupTest.phajdan.jr@chromium.org2009-07-292-2/+2
| | | | | | | | | | | | It still passes, and provides coverage for situation where there are lots of DNS requests at the same time. TEST=none BUG=none Review URL: http://codereview.chromium.org/159601 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22000 0039d316-1c4b-4281-b951-d872f2087c98
* Add private: before DISALLOW_IMPLICIT_CONSTRUCTORS.mattm@chromium.org2009-07-291-0/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/160354 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21998 0039d316-1c4b-4281-b951-d872f2087c98
* Update smoketests.py so we can run ui_tests in parallel, withhuanr@chromium.org2009-07-291-1/+37
| | | | | | | | the number of shards equal to NUMBER_OF_PROCESSORS. Review URL: http://codereview.chromium.org/159568 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21996 0039d316-1c4b-4281-b951-d872f2087c98
* First cut at Firefox import on OSX + stubs for Safari import.jeremy@chromium.org2009-07-2913-54/+169
| | | | | | | | | | | | | | Known limitations: * Runs in browser process, should run in a separate process. * No UI. * No FF password import. BUG=15455 TEST=Check that firefox settings are correctly imported on first run, firefox password importing and Safari importing still don't work. Review URL: http://codereview.chromium.org/160341 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21995 0039d316-1c4b-4281-b951-d872f2087c98
* Gtk password dialog: Initialize pending_login_query_.mattm@chromium.org2009-07-292-2/+6
| | | | | | | | BUG=8205 Review URL: http://codereview.chromium.org/159603 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21991 0039d316-1c4b-4281-b951-d872f2087c98
* Draw the side and bottom shadows in the native frame.tc@google.com2009-07-292-15/+118
| | | | | | | | | | | | As with the rest of our shadow drawing, we don't overlap 1 pixel, we just draw the area around. BUG=15505 Review URL: http://codereview.chromium.org/160306 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21989 0039d316-1c4b-4281-b951-d872f2087c98
* Update the Mac plugin dummy window code for the new coordinate system.stuartmorgan@google.com2009-07-296-11/+23
| | | | | | | | | | | Fixes the location of the dummy window, cleans up some duplicate window-handling code, and tries to keep the window activation status more in sync with what it would be in a single-process system. The net result is that event handling in plugins works better, although there are still activation issues. BUG=none TEST=Clicks on plugins should register in the right place (assuming they register at all; there are still bugs in having them handled). Review URL: http://codereview.chromium.org/159525 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21987 0039d316-1c4b-4281-b951-d872f2087c98
* Move the tabstrip to the right one pixel so our tab placementtc@google.com2009-07-291-2/+8
| | | | | | | | | | | matches up with Windows. BUG=17915 Review URL: http://codereview.chromium.org/160281 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21986 0039d316-1c4b-4281-b951-d872f2087c98
* Landing Thiago Farina's CL.jcampan@chromium.org2009-07-2915-20/+19
| | | | | | | | | | | | | See http://codereview.chromium.org/159186 Renaming GetNormalBounds to GetRestoredBounds from browser_window.h. BUG=None TEST=None TBR=tfarina Review URL: http://codereview.chromium.org/160337 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21983 0039d316-1c4b-4281-b951-d872f2087c98
* This CL fixes issue 17468: Regression: Directionality marks should not be ↵xji@chromium.org2009-07-295-8/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | inserted for LTR systems To avoid empty square displayed around tooltip when system does not have RTL support, only add Unicode marks when element's directionality is not the same as UI's directionality. Note: 1. tooltip will be displayed using its element's directionality. 2. in system without RTL support, tooltip will only be displayed correctly (in its element's directionality and without empty square around) when both UI and element's directionality is LTR. BUG=http://crbug.com/17468 TEST= 1. Uninstall the right-to-left script and east Asian script through the Control Panel and restart system. 2. Run English Chrome. 3. given the following HTML, the displayed tooltip should not have empty square around. <html> <head> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="TEXT/HTML; CHARSET=utf-8"> </head> <body> <span style="background-color:Blue" title="Hi!">And now here!</span> </body></html> Review URL: http://codereview.chromium.org/160262 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21975 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: add the password manager UI.mdm@chromium.org2009-07-299-19/+949
| | | | | | | | | BUG=8205 TEST=go to wrench->options->personal stuff->show saved passwords, it works Review URL: http://codereview.chromium.org/159522 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21973 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the "This site is attempting to downloadthakis@chromium.org2009-07-296-8/+144
| | | | | | | | | | | multiple files. Do you want to allow this?" dialog on linux. BUG=12757 TEST=Download several files from the same domain. After the first download, you should be prompted for every additional file you want to download from that domain (try for example http://amnoid.de/ddsview/download.html , click on the "download" link twice). Review URL: http://codereview.chromium.org/159528 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21966 0039d316-1c4b-4281-b951-d872f2087c98
* GTK Themes: Native location bar area.erg@google.com2009-07-296-70/+80
| | | | | | | | | | | | | | | The combined star/location bar/go construct doesn't look native. In GTK mode, make the star and go buttons act like toolbar buttons, and draw a GTK text entry widget onto the toolbar. The omnibox popup is just the size of the entry when in GTK theme mode. There's still a lot of work to be done on this; I want to properly draw focus rings, have the rest of the location box use theme colors, et cetera, but this is less broken then what's currently there. Review URL: http://codereview.chromium.org/159532 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21965 0039d316-1c4b-4281-b951-d872f2087c98
* The focus would be messed-up when reloading a crashed tab, also causing ↵jcampan@chromium.org2009-07-296-3/+93
| | | | | | | | | | | | accelerators to be broken. This CL also makes sure to keep the focus on the location bar when reloading the NTP. BUG=http://crbug.com/14954 TEST=See bug. Review URL: http://codereview.chromium.org/160206 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21961 0039d316-1c4b-4281-b951-d872f2087c98
* Increase timeouts in DieFileDie in hope to further reduce the flakiness.phajdan.jr@chromium.org2009-07-291-2/+2
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/159548 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21958 0039d316-1c4b-4281-b951-d872f2087c98
* Increase timeout when terminating Chrome processes in tests.phajdan.jr@chromium.org2009-07-291-1/+1
| | | | | | | | | | | This should reduce the flakiness. TEST=none BUG=none Review URL: http://codereview.chromium.org/159554 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21955 0039d316-1c4b-4281-b951-d872f2087c98
* Put the common paths for localizers into variables so we don't have to ↵thomasvl@chromium.org2009-07-291-3/+9
| | | | | | | | | | | | | | repeat as much. Merge in the missing app_strings resources. Include app_strings.h in the generated localizers for the shared button titles in dialogs. TEST=none BUG=16764 Review URL: http://codereview.chromium.org/159219 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21951 0039d316-1c4b-4281-b951-d872f2087c98
* Move window to workarea origin if it is completely off-screen.yuzo@chromium.org2009-07-295-88/+244
| | | | | | | | | | | | | | BUG=17822 TEST=Use multiple monitors. Start Chrome, move the window to a non-primary monitor, and exit Chrome. Disconnect or disable the monitor and start Chrome again. Chrome should appear at the origin of a remaining monitor. Also try chaning the resolution of the non-primary monitor. As far as the window fits within the monitor, it should be shown as-is. If not, it is moved to the origin and resized, if necessary. Review URL: http://codereview.chromium.org/160246 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21946 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 21943.willchan@chromium.org2009-07-295-438/+94
| | | | | | | Broke valgrind ui_tests Review URL: http://codereview.chromium.org/160320 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21945 0039d316-1c4b-4281-b951-d872f2087c98
* A quick fix for Issue 13443 (Take 2).hbono@chromium.org2009-07-291-6/+6
| | | | | | | | | | | It seems NXClient sends GDK_Tab not only when we press control+tab keys but also when we press control+shift+tab keys. To emulate Firefox, this change checks if |modifier| is control+shift when |keyval| is either GDK_Tab, GDK_ISO_Left_Tab, or GDK_KP_Tab. BUG=13443 "Shift+Ctrl+Tab should cycle tabs backwards" TEST=Execute Chromium on an NX Client, press control+shift+tab keys, and verify tabs cycle backwards. Review URL: http://codereview.chromium.org/155564 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21944 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Adds ACKs to ProcessSingletonLinux.willchan@chromium.org2009-07-295-94/+438
| | | | | | | | | | | | Patch contributed by suzhe@google.com (http://codereview.chromium.org/155772) BUG=http://crbug.com/12343 TEST=In one terminal, launch chrome and stop the process by pressing ctrl-z, then launch chrome again in another terminal. The second chrome shall be started in 5 seconds, and the first one shall be killed. Review URL: http://codereview.chromium.org/159577 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21943 0039d316-1c4b-4281-b951-d872f2087c98
* Add null pointer check. It appears some themes specify images that don't ↵glen@chromium.org2009-07-291-5/+6
| | | | | | | | | | | exist, and some newly added code handled that poorly, leading to crashes. BUG=none TEST=none Review URL: http://codereview.chromium.org/160312 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21941 0039d316-1c4b-4281-b951-d872f2087c98
* Add CHECKs to the ResourceHandler derived classes to see which is returning ↵willchan@chromium.org2009-07-299-16/+51
| | | | | | | | | | a NULL IOBuffer:data_. BUG=http://crbug.com/16371 Review URL: http://codereview.chromium.org/159561 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21940 0039d316-1c4b-4281-b951-d872f2087c98
* Make find bar BIDI.estade@chromium.org2009-07-292-12/+65
| | | | | | | | | BUG=17475 TEST=obvious Review URL: http://codereview.chromium.org/159570 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21936 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes an audio playback regression caused by seeking in audio/video media.scherkus@chromium.org2009-07-291-1/+1
| | | | | | | | | | | This is a temporary fix to a much larger problem of dealing with Chrome's audio IPC layer. Since a seek is a small amount of time, we keep the audio IPC conversation going by writing 8k of zeros. Before we were telling the audio IPC layer that we were out of data, which technically was a lie (we were just seeking), and as a result the conversation died at that point. TEST=seek around in a video, audio should keep playing and remain in sync BUG=17917 Review URL: http://codereview.chromium.org/160283 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21935 0039d316-1c4b-4281-b951-d872f2087c98
* Gtk: Add default encoding option.mattm@chromium.org2009-07-292-3/+61
| | | | | | | | BUG=11507 Review URL: http://codereview.chromium.org/160307 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21934 0039d316-1c4b-4281-b951-d872f2087c98
* Cause POST data to be marhsaled across the automation interface when using ↵robertshield@chromium.org2009-07-294-77/+90
| | | | | | | | AutomationMsg_RequestStart. Review URL: http://codereview.chromium.org/159228 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21930 0039d316-1c4b-4281-b951-d872f2087c98
* Pull all the filesystem manipulation out ofaa@chromium.org2009-07-287-492/+651
| | | | | | | | | | | | | ExtensionsServiceBackend into a set of utility functions. The intent of this is: a) make extensions_service.cc smaller b) have smaller pieces hanging around that we can more easily reconfigure to implement new features. c) improve testability. Review URL: http://codereview.chromium.org/159400 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21920 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unreferenced .rules files.sgk@google.com2009-07-283-65/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/160285 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21918 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unreferenced .vcproj files.sgk@google.com2009-07-287-2617/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/159534 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21917 0039d316-1c4b-4281-b951-d872f2087c98
* Stop doing the saturation-gradient thing on the NNTP. It blinded people. ↵glen@chromium.org2009-07-282-2/+1
| | | | | | | | | | | Also update the section background so that it looks the same on white, but is actually transparent. BUG=none TEST=none Review URL: http://codereview.chromium.org/159549 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21914 0039d316-1c4b-4281-b951-d872f2087c98
* Update theme gallery URL. Not updating the translatable in order to keep the ↵glen@chromium.org2009-07-281-1/+1
| | | | | | | | | | | change as small as possible for beta merge. TBR=ben BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21913 0039d316-1c4b-4281-b951-d872f2087c98
* Re-org extension docs, template support for new static files.rafaelw@chromium.org2009-07-2826-881/+807
| | | | | | | | | | | | No chrome code changes (does not affect any files that are used in build or tests). This is the precursor to a build/check-in step to generate extension docs if underlying api or static content has changed. TBR Review URL: http://codereview.chromium.org/159551 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21911 0039d316-1c4b-4281-b951-d872f2087c98
* Only allow one theme installation infobar to be shown at a time.glen@chromium.org2009-07-283-0/+27
| | | | | | | | | BUG=None TEST=Install two themes without closing the infobar - make sure only one infobar is visible. Review URL: http://codereview.chromium.org/160296 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21910 0039d316-1c4b-4281-b951-d872f2087c98
* Fix issues with right border of the lower section as well as some CSSarv@google.com2009-07-282-18/+48
| | | | | | | | | | | | | | | | | | tweaks for the list view mode. This also fixes an issue where the thumbnails were not positioned correctly at startup in RTL BUG=17810, 17811, 17751 TEST=Hide the recent activities and make sure that the right border of even more is shown. Switch to list mode. Make sure that the filler are hidden. Try dragging the items in the list view. The text should not dissappear. Review URL: http://codereview.chromium.org/160291 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21909 0039d316-1c4b-4281-b951-d872f2087c98
* Create render view for extensions on Linux.phajdan.jr@chromium.org2009-07-286-2/+75
| | | | | | | | | | | | | Now when an extension is loaded, you will see its entry in the task manager. However, on the shelf there is still only a placeholder label (I have to work on setting proper size for the render widget). TEST=none http://crbug.com/16759 Review URL: http://codereview.chromium.org/159527 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21908 0039d316-1c4b-4281-b951-d872f2087c98
* left a file outestade@chromium.org2009-07-281-0/+4
| | | | | | | | TBR=awong Review URL: http://codereview.chromium.org/159550 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21906 0039d316-1c4b-4281-b951-d872f2087c98