15995 Commits

Autor SHA1 Mensagem Data
scherkus@chromium.org c4625eefca Revert "Implemented injected message loops for PipelineImpl."
I cannot repro the layout test failures, seeing if this helps.

TBR=hclam
BUG=none
TEST=none

Review URL: http://codereview.chromium.org/155396

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20439 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 23:26:28 +00:00
shess@chromium.org b80c5f10ed -orderBack: unit test windows when not in the debugger.
Review URL: http://codereview.chromium.org/149465

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20438 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 23:19:36 +00:00
gman@google.com 57b06601cf Add Google IO sample.
Review URL: http://codereview.chromium.org/149438

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20437 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 23:14:53 +00:00
tc@google.com f5a077e1fd Fix a crash that happens if a tab is closed while
we're in the middle of a drag originating from the tab.

The problem is that the tab gets deleted out from under the
drag operation which is happening in a nested message loop.

To work around this, if we're in the middle of a drag and
we get a tab close request, delay the tab close until after
the drag operation is finished.

BUG=16280

Review URL: http://codereview.chromium.org/149466

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20436 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 23:10:42 +00:00
huanr@chromium.org 9f8e132c42 Adding command line switch to run UI test in parallel.
BUG=16006
TEST=none

Review URL: http://codereview.chromium.org/149445

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20435 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 23:04:21 +00:00
asargent@chromium.org 33e502c61d Disable extension auto-updating (hopefully temporarily)
We may need to make a few changes before we're ready for this to be live,
so we're disabling for now.

BUG=12117
TEST=none


Review URL: http://codereview.chromium.org/155388

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20433 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 22:58:19 +00:00
paul@chromium.org 18ee3dd88c Ensure proper paths when saving pages with no title.
When saving a page with no title, such as a text file, attempt to
use a sane value for the save name by retrieving the last component
of the URL (if one exists).

This prevents the case where a page http://www.foo.com/a/path/name.txt
is saved as file "http www" with extension type "foo.com a path name.txt".

This change also makes the SavePackage code a little more flexible
and simpler to test.

BUG=none
TEST=Covered by unittest.

Review URL: http://codereview.chromium.org/155266

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20432 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 22:47:08 +00:00
sky@chromium.org 60e5d1d37e Fixed compile breakage resulting from wstring to string16 change.
BUG=none
TEST=none
TBR=ben
Review URL: http://codereview.chromium.org/149484

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20431 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 22:44:14 +00:00
asargent@chromium.org 9247a78494 Fix leaks in ExtensionUpdater unit tests
BUG=http://crbug.com/16444
TEST=none

Review URL: http://codereview.chromium.org/149479

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20430 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 22:42:10 +00:00
evan@chromium.org 11b168b1a1 ipc: Fix IPC message logging type
Review URL: http://codereview.chromium.org/155386

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20429 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 22:41:00 +00:00
tc@google.com 10fb2cd231 Fix UMR caused by ActiveWindowWatcher.
As spotted by the valgrind ui_tests buildbot.

BUG=16473

Review URL: http://codereview.chromium.org/149486


git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20428 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 22:40:50 +00:00
estade@chromium.org abe6aa0aeb Instead of forcing the homepage to be linux splash, force the startup action to be "view linux splash page".
Thus users can still use the home button until we get rid of the splash page.

BUG=16308
TEST=none.

Review URL: http://codereview.chromium.org/149481

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20427 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 22:37:47 +00:00
jon@chromium.org a5176b965a Gears 0.5.29.0.
M    binaries/gears.pdb
M    binaries/gears.dll


git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20426 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 22:20:06 +00:00
scherkus@chromium.org edba6a6d8a Revert "Unit tests for AudioRendererHost"
TBR=hclam
BUG=none
TEST=none

Review URL: http://codereview.chromium.org/149485


git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20425 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 21:58:00 +00:00
estade@chromium.org d2a523c52f Fix double click item activation in right pane of bookmark manager.
BUG=none
TEST=double click on an unselected item, it should be activated

