summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Move IDMap from base/ to common/phajdan.jr@chromium.org2009-08-1212-13/+13
| | | | | | | | | | | Nothing in base/ uses it, and I'm going to make some non-trivial changes to it. TEST=none http://crbug.com/19202 Review URL: http://codereview.chromium.org/164428 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23243 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Linux build break from r23051.tschmelcher@google.com2009-08-121-1/+1
| | | | | | Review URL: http://codereview.chromium.org/165410 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23241 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the unittest "DnsMasterTest.OsCachesLookupsTest".eroman@chromium.org2009-08-122-76/+6
| | | | | | | | | | | | This test was checking that the system host resolver maintains an internal cache, by doing actual DNS resolves (which introduces a network dependency in the unit tests). This could be flaky on linux, which doesn't cache resolves. As of r18236 however, chromium maintains its own host cache. So the DNS prefetcher does not need to rely on the OS caching DNS resolves in order to be a win. BUG=http://crbug.com/18766 Review URL: http://codereview.chromium.org/164350 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23239 0039d316-1c4b-4281-b951-d872f2087c98
* Send browser crashes to Apple Crash Reporters.jeremy@chromium.org2009-08-121-1/+11
| | | | | | | | | | | Send crashes to Apple Crash Reporters so we get a nice UI to restart the Browser process if it crashes. BUG=9231 TEST=Induce a browser crash in a Chrome build, Apple Crash reporter UI should appear aftera few seconds. Induce a renderer crash, no UI should be displayed. Review URL: http://codereview.chromium.org/164433 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23237 0039d316-1c4b-4281-b951-d872f2087c98
* Rebuild RPMs when spec file changes.mmoss@chromium.org2009-08-121-0/+1
| | | | | | | Review URL: http://codereview.chromium.org/165405 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23236 0039d316-1c4b-4281-b951-d872f2087c98
* So it turns out that gdk already has a function that does exactly what we want.estade@chromium.org2009-08-123-80/+2
| | | | | | | | http://www.google.com/codesearch/p?hl=en&sa=N&cd=2&ct=rc#eSCqYNcHl48/gtk%2B-2.4.10/gdk/gdkevents.c&q=gdk_event_get_time Review URL: http://codereview.chromium.org/164429 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23234 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for the URLRequestAutomationJob object which issues HTTP ↵ananta@chromium.org2009-08-124-15/+44
| | | | | | | | | | | | | | | | requests through automation to receive persistent cookies from the automation client. These cookies are passed in when the automation client notifies Chrome that a HTTP request was started. The URLRequestAutomationJob object now informs Chrome whether an automation URL request was redirected. The ExternalTabContainer now handles the NEW_FOREGROUND_TAB and displays a popup window in response. This gets around an ASSERT. This fixes bug http://b/issue?id=2048046 Bug=2048046 Review URL: http://codereview.chromium.org/165350 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23233 0039d316-1c4b-4281-b951-d872f2087c98
* Refactors OSExchangeData for easier portability.sky@chromium.org2009-08-1225-311/+945
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/164401 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23230 0039d316-1c4b-4281-b951-d872f2087c98
* Add a method to classify what permission class an extension is in, with unitmpcomplete@chromium.org2009-08-123-0/+110
| | | | | | | | | | tests. BUG=12140 Review URL: http://codereview.chromium.org/164335 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23229 0039d316-1c4b-4281-b951-d872f2087c98
* Linux sandbox: fix security issue.agl@chromium.org2009-08-121-2/+6
| | | | | | | | | | | | | | | | | | | | | (Reported by Julien Tinnes) Because the chroot helper process and the zygote share a FILES structure, the latter can race the former and change the value of cwd before it does chroot("."). Because of this, the zygote could chroot into a directory of its choosing. Once there, it could setup hardlinks to SUID binaries and possibly make them misbehave if they weren't sufficiently paranoid. This possibility should have been migigated by the removal of dangerous environment variables. However, we had to reinstate them in order to pass LD_LIBRARY_PATH because some setups don't have ld.so setup to use /usr/lib32 and also for ffmpeg. http://codereview.chromium.org/164427 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23228 0039d316-1c4b-4281-b951-d872f2087c98
* (Mac) Fix "Print..." menu entry in File menu (showed as "Email Pageavi@chromium.org2009-08-121-4/+4
| | | | | | | | | | | | Location"). Patch by viettrungluu. BUG=http://crbug.com/19172 TEST=Go to File menu and look. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23227 0039d316-1c4b-4281-b951-d872f2087c98
* First step to create application shortcuts on Linux.phajdan.jr@chromium.org2009-08-128-8/+261
| | | | | | | | | | | Create a working desktop shortcut. For now it displays no UI, but the backend works. TEST=none http://crbug.com/17251 Review URL: http://codereview.chromium.org/164280 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23226 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Make autocomplete popup track autocomplete field resizes.shess@chromium.org2009-08-121-0/+26
| | | | | | | | | http://crbug.com/17402 TEST=Enter text in the omnibox and resize the window. Popup size should follow. Review URL: http://codereview.chromium.org/165332 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23225 0039d316-1c4b-4281-b951-d872f2087c98
* Roll DEPS for Skia to 317, to pick up some new SkASSERT's.senorblanco@chromium.org2009-08-121-1/+1
| | | | | | | | | BUG=http://crbug.com/17569 TEST=none TBR=agl Review URL: http://codereview.chromium.org/164422 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23223 0039d316-1c4b-4281-b951-d872f2087c98
* Add a few more |#undef LOG| directives to code that might see both WebKit'smark@chromium.org2009-08-124-4/+12
| | | | | | | | | | | and Chromium's definitions of LOG. This is necessary after WebKit r47092 exposed its LOG in a few more places. BUG=0 TEST=WebKit Canaries come back to life Review URL: http://codereview.chromium.org/164421 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23221 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress yet another flaky WebCore::FooNames::init() leak and a leak in ↵dkegel@google.com2009-08-121-0/+20
| | | | | | | | | | | v8::RegisterExtension() BUG=19191,19196 TEST=valgrind ui bot 1 of 3 green more often Review URL: http://codereview.chromium.org/165401 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23220 0039d316-1c4b-4281-b951-d872f2087c98
* svn ignore the generated appcache project filesmichaeln@google.com2009-08-120-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23218 0039d316-1c4b-4281-b951-d872f2087c98
* Appcache related WebKit API additions. With this patch the compile-time flag ↵michaeln@google.com2009-08-1211-8/+441
| | | | | | | | | | | | | | | | | | | | | is enabled, but the run-time flag is disabled. 1) Added a new class WebApplicationCacheHost and a factory method on WebKitClient. 2) Provide an implementation of WebCore's ApplicationCachHost class that calls out to chrome thru the new WebKit API. 3) Added new files to gyp and turned on the compile-time ENABLE(OFFLINE_WEB_APPLICATIONS) flag. 4) Turned on the compile-time flag for v8 bindings in build-generated-files.sh 4) Disabled the run-time appliation_cache_enabled settings in the test shell for now. BUG=none TEST=none Review URL: http://codereview.chromium.org/165222 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23217 0039d316-1c4b-4281-b951-d872f2087c98
* (Mac) Place back/forward toolbar menu correctly when there's a bookmarkavi@chromium.org2009-08-121-11/+9
| | | | | | | | | | | | | | | | bar. It turns out that the frame is in the DelayedMenuButton's coordinate system, but a fudge is needed to make things line up. (I don't understand these fudges, especially vertically.) Patch by viettrungluu. BUG=http://crbug.com/19174 TEST=Surf a bit, check back menu with and without bookmark bar. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23216 0039d316-1c4b-4281-b951-d872f2087c98
* Move the menu bar l10n into the xib file.thomasvl@chromium.org2009-08-126-50/+111
| | | | | | | | | | | | Localize the menu bar titles. Have the browser platform delegate startup the resource bundle system so we can fetch localization data. Make l10n_util::GetApplicationLocale return what cocoa says for the language so we match what the UI is using. TEST=everything still works. BUG=17380 Review URL: http://codereview.chromium.org/164413 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23215 0039d316-1c4b-4281-b951-d872f2087c98
* Update to current Valgrind and tsan.dank@chromium.org2009-08-128-147/+386
| | | | | | | | | | | | | | | | | | | | | New fork and possible patches from Timur. Accept new xml output format. Use --xml-file option if present. Drop two patches already in trunk. Remove obsolete --generate_suppressions code. Accept but ignore --generate_dsym option on non-darwin platforms, so scripts don't need conditionals Switch to using svn revision numbers rather than dates, because svn uses the local timezone to interpret the dates, and this caused patches to fail. Feh. Check to make sure a good copy of valgrind was found before trying to use valgrind. Review URL: http://codereview.chromium.org/160392 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23214 0039d316-1c4b-4281-b951-d872f2087c98
* Disable SyncSetupWizardTest again.tim@chromium.org2009-08-121-1/+3
| | | | | | | | | TBR=cmp BUG=19002 Review URL: http://codereview.chromium.org/165400 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23213 0039d316-1c4b-4281-b951-d872f2087c98
* Add Linux manpage to build archive.mmoss@chromium.org2009-08-122-0/+2
| | | | | | | Review URL: http://codereview.chromium.org/165398 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23212 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 23183.dkegel@google.com2009-08-121-1/+1
| | | | | | Review URL: http://codereview.chromium.org/164412 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23211 0039d316-1c4b-4281-b951-d872f2087c98
* Checkpoint for event automation porting.estade@chromium.org2009-08-128-74/+195
| | | | | | | | Partially based on patch by Dan Kegel. Review URL: http://codereview.chromium.org/164371 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23209 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Playback Rate from the context menu.scherkus@chromium.org2009-08-126-139/+6
| | | | | | | | | | This feature is better implemented as an extension rather than being put into the absolute-core UI. Review URL: http://codereview.chromium.org/164301 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23208 0039d316-1c4b-4281-b951-d872f2087c98
* Fix two leaks in SyncSetupWizard test caused by the mock infrastructuretim@chromium.org2009-08-121-6/+19
| | | | | | | | | | | not doing the cleanup that happens in real life. BUG=19002 TEST=SyncSetupWizardTest Review URL: http://codereview.chromium.org/164370 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23207 0039d316-1c4b-4281-b951-d872f2087c98
* Rolling in new gyp version (import fix from piman).bradnelson@chromium.org2009-08-121-1/+1
| | | | | | | | | | BUG=None TEST=None TBR=sgk Review URL: http://codereview.chromium.org/164406 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23206 0039d316-1c4b-4281-b951-d872f2087c98
* Make text on NNTP popup menu blue, so it can be read in all themes.mirandac@chromium.org2009-08-121-2/+3
| | | | | | | | | BUG= http://crbug.com/18471 TEST= Open new tab page in any theme, click "Change page layout" dropdown menu, note that text is always blue on white. Review URL: http://codereview.chromium.org/165389 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23205 0039d316-1c4b-4281-b951-d872f2087c98
* Update comments in README to reflect LayoutTests moving to third_party/webkitdpranke@google.com2009-08-121-3/+0
| | | | | | | | | | BUG=none R=dglazkov@chromium.org TEST=none Review URL: http://codereview.chromium.org/164384 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23204 0039d316-1c4b-4281-b951-d872f2087c98
* Removing pthreadsgc2.dll from the FILES list - it is no longer needed.robertshield@chromium.org2009-08-121-1/+0
| | | | | | Review URL: http://codereview.chromium.org/164404 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23203 0039d316-1c4b-4281-b951-d872f2087c98
* Fix seccomp sandbox for gcc44markus@chromium.org2009-08-122-2/+2
| | | | | | | | | | | | Constness of return values and paramaters were causing compiler errors. BUG=19120 ISSUE=164373 Review URL: http://codereview.chromium.org/164414 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23202 0039d316-1c4b-4281-b951-d872f2087c98
* Make FtpNetworkTransaction report its load state.phajdan.jr@chromium.org2009-08-124-0/+28
| | | | | | | | | TEST=Covered by net_unittests. http://crbug.com/19095 Review URL: http://codereview.chromium.org/164354 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23201 0039d316-1c4b-4281-b951-d872f2087c98
* Add chrome.extension to extension_api.json and docs.rafaelw@chromium.org2009-08-1222-37/+82
| | | | | | | | | | | | | | This required making it so that extension_api.json definitions defer to existing bindings so that the chrome.extension object can remain setup in renderer_extension_bindings.js. Also fixed a minor bug with error handling in the api_generator.js Moved "Port" type to the new extension module. Removed a bunch of trailing whitespace from the extension_api.json. Review URL: http://codereview.chromium.org/165323 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23200 0039d316-1c4b-4281-b951-d872f2087c98
* Try to fix the Mac build on the canary bot, by excluding a new ↵pkasting@chromium.org2009-08-121-0/+4
| | | | | | | | | | cross-platform file that is not used for CG. BUG=none TEST=none Review URL: http://codereview.chromium.org/164411 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23197 0039d316-1c4b-4281-b951-d872f2087c98
* Remove TransformProcessType from the browser process now that LSUIElementmark@chromium.org2009-08-121-31/+10
| | | | | | | | | | is gone. BUG=8044 TEST=Dock icon still works properly Review URL: http://codereview.chromium.org/165384 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23196 0039d316-1c4b-4281-b951-d872f2087c98
* Make the try job presubmit check (CheckTryJobExecution) less verbose.maruel@chromium.org2009-08-121-21/+19
| | | | | | | | | | Also clean up the Tree is closed presubmit check (CheckTreeIsOpen). TEST=none BUG=none Review URL: http://codereview.chromium.org/165251 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23195 0039d316-1c4b-4281-b951-d872f2087c98
* Fix unused variable on GCC.phajdan.jr@chromium.org2009-08-121-2/+1
| | | | | | | | | TBR=wtc http://crbug.com/18697 Review URL: http://codereview.chromium.org/164410 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23194 0039d316-1c4b-4281-b951-d872f2087c98
* Fix compile on Windows.phajdan.jr@chromium.org2009-08-121-0/+2
| | | | | | | | | TBR=wtc http://crbug.com/18697 Review URL: http://codereview.chromium.org/165391 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23193 0039d316-1c4b-4281-b951-d872f2087c98
* Add new icons to Chrome executable.kuchhal@chromium.org2009-08-121-0/+2
| | | | | | | | | BUG=2047272 TEST=none Review URL: http://codereview.chromium.org/164353 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23191 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash with new FTP in Incognito mode.phajdan.jr@chromium.org2009-08-121-1/+12
| | | | | | | | | TEST=See bug. http://crbug.com/18697 Review URL: http://codereview.chromium.org/165386 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23190 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: Popup notification should have transparent rounded corners.erg@google.com2009-08-126-44/+102
| | | | | | | | Also uses the new consistent border color in GTK theme mode. Review URL: http://codereview.chromium.org/165356 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23189 0039d316-1c4b-4281-b951-d872f2087c98
* Fix several bugs in First Run.jeremy@chromium.org2009-08-124-5/+80
| | | | | | | | | | | | | | | Chromium: * First run no longer displays every time you launch Chromium. * Enable Stats checkbox hidden (it doesn't do anything anyway in Chromium). General: * Import popup menu disables with checkbox. BUG=19163,19171 Review URL: http://codereview.chromium.org/165387 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23188 0039d316-1c4b-4281-b951-d872f2087c98
* Build fix: Scons acts differently than make with direct_dependent_settings.agl@chromium.org2009-08-121-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23187 0039d316-1c4b-4281-b951-d872f2087c98
* Fix PR_ImplodeTime for Linux x64.wtc@chromium.org2009-08-122-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the following error when building for x64 targets: base/third_party/nspr/prtime.cc: In function 'PRTime PR_ImplodeTime(const PRExplodedTime*)': base/third_party/nspr/prtime.cc:173: error: integer overflow in expression base/third_party/nspr/prtime.cc:176: error: integer overflow in expression PRTime is long long (8 bytes) on ia32, and long (8 bytes) on x64. On ia32, LONG_MAX (4 bytes) converted to microseconds fits in the PRTime type, but on x64 LONG_MAX is 8 bytes and so overflows the PRTime type on conversion. Avoid these issues by only returning INT_MAX. On ia32 this is the correct value, and does not change behaviour. On x64 the call to timegm() will always succeed due to the increased range of time_t, so the error condition of -1 should never be reached. Fix a bug in the conditional expression for 1 second before epoch. Patch by Joel Stanley Original review URL: http://codereview.chromium.org/160511 R=dean,wtc BUG=18231 TEST=new unit test Review URL: http://codereview.chromium.org/164366 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23186 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure that CreatorCodeForCFBundleRef returns the "unknown" creator code frommark@chromium.org2009-08-121-1/+1
| | | | | | | | | initialized data even if the system is totally unable to service the request. BUG=19000 Review URL: http://codereview.chromium.org/164388 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23185 0039d316-1c4b-4281-b951-d872f2087c98
* Improve key event handling of AutocompleteEditViewGtk.suzhe@chromium.org2009-08-122-64/+120
| | | | | | | | | | | | | | | | | | | This CL improves key event handling of AutocompleteEditViewGtk class, following changes have been made: 1. Avoid accessing private data member of GtkTextView object, including im_context, need_im_reset etc. 2. Always send key events to the default handler of GtkTextView before handling them by ourselves, to make sure the behavior of IME and GtkTextView are always correct. This fixes the issue of moving focus from omnibox to webpage by pressing Tab key when using XIM im module. 3. Intercept "insert-text" signal of GtkTextBuffer object to prevent any unwanted characters from being inserted into omnibox. 4. Intercept "backspace" signal of GtkTextView object to fix issue 19068: [Linux] Search keywords: Backspace should exit out of search mode BUG=18393: AutocompleteEditViewGtk should not access private members of GtkTextView BUG=19068: [Linux] Search keywords: Backspace should exit out of search mode TEST=Starts a XIM input method, such as scim then open chrome with GTK_IM_MODULE=xim. Opens a webpage and press tab and shift-tab in omnibox to see if focus can be moved to/from webpage correctly. TEST=Copy & paste some text with new line characters to omnibox to see if new line characters are filtered. TEST=Turn on keyword search mode, press backspace to see if it can exit keyword search mode. TEST= Turn on keyword search mode, input some text then press backspace to delete a character, to see if it still in keyword search mode. Then move the cursor to the beginning of the text and press backspace, to see if it exits keyword search mode correctly. Review URL: http://codereview.chromium.org/164142 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23184 0039d316-1c4b-4281-b951-d872f2087c98
* Update v8 to trunk/1.3.3.plesner@chromium.org2009-08-121-1/+1
| | | | | | | BUG=19086,... Review URL: http://codereview.chromium.org/164398 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23183 0039d316-1c4b-4281-b951-d872f2087c98
* Tweak indentationmark@chromium.org2009-08-121-4/+4
| | | | | | Review URL: http://codereview.chromium.org/165379 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23182 0039d316-1c4b-4281-b951-d872f2087c98
* Land Vitaly's regression test for event listener memory leak.ager@chromium.org2009-08-126-5/+163
| | | | | | | | BUG=17400 Review URL: http://codereview.chromium.org/164318 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23181 0039d316-1c4b-4281-b951-d872f2087c98