15995 Commits

Autor SHA1 Mensagem Data
chrome-bot 410077a118 Connect the ctrl-w accelerator to the task manager dialog, and close the window when this accelerator is activated.
BUG=11392
TEST=Open the task manager in Linux Chrome.  Press ctrl-w.  The task manager should close.
Review URL: http://codereview.chromium.org/149363

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20207 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 23:35:02 +00:00
ben@chromium.org 0c5112b0ff fix bustage - ALLOW_THIS_IN_..
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20206 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 23:22:23 +00:00
cmp@google.com 2e61c27657 Update icu38 dep with a time zone issue fix.
BUG=12579
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20205 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 23:16:02 +00:00
ben@chromium.org 2b93bbe4ea Add temporary TabStripWrapper interface that is implemented by both TabStrip and BrowserTabStrip... this makes dealing with the multiple implementations more manageable in shared code like BrowserView, etc. This interface will die once the new work is completed and a conversion is finished. The interface contains all the methods that BrowserView expect to find on TabStrip.
BUG=none
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20204 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 23:12:36 +00:00
estade@chromium.org 72bbb14ad8 Make bookmark bar folder buttons look active so long as the menu is open.
Make sure chrome buttons have no child displacement (so the contents don't jiggle when you press them).

BUG=none
TEST=do a click on a folder, click away, make sure the button always looks as you'd expect

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20203 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 23:12:27 +00:00
hclam@chromium.org 4ea3b1defb Roll Webkit to r45640 and update test expectations
Review URL: http://codereview.chromium.org/155249

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20202 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 23:08:53 +00:00
scherkus@chromium.org cd3f795ca8 Wrote gmock-based mock filters and a mock filter factory.
Next up is actually refactoring tests to use these and not the old_mocks version.  The biggest user is the PipelineImpl tests, which I'm currently refactoring anyway hence sending this out for review.

BUG=16008
TEST=FFmpegVideoDecoderTest should still pass

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20201 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 23:04:57 +00:00
paul@chromium.org 459e0e9c29 The Mac version of the download shelf from the original CL by thakis:
http://codereview.chromium.org/150216

Original description:
Move download item to its own view and a xib, paving the way for a custom
download item view. I didn't change the look of the download items yet. The
context menu is now in the download item xib as well.

BUG=14659,15098,14660
TEST=Download something. Everything should look like before (except for the
     smaller icon), but the context menu items should be disabled/enabled and
     checked/unchecked correctly.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20200 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 23:02:08 +00:00
tc@google.com 6bb2bd9f80 XFCE disables the system decorations if there's an xshape set. So
only use the KWin hack when the custom frame is enabled.

This is still a bit buggy in KWin (toggling from custom frame -> system
decorations doesn't always re-attach system decorations), but it seems
like the best I can do.

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


git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20199 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 23:01:03 +00:00
jam@chromium.org 9c9c03f7c9 Get the Mac build compiling while we figure out how SetActiveUrl should be implemented on Mac.
Review URL: http://codereview.chromium.org/149362

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20198 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 22:53:57 +00:00
jrg@chromium.org ad62c8db3c Try to fix broken tree
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20197 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 22:23:39 +00:00
hclam@chromium.org fa09e19660 Roll WebKit to r45634 and fix build
Review URL: http://codereview.chromium.org/155241

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20196 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 21:56:31 +00:00
sky@chromium.org e6b1a2332c Lands http://codereview.chromium.org/155128 for Thiago.
Description from Thiago:

Converting the history::StarredEntry::Type to a type defined in BookmarkNode.

BUG=NONE
TEST=NONE

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20195 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 21:54:14 +00:00
darin@google.com 86d4443a62 Start using WebCursorInfo from the WebKit API. WebCursorInfo is a
lightweight struct containing a description of a cursor that the
embedder should render.

WebCursor still exists.  Instead of WebCursor initializing from a
PlatformCursor, it now initializes from a WebCursorInfo.

TEST=none
BUG=10039
R=jam

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20194 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 21:49:30 +00:00
shess@chromium.org f67f8c0131 Make converting from NativeViewId to NativeView an error on Mac.
Goal is to prevent someone from checking in new cross-platform code relying on this.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20193 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 21:47:49 +00:00
jam@chromium.org c7c2791027 Add the page url to plugin crashes to aid debugging.
Review URL: http://codereview.chromium.org/155238

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20191 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 21:40:55 +00:00
rvargas@google.com 817498eb8f Disk cache: Additional code cleanup after CL 20067.
BUG=15596
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20190 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 21:39:08 +00:00
stuartmorgan@chromium.org ca376211b7 Add temporary suppressions for a couple of newly-file Mac leaks.
BUG=16209,16210
TEST=somewhat happier Mac UI valgrind bots
Review URL: http://codereview.chromium.org/155232

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20189 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 21:24:31 +00:00
hclam@chromium.org 39fcc61469 Roll WebKit to r45633
Review URL: http://codereview.chromium.org/155240

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20188 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 21:22:58 +00:00
ager@chromium.org 92a27744bc Land Anton's patch to avoid throwing away type information on the
window wrapper in the debugger agent.

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

TEST=none
BUG=none

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20187 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 21:07:09 +00:00
estade@chromium.org ef0fc11597 GTK: Allow user to drag onto folder in bookmark bar.
This is only half of the bug fix. We also should match windows in that a drag held over a folder for more than a second or so shows the folder's contents and allows the user to continue the drag into the folder.

Also, it's kind of hard to use this new feature since the bookmark items float around when you are dragging out of the same bookmark bar you're dragging into, but the fix for that would be separate (and would require some design decisions).

BUG=14222
TEST=drag single or multiple bookmarks onto a bookmark bar folder

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20186 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 21:06:14 +00:00
abarth@chromium.org 7e4695e447 Load extension plugins before looking for plugins in other places, e.g.
Firefox's plugins directory. 

This allows extensions to override the user's default plugin for a particular
mime type.

BUG=15943
TEST=none
R=mpcomplete

Patch by Collin Jackson

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20185 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 21:02:45 +00:00
sky@chromium.org 68ae3f479d http://codereview.chromium.org/147084
Implements unique client ID generation for Posix.

Client ID generation happens once-per-install of Chromium (...well, this is
mostly true, at least).  On Windows, the code currently uses some system library
code that generates a GUID.  We don't ACTUALLY need a GUID, something that's
quite random and in the same format will work.  Since we don't want to add a
dependency on libuuid for POSIX, I created a less-random-but-still-good-enough
version.

BUG=15418
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20184 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 20:54:13 +00:00
tommi@chromium.org 8089a74233 Adding a non-templatized version of QI for times when the IID and type aren't associated.
Also fixing the ScopedComPtrVector unit test.
The problem with the test was that it expected AddRef to be called twice and Release() once when pushing a pointer to the vector.  However that only happens when a push causes a reallocation.  When there's no reallocation, there's only a single call to AddRef and no call to Release, causing the test to report failure.  The fix is to simply use std::list instead and fix the expected values.

TEST=Run *ScopedComPtr* unit tests.
BUG=none
Review URL: http://codereview.chromium.org/149345

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20183 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 20:47:31 +00:00
phajdan.jr@chromium.org 06078c8a9e Convert crash recovery tests to browser test framework, which should reduce flakiness.
TEST=none
http://crbug.com/16054

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20182 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 20:43:53 +00:00
sky@chromium.org e5f7850036 Adds tab pinning to TabStripModel. This is just the model side of
things (and tests), no UI yet.

The model enforces that all pinned tabs occur at the beginning of the
model. For example, if there are no pinned tabs and you pin the 10th
tab, it is moved to the front of the tab strip. Similarly inserting a
tab before the last pinned tab implicitly pins it. Moving a pinned tab
beyond the set of pinned tabs implicitly unpins it.

I'll file a bug on this when the site allows me to.

BUG=none
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20181 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 20:39:46 +00:00
nsylvain@chromium.org bcb0b1cd6e Revert change 20173 because it breaks the ui_tests, plugin_tests
and most likely some page cyclers.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20180 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 20:16:38 +00:00
eroman@chromium.org d58e543dbf Fix a leak of the new location GURL by NotificationTask when doing a redirect.
The problem is scoped_ptr<ResourceRequestDetails> is used to delete an instance of ResourceRedirectDetails, however the base class's destructor is non-virtual, so ResourceRedirectDetails extra field (GURL new_url_) does not get torn down properly.

Note that the blame callstacks in the bug report appear unrelated, because std::string is doing some fancy refcounting under the hood. So as GURLs get passed around, they take over the GURL::spec's memory that got allocated earlier by the network stack.

BUG=http://crbug.com/10873
TEST=The "RedirectTest.*" ui tests when run on linux valgrind bots should show no leaks

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20179 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 19:03:29 +00:00
ajwong@chromium.org d5fdebbb4c Create watchlist for media changes. The regex is pretty permissive because the media files are scattered in multiple directories with the only commonality being the word "media". (eg chrome/renderer/media, third_party/media, or more annoyingly webkit/glue/resources/media_pause.png, and webkit/api/src/WebMediaPlayerClientImpl.cpp)
Review URL: http://codereview.chromium.org/149232

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20178 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 19:03:13 +00:00
hclam@chromium.org 1aa89b5303 Update test_expectations.txt after webkit merge
TBR=nsylvian
BUG=13901

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20177 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 18:35:49 +00:00
stuartmorgan@chromium.org 3b0f285bf0 Shuffle the Mac valgind suppressions around a bit to match the other suppression file format. No actual changes to the suppressions except to get rid of a name duplication.
BUG=none
TEST=Mac valgrind bots should be unchanged.
Review URL: http://codereview.chromium.org/155225

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20176 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 18:35:43 +00:00
stuartmorgan@chromium.org 2d2c7bb6d4 Add myself to the valgrind watch list.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/149337

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20175 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 18:35:24 +00:00
jcampan@chromium.org 5a49015191 The SSL UI tests are only run on Windows today.
Since they have been ported to the browser tests framework, they are not required anymore.

BUG=None
TEST=None
Review URL: http://codereview.chromium.org/155224

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20174 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 18:32:35 +00:00
jam@chromium.org 1a4de90624 Add the page url to plugin crashes to aid debugging.
Review URL: http://codereview.chromium.org/149305

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20173 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 18:31:20 +00:00
darin@chromium.org bae819638f Suppress a warning about LOG being re-defined.
temporary_glue.cc includes webview_impl.h, which brings in headers
that include wtf/Assertions.h.  However, it also brings in logging.h.
The workaround is to include wtf/Assertions.h in temporary_glue.cc
and then #undef LOG.  This effectively mimics what we do elsewhere
in glue.

TEST=none
BUG=none
R=brettw

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20172 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 18:26:51 +00:00
ajwong@chromium.org e92451bdbd Add mac and linux binaries for ffmpeg.
BUG=15906
TEST=chromium builds should have video enabled

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20171 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 18:26:09 +00:00
arindam@chromium.org afc0c75f7f Correctly implementing GetPeerName() to point to TCPClientSocket::GetPeerName(). This is used by the SSL layer in Linux to resolve Peer Names, which caused a trap to be generated ( http://crbug/16166 )
BUG=16166
TEST=fix of the above BUG

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20170 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 18:23:41 +00:00
hclam@chromium.org aa5628444f Mark 14 <video> tests as pass
These 14 layout tests are passing consistently on build slaves.
TBR=scherkus

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20169 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 18:16:38 +00:00
jianli@chromium.org 3fd5e8685f Fix the problem that the temp worker directory is not deleted if the http server process is still holding it.
BUG=none
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20168 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 18:13:26 +00:00
japhet@chromium.org 8696527a5a Delete DOMObjectsInclude.h and use upstreamed version.
BUG=none
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20165 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 17:58:30 +00:00
tc@google.com 1e8a21dbe1 GdkPixbufFromSkBitmap needs to un-premultiply the alpha before
passing off the data to gdk_pixbuf.  This is required in the theme
code for tinted bitmaps.

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


git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20164 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 17:52:36 +00:00
scherkus@chromium.org 8c0b333609 Removing video_decoder_unittest.cc as it tests nothing.
ffmpeg_video_decoder_unittest.cc is a much more comprehensive test!

BUG=16008
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20162 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 17:49:51 +00:00
thestig@chromium.org 05fe2add74 Remove svn:executable property from files that don't need it.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/155199

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20161 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 17:39:27 +00:00
hclam@chromium.org a53052d3fc Roll WebKit to r45221
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20160 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 17:39:04 +00:00
ajwong@chromium.org 09a9315dd4 Delete boost.
Review URL: http://codereview.chromium.org/150086

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20159 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 17:36:50 +00:00
arv@google.com 1e4f3dd795 Change to use CSS media queries instead of using the "small" class name
to reduce the number of layouts needed at startup.

This also fixes an issue where starting in LIST mode did not work.

And it also fixes an issue where the width transition wasn't working
correctly.

BUG=13362

TEST=Starting in small and normal mode should still work

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20158 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 17:18:54 +00:00
pinkerton@chromium.org 0ca9ff6da3 fix bustage
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20157 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 16:58:58 +00:00
stuartmorgan@chromium.org b5f3f2392d Add a suppression for a leak the Mac UI tests get when plugins are first loaded.
BUG=none
TEST=Fewer leaks on the Mac valgrind UI test bots
Review URL: http://codereview.chromium.org/155190

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20156 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 16:52:52 +00:00
pinkerton@chromium.org 4f2fc1ae7b Add context menus to tabs.
BUG=14920
TEST=context menus on tabs.
Review URL: http://codereview.chromium.org/155173

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20155 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 16:47:36 +00:00
brettw@chromium.org b81f02e9f6 Remove url_constants dependency from tab_contents.h.
Remove obsolete SupportsURL function from when we have TabContents types.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20154 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 16:39:02 +00:00