Review URL: http://codereview.chromium.org/155368

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20424 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 21:40:54 +00:00
hclam@chromium.org d95e257bb0 Enable a ui test that plays video without audio stream
TEST=MediaTest.VideoBearSilentTheora
BUG=16012

Review URL: http://codereview.chromium.org/155375

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20423 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 21:40:20 +00:00
hclam@chromium.org b58592465f Unit tests for AudioRendererHost
TEST=AudioRendererHostTest.CreateStream
     AudioRendererHostTest.MockStreamDataConversation
BUG=16035

Review URL: http://codereview.chromium.org/150191

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20422 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 21:40:12 +00:00
thestig@chromium.org 86f3f4149b Add svn:ignore for more make files.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20420 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 21:17:46 +00:00
hclam@chromium.org 4662d7d611 Fix a bug in AudioRendererHost and add hooks for test
Review URL: http://codereview.chromium.org/155372

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20419 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 21:08:22 +00:00
thestig@chromium.org 632c064700 Add svn:ignore for a bunch of make files.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20418 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 21:08:08 +00:00
scherkus@chromium.org 993a539fbe Implemented injected message loops for PipelineImpl.
For now both the player and WebMediaPlayerImpl create a thread and inject its message loop into the pipeline.  The end result is more-or-less the same as what we have today, but we could end up moving the pipeline onto the render thread.

BUG=16008
TEST=layout tests, media_unittests should pass

Review URL: http://codereview.chromium.org/155338

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20417 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 21:07:27 +00:00
kylep@chromium.org 8fd29c03e6 Modify OLA to use window size in seconds instead of bytes.
BUG=16011
TEST=none
Review URL: http://codereview.chromium.org/157001

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20416 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 21:04:44 +00:00
willchan@chromium.org 44f360feae Add some CHECKs to track down the source of a NULL deref in the SSLClientSocketWin code.
BUG=http://crbug.com/16371
TEST=none

Review URL: http://codereview.chromium.org/155359

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20415 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 21:03:17 +00:00
evan@chromium.org 3512fa7020 plugins: use OnChannelError to detect when the channel goes away
Previously we used a special Watcher object to watch the process,
but that is not portable to POSIX and this is simpler anyway.
With this change, I now see ~PluginProcessHost() running when a
plugin crashes.

If you recall all the way back to
  http://codereview.chromium.org/16814
we did a similar thing to the renderer host.

Review URL: http://codereview.chromium.org/155331

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20414 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 20:53:11 +00:00
arv@google.com 43f8c503e2 Fix DnD jank
The mouseover code I added to do *smart* tooltips was making DnD almost
unusable.

BUG=None

TEST=Drag thumbnails on the NNTP and they should move smoothly.

Review URL: http://codereview.chromium.org/149427

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20413 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 20:50:16 +00:00
scherkus@chromium.org 334e2c7a3c Converted remaining tests to use gmock and deleted all old mocking code.
The most important part was refactoring PipelineImpl tests in preparation for message loop injection.  The old mocks just did not work *at all* with my message loop injection patch.

BUG=16008
TEST=media_unittests should pass and not flake out

Review URL: http://codereview.chromium.org/149423

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20412 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 20:47:51 +00:00
maruel@chromium.org 924177ef8d Fix (yet again) svn:ignore due to new generated projects.
NO CODE CHANGE.

TEST=none
BUG=none


git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20410 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 20:43:20 +00:00
scherkus@chromium.org 239db9abf0 Replaced DCHECKs to use MessageLoop::current() for FFmpegDemuxer and DecoderBase.
TEST=media_unittests
BUG=none

Review URL: http://codereview.chromium.org/149475


git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20409 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 20:41:57 +00:00
bradnelson@chromium.org eb10a660d4 Switching in new gyp version (which changes 'none' back to how it was before).
Updating installer_util_strings to use dummy_executable.

