summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Allow connecting and messaging with extension ports by funneling externalmpcomplete@google.com2009-05-198-17/+469
| | | | | | | | | | ports through the automation postMessage interface. See original review at: http://codereview.chromium.org/113461 Patch by Siggi Asgeirsson <sigurdur.asgeirsson@gmail.com> Review URL: http://codereview.chromium.org/113538 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16396 0039d316-1c4b-4281-b951-d872f2087c98
* Add new app_resources target, and remove all dependencies on chrome.gyp from ↵ben@chromium.org2009-05-192-9/+54
| | | | | | | | | | app.gyp. http://crbug.com/11387 Review URL: http://codereview.chromium.org/113588 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16395 0039d316-1c4b-4281-b951-d872f2087c98
* linux: more dialog touchups. I had missed one before.evan@chromium.org2009-05-193-20/+16
| | | | | | | | BUG=11017,12056 Review URL: http://codereview.chromium.org/113587 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16394 0039d316-1c4b-4281-b951-d872f2087c98
* Take 2 at forcing the foreground and background color of thetc@google.com2009-05-192-1/+14
| | | | | | | | | | | | | | omnibox text. I used a static for the black text tag, but we need a separate instance per omnibox (one per browser window). BUG=11450 Review URL: http://codereview.chromium.org/115521 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16393 0039d316-1c4b-4281-b951-d872f2087c98
* Fix inspection of extensions.aa@chromium.org2009-05-1914-240/+10
| | | | | | | | | | | | As a bonus, debugging of extensions now works. Go OOP inspector team! Inspection code was calling RVHD::GetProfile(), which was not implemented by ExtensionHost. Looking into this, it seems better to just remove the method from the interface since Profile is already accessible by way of RVH. The only caller to RVHD::GetProfile() besides the inspector was HWNDHtmlView which is itself dead code, so I removed it too. Review URL: http://codereview.chromium.org/115501 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16392 0039d316-1c4b-4281-b951-d872f2087c98
* Adds 'hard error' message box support cpu@google.com2009-05-195-0/+174
| | | | | | | | | | | | - Initially just the two failed to delay-load bind exceptions - Shows the same error dialog as the OS shows so no localization required TEST= hard to test, but I'll give some pointers on the bug BUG = 11919 Review URL: http://codereview.chromium.org/113492 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16391 0039d316-1c4b-4281-b951-d872f2087c98
* linux: disable strict aliasing for WebCore.evan@chromium.org2009-05-191-0/+3
| | | | | | | | | | | | | | | Leaving this on produces warnings with newer gccs. In https://bugs.webkit.org/show_bug.cgi?id=25864, Darin Adler says, regarding leaving strict aliasing rules on: "I would expect many, many problems in WebCore. Not just warnings, but actual code generation problems." BUG=9104 Review URL: http://codereview.chromium.org/115520 Patch from Craig Schlenter <craig.schlenter@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16389 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Force the foreground and background color of the omnibox text."tc@google.com2009-05-191-14/+1
| | | | | | | | | | | | | This reverts commit r16383. Session restore fails with this change. TBR=willchan Review URL: http://codereview.chromium.org/115519 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16387 0039d316-1c4b-4281-b951-d872f2087c98
* Add file_util::ReplaceFile and use it in ImportantFileWriter.phajdan.jr@chromium.org2009-05-194-1/+24
| | | | | | | | | | It has more strict semantics than file_util::Move. http://crbug.com/11585 Review URL: http://codereview.chromium.org/113207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16386 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes a drawing bug when scrolling a page with frames on Mac.rohitrao@chromium.org2009-05-191-6/+7
| | | | | | | | | http://crbug.com/12237 TEST=Scroll on a page with frames, make sure everything is drawn correctly. Review URL: http://codereview.chromium.org/113584 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16385 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: enable sanity test.pfeldman@chromium.org2009-05-193-7/+11
| | | | | | Review URL: http://codereview.chromium.org/115349 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16384 0039d316-1c4b-4281-b951-d872f2087c98
* Force the foreground and background color of the omnibox text.tc@google.com2009-05-191-1/+14
| | | | | | | | | | | I didn't bother messing with the selection color or cursor color. BUG=11450 Review URL: http://codereview.chromium.org/115496 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16383 0039d316-1c4b-4281-b951-d872f2087c98
* Only build and depend on views/ on Linux when toolkit_views is set.phajdan.jr@chromium.org2009-05-191-8/+33
| | | | | | | | http://crbug.com/11066 Review URL: http://codereview.chromium.org/115400 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16382 0039d316-1c4b-4281-b951-d872f2087c98
* Remove tcmalloc related failures from the known failures list.mbelshe@google.com2009-05-191-19/+0
| | | | | | | | | BUG=10896 Review URL: http://codereview.chromium.org/115513 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16381 0039d316-1c4b-4281-b951-d872f2087c98
* Ifdef out some Windows dependencies. This is the first pass trying to getbrettw@chromium.org2009-05-191-0/+10
| | | | | | | | browser_view compiling on Linux. I haven't figured out what we'll do with these things longer-term. Review URL: http://codereview.chromium.org/113585 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16380 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes merge error.sky@chromium.org2009-05-191-6/+0
| | | | | | | | | BUG=none TEST=none TBR=ben Review URL: http://codereview.chromium.org/115512 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16379 0039d316-1c4b-4281-b951-d872f2087c98
* Makes dragged_tab_controller compiler on linux. I'm not adding this tosky@chromium.org2009-05-194-47/+71
| | | | | | | | | | | | the gyp file yet as BrowserView needs to be made compilable before I turn this on. BUG=none TEST=none Review URL: http://codereview.chromium.org/113562 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16378 0039d316-1c4b-4281-b951-d872f2087c98
* Gets dragged_tab_view to compile on linux.sky@chromium.org2009-05-195-5/+53
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/115495 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16377 0039d316-1c4b-4281-b951-d872f2087c98
* Make new methods pure virtual per Brett's request in ↵erikkay@google.com2009-05-191-2/+2
| | | | | | | | | | | | http://codereview.chromium.org/113481 R=brettw BUG=none TEST=none Review URL: http://codereview.chromium.org/113567 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16376 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the Windows release build by adding some missing includes.brettw@chromium.org2009-05-191-0/+4
| | | | | | Review URL: http://codereview.chromium.org/115511 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16375 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Skia includes to use the whole path name.brettw@chromium.org2009-05-1942-80/+71
| | | | | | Review URL: http://codereview.chromium.org/115412 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16374 0039d316-1c4b-4281-b951-d872f2087c98
* Factor out a BrowserFrame interface, and move the existing Windows-based codebrettw@chromium.org2009-05-1921-224/+375
| | | | | | | | | | | to a new class: BrowserFrameWin. The major other change I had to make was the way that the TabStrip is set in the BrowserRootView. Now there is a method on the frame that the view can call when it creats the tabstrip that will set the tabstrip on the root view. Review URL: http://codereview.chromium.org/113511 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16373 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a general script to fetch values from the BRANDING files.thomasvl@chromium.org2009-05-194-40/+66
| | | | | | | Update the scripts to fetch values from the BRANDING files instead of hardcoding the values. Review URL: http://codereview.chromium.org/113555 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16372 0039d316-1c4b-4281-b951-d872f2087c98
* Must register the AE handler earlier to catch the open url on a launch.avi@chromium.org2009-05-192-17/+44
| | | | | | | | BUG=http://crbug.com/11996 Review URL: http://codereview.chromium.org/113543 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16371 0039d316-1c4b-4281-b951-d872f2087c98
* Make javascript dialogs able to prompt for text.avi@chromium.org2009-05-191-13/+59
| | | | | | | | BUG=http://crbug.com/11137 Review URL: http://codereview.chromium.org/115484 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16370 0039d316-1c4b-4281-b951-d872f2087c98
* Update where the nib is on disk since a change moved it to make localization ↵thomasvl@chromium.org2009-05-191-1/+1
| | | | | | | | string based. Review URL: http://codereview.chromium.org/115510 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16369 0039d316-1c4b-4281-b951-d872f2087c98
* Review URL: http://codereview.chromium.org/113533apavlov@chromium.org2009-05-194-6/+65
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16368 0039d316-1c4b-4281-b951-d872f2087c98
* Remove two todo's since the pref controls initializing breakpad, and if ↵thomasvl@chromium.org2009-05-191-2/+0
| | | | | | | | users opt in at that level, we just want to send the crashes. Review URL: http://codereview.chromium.org/113553 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16367 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build breakage (add file missing in 115508).pfeldman@chromium.org2009-05-191-0/+2
| | | | | | Review URL: http://codereview.chromium.org/113580 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16366 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: increase web inspector heightpfeldman@chromium.org2009-05-191-1/+1
| | | | | | Review URL: http://codereview.chromium.org/113577 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16365 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: do not cache xmlhttp when client is not attached; reduce agent ↵pfeldman@chromium.org2009-05-191-10/+17
| | | | | | | | cache size. Review URL: http://codereview.chromium.org/115508 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16364 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed use of uninitialized variable problem in generated bindings. Itplesner@google.com2009-05-191-2/+1
| | | | | | | turns out that converting an object to an SVGNumber can't fail. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16363 0039d316-1c4b-4281-b951-d872f2087c98
* Update to new version of tcmalloc (new spinlock implementation)mbelshe@google.com2009-05-192-1/+5
| | | | | | Review URL: http://codereview.chromium.org/113563 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16362 0039d316-1c4b-4281-b951-d872f2087c98
* Create a new app_strings target that builds strings for the app_base and ↵ben@chromium.org2009-05-197-7/+303
| | | | | | | | | | eventually views targets. http://crbug.com/11387 Review URL: http://codereview.chromium.org/113565 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16361 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Linux Bustage from new CL where it is missing string importabarth@chromium.org2009-05-191-0/+1
| | | | | | | | | | | | | | Patch by Mohamed Mansour. R=abarth BUG=6646 TEST=compiles http://codereview.chromium.org/113573 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16360 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a misaligmnet in rendering video frameshclam@chromium.org2009-05-191-2/+2
| | | | | | | | Misalignment if clip top is odd. Review URL: http://codereview.chromium.org/115499 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16358 0039d316-1c4b-4281-b951-d872f2087c98
* Adds an index over bookmark titles for fast look up.sky@chromium.org2009-05-1917-93/+622
| | | | | | | | | | | | | The index is currently built on the main thread (because that's where we do the decoding now), but I'll change that after landing this. BUG=6646 TEST=There are tests to cover this, but make sure the omnibox still suggests bookmark titles. Review URL: http://codereview.chromium.org/115403 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16357 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Make the render view default color white.estade@chromium.org2009-05-191-1/+7
| | | | | | | | This mainly shows during navigations or new tab creation (or during render view resizing). White looks better than grey. On debug, set the color to green. Review URL: http://codereview.chromium.org/113568 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16356 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure proper extension when saving an HTML page.estade@chromium.org2009-05-195-25/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | When an HTML page has a title, it is used as the suggested file name in saving the page. Then the file extension is guessed from the suggested file name. This results in a wrong extension if the title contains a period ".". This the source of Bug 10581. Merely setting ignore_suggested_ext to true in win_util::SaveFileAsWithFilter is not a good fix, because then we have an issue in saving a page without a title, where the extension can be correctly derived from the suggested file name. This change solves the issue by appending ".htm" to the suggested file name if the page content type is HTML and the suggested file name doesn't have a proper extension. BUG=10581 -------- patch by yuzo@google.com review here: <http://codereview.chromium.org/115235> git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16355 0039d316-1c4b-4281-b951-d872f2087c98
* Remove local copy of V8MessagePortCustom.cpp now that it has been upstreamed.levin@chromium.org2009-05-192-168/+2
| | | | | | | | | | BUG=11782 TEST=none needed, just removing obsolete file Review URL: http://codereview.chromium.org/113566 Review URL: http://codereview.chromium.org/113569 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16354 0039d316-1c4b-4281-b951-d872f2087c98
* Fix an aggressive DCHECK in media::VideoThreadhclam@chromium.org2009-05-191-2/+2
| | | | | | | | Only check for null if it is initialized. Review URL: http://codereview.chromium.org/115498 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16353 0039d316-1c4b-4281-b951-d872f2087c98
* Fix memory leak in corrupt JPEG decoding.thestig@chromium.org2009-05-192-13/+2
| | | | | | | BUG=10945 Review URL: http://codereview.chromium.org/113433 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16352 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a new command line switch called new-new-tab-page which enablesarv@chromium.org2009-05-1912-405/+1889
| | | | | | | | | | | | | | | the prototype new new tab page. Split the DownloadsDOMHandler into its own file. The prototype is rough and has bugs. Don't file any bugs on it! TEST=Run with the command line above and you should see an alternative new tab page. Review URL: http://codereview.chromium.org/115426 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16351 0039d316-1c4b-4281-b951-d872f2087c98
* Fast paint for <video> by writing to SkCanvas directlyhclam@chromium.org2009-05-192-17/+193
| | | | | | | | | | | | | A direct path for rendering <video>, writes directly to bitmap in SkDevice in SkCanvas. There's several criteria for direct path: 1. No skew 2. SkDevice is ARGB8888 3. SkCanvas is opaque Review URL: http://codereview.chromium.org/115281 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16350 0039d316-1c4b-4281-b951-d872f2087c98
* Update DEPS to pull latest GURL, which includes IPv6 canonicalization.eroman@chromium.org2009-05-191-1/+1
| | | | | | Review URL: http://codereview.chromium.org/113560 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16349 0039d316-1c4b-4281-b951-d872f2087c98
* SeekableBuffer to implement a window of buffer which has short seeking ability.hclam@chromium.org2009-05-194-0/+610
| | | | | | | | | | | Defined the base interface SeekableBuffer and a thread safe implemntation of ThreadSafeSeekableBuffer. This class is to be used for media resource loading that does the meat of buffer queueing and handles short seeking for short distance out-of-order read patterns. Review URL: http://codereview.chromium.org/113213 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16348 0039d316-1c4b-4281-b951-d872f2087c98
* Rename app.vcproj to app_base.vcproj to match what is generatedtc@google.com2009-05-191-1/+1
| | | | | | | | | | by app.gyp. This wasn't really a problem because Visual Studio looks at guids. Review URL: http://codereview.chromium.org/113561 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16347 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for breakpad not generating a minidump in certain cases on OSX.jeremy@chromium.org2009-05-193-4/+3
| | | | | | | | | | | | | | | | | | | | 1)Fix logic inversion in IsCrashReporterEnabled(). 2)Don't intercept SIGPIPE in non-branded builds since it isn't fatal. 3)Roll DEPS to pickup a bunch of Mac Breakpad fixes. When breakpad is disabled, we intercept a bunch of signals so that we can crash fast, without waiting for Apple's crash reporter. The problem was that the function we where using to test whether breakpad was enabled was wrong so we were always installing these signal handlers which where just calling exit(). By fixing the IsCrashReporterEnabled() call, we no longer install these signal handlers if Breakpad is enabled. In any case SIGPIPE is non-fatal so we remove it from the list of signals we intercept. There have been a number of fixes to the OSX version of Breakpad recently, so we pull those in as well. BUG=11929 Review URL: http://codereview.chromium.org/115493 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16346 0039d316-1c4b-4281-b951-d872f2087c98
* Widen it a little more. Seems like my test machine has more compact fonts ↵finnur@chromium.org2009-05-192-3/+3
| | | | | | | | | | | than usual... BUG=http://crbug.com/11915 TEST=Open the Clear Browsing Data dialog on Japanese and Chinese-Traditional OS. There should be no truncation. Review URL: http://codereview.chromium.org/115487 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16345 0039d316-1c4b-4281-b951-d872f2087c98
* Add chrome/browser/dock_info_win.cc andsgk@google.com2009-05-181-0/+3
| | | | | | | views/controls/menu/menu_win.{cc,h} to the gyp build. Review URL: http://codereview.chromium.org/113557 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16344 0039d316-1c4b-4281-b951-d872f2087c98