BUG=None
TEST=None

Review URL: http://codereview.chromium.org/155371

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20408 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 20:37:47 +00:00
hclam@chromium.org e4def1dffc Added a media playback test to test_shell_tests
Added MediaLeakTest.BearH264 in test_shell_tests
to play a media file in test_shell. This is to
facilitate running purify to detect memory leaks
in the media player and <video>.

Review URL: http://codereview.chromium.org/155237

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20407 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 20:34:25 +00:00
thestig@chromium.org 431dc5a0d1 Remove svn:executable property from some more files that don't need it.
TBR=evmar
Review URL: http://codereview.chromium.org/149471

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20406 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 20:14:40 +00:00
avi@chromium.org 34aae555c2 Draw the image at the origin rather than one pixel to the right.
BUG=none
TEST=favicons, images shouldn't be shifted, left edge shouldn't be broken

Review URL: http://codereview.chromium.org/149473

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20405 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 20:08:04 +00:00
jhawkins@chromium.org a51d431c69 Fix a few issues with the drop arrow in the Linux tab strip:
* Reset the drop info when completing a drag (successful or otherwise).
* Reset the drop info when the drag leaves the tab strip zone.
* Report success or failure of the drop back to the source widget.
* Move and resize the drop arrow container before showing it to reduce visual jank.

BUG=none
TEST=Drag a image into the tab strip so that the drop arrow appears.  Release the drop over the tab strip and then move the window and repeat the process.  The drop arrow should be in the correct position.  Notice that there is no visual jank when the drop arrow is shown.
Review URL: http://codereview.chromium.org/149426

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20404 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 19:59:02 +00:00
erg@google.com be7629a8bd GTK Themes: Set bg/text colors for the download shelf.
(This does not change the button image.)

Review URL: http://codereview.chromium.org/155365

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20403 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 19:55:30 +00:00
tc@google.com c2b02c411a Revert "Revert "Add button tinting to the toolbar buttons.""
This reverts commit r20399 and re-applies the button tinting
code.  There's a fix for the go button gtk unittest by checking
to see if the browser is non-NULL before getting the theme provider.

TBR=erg

Review URL: http://codereview.chromium.org/155369


git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20402 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 19:41:53 +00:00
thomasvl@chromium.org de0e0f1bb2 Only enable breakpad and keystone for official branded builds so the rolling google chrome build doesn't spend the time doing the work for these things.
BUG=none
TEST=Official builds still auto update and have breakpad.
Review URL: http://codereview.chromium.org/155364

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20401 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 19:35:03 +00:00
phajdan.jr@chromium.org e2eaa53f1e Convert JavascriptAlertActivatesTab to browser_tests framework.
This should make it non-flaky, so I un-disabled the test. I also added necessary plumbing so we can
wait for AppModalDialog to appear and close it.

TEST=Covered by browser_tests.
http://crbug.com/16062

Review URL: http://codereview.chromium.org/149460

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20400 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 19:33:18 +00:00
tc@google.com e165a791f9 Revert "Add button tinting to the toolbar buttons."
This reverts commit r20396.

TBR=erg

Review URL: http://codereview.chromium.org/155367


git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20399 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 19:16:39 +00:00
agl@chromium.org ecd3a747c8 Linux: don't bother passing the chroot directory fd to the zygote.
Markus pointed out that the cwd was already shared between the chroot
helper process and the zygote, therefore we could avoid some
complexity in passing the file descriptor so, also, we could then make
the directory mode 0000.

http://codereview.chromium.org/155366
BUG=16363


git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20398 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 19:14:31 +00:00
maruel@chromium.org fc7ffe91e6 Enforce presubmit check of try run. Add a nice message to give feedback to the right person.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/155354

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20397 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 19:09:08 +00:00
tc@google.com 3dcc7a4b35 Add button tinting to the toolbar buttons.
Make CustomDrawButtonBase aware of the ThemeProvider.  If the
theme changes, we reload new pixbufs from the ThemeProvider.

This breaks RTL of the toolbar buttons, I'll add that back
in a follow up change to BrowserThemeProvider.

BUG=15506
TEST=Change themes or set the GTK+ theme.  The star button and go button should be tinted according to the theme (other buttons as well if not using GTK+ buttons).

Review URL: http://codereview.chromium.org/149432


git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20396 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 19:06:29 +00:00
pkasting@chromium.org 8137aa9a24 Fix a crash when clicking a popup entry while composing in the Microsoft IME on XP.
We were forcing the IME to close during the process of updating the edit, which in turn caused us to try and handle "changes to the edit", leading to us (wrongly) rerunning autocomplete and blowing away our result set.

BUG=13500
TEST=On XP, open a new tab, set the (Microsoft) IME to Hiragana, type 'c', and then click an entry in the popup.  The browser should navigate, not crash.
Review URL: http://codereview.chromium.org/155330

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20395 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 18:41:52 +00:00
jrg@chromium.org f943dff25a Make 'version' text field in About Box selectable.
BUG=crbug.com/15642
TEST=select version in about box; copy/paste it somewhere.

Review URL: http://codereview.chromium.org/155361

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20394 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 18:41:47 +00:00
asargent@chromium.org f696a3ce6c Temporarily disable unit tests with leaks until I can check in a fix for them.
BUG=http://crbug.com/16444
TEST=none
TBR=eroman


Review URL: http://codereview.chromium.org/155362

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20393 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 18:40:18 +00:00
hclam@chromium.org b3b763851b Test video files for test_shell_tests and ui_tests
Review URL: http://codereview.chromium.org/155356

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20392 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 18:31:30 +00:00
tejasshah@google.com 62480a4548 Review URL: http://codereview.chromium.org/155360
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20391 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 18:29:39 +00:00
huanr@chromium.org 260fe21096 Add 16276 to crash known list.
Review URL: http://codereview.chromium.org/155357

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20390 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 18:24:04 +00:00
estade@chromium.org e11cb53f15 A little bit of bookmark bar cleanup, a little bit of padding improvement.
The spacing between the toolbar buttons now matches windows pixel for pixel (tested empirically).

The bookmark bar item spacing is now a little better, but we need some hackery to improve it to the state of windows (we need to annex about 5 pixels from the toolbar when the bookmark bar is open).

The code for packing bookmark bar buttons is now all in one place.

Functional change: There will be no other bookmarks button until the model is loaded. If you care I can fix this, it just doesn't seem like a very important matter since it's unusable anyway when the model isn't loaded.o

I also removed a log warning from chrome_dll_main because with this change it started spamming a lot. We're already living with this warning, and have a bug filed for it (they fixed the root problem in newer versions of gtk so I think this bug will just never get resolved), so I don't think this is a big deal.

BUG=15870
TEST=things look marginally better, theming still works properly
Review URL: http://codereview.chromium.org/155342

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20389 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 18:23:58 +00:00
agl@chromium.org 2c0751815f Linux: use a temp directory for the chroot.
Ubuntu systems (at least) wipe /var/run at boot time, which is
deleting our sandbox directory. Instead, we have the SUID helper
create a temp directory in /tmp, unlink it and use that for the chroot
directory. A file descriptor is passed to the zygote process for it to
fchdir into.

(Thanks to fta for discussions on this.)

BUG=16363


git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20388 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 18:17:32 +00:00
rafaelw@chromium.org 652474f6d5 ExtensionBrowserEventRouter now observes TAB_CONTENTS_DESTROYED. This became necessary with the addition of dockable devtools TabContents. It is now possible for Tab contents to close after having been detached without being re-attached to a browser (as in the case of docking).
TBR=pfeldman

Review URL: http://codereview.chromium.org/149429

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20387 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 18:13:46 +00:00