summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed possible crash in {Bookmark,Preference}DataTypeControllerakalin@chromium.org2010-04-145-12/+42
| | | | | | | | | | | when OnUnrecoverableError() is called after Start(). BUG=41438 TEST=unittests Review URL: http://codereview.chromium.org/1630021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44508 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed loss of rendered output on Mac OS X if Pepper 3D application useskbr@google.com2010-04-1415-180/+296
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | framebuffer objects. Conditionalized allocation of FBO in AcceleratedSurface class, and changed SwapBuffers to optionally copy from the current context's back buffer. Changed GPUProcessor on Mac to always use PbufferGLContext, and hooked in optional call to AcceleratedSurface's SwapBufers before calling user's callback. Completely disabled ViewGLContext on Mac OS X. This causes Pepper 3D applications to use the GGL default back buffer on Mac, which is the desired behavior. Ideally the FBO allocation would be factored out of the AcceleratedSurface class, and ideally the pbuffer setup code would not be duplicated between this class and PbufferGLContext. However, these cleanups are being deferred because they require substantial refactorings. Removed accelerated_surface_stub.cc, which isn't needed any more since AcceleratedSurface moved to app/. Tested: - Pepper 3D plugin with glBindFramebuffer(GL_FRAMEBUFFER, 0) in place with both IOSurface and TransportDIB code paths - Unity 3D with IOSurface / Core Animation code path BUG=41004 TEST=none (ran above tests) Review URL: http://codereview.chromium.org/1637007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44507 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 44504 - AutofillDataTypeController should invoke start callback on abort.skrul@chromium.org2010-04-1415-349/+20
| | | | | | | | | | | BUG=41361 Review URL: http://codereview.chromium.org/1513034 TBR=skrul@chromium.org Review URL: http://codereview.chromium.org/1564032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44506 0039d316-1c4b-4281-b951-d872f2087c98
* Implement cut and paste and rework copy and delete bookmark actions from ↵mrossetti@chromium.org2010-04-148-1400/+1449
| | | | | | | | | | | | | | | context menus. Eliminate bifurcated 'parentController_' data member (leaving this common behavior to the BookmarkFolderTarget class). Provide context menus (one for button and another for folder) for the folder controller thus allowing far easier identification of the target of the action. BookmarkBar.xib changes: Added Cut and Paste menu items to the button and folder contextual menus. Reconfigured the menus with separators and some rearranging to match Windows. BookmarkBarFolderWindow.xib changes: Copied the button and folder contextual menus from the BookmarkBar.xib and wired them up to the folder controller instead. BUG=23541 TEST=Present context menu for bookmark bar and verify the presence of Cut/Copy/Paste/Delete. Verify proper enabling (i.e. Paste should not be enabled until a bookmark or folder has been Cut or Copied). Perform each action Cut, Copy, Delete and Paste. Perform these tests for the contents of a folder coming off of the bookmark bar and for subfolders, too. Insure that pasting can be performed from the bar to a folder, a folder to the bar, bar to bar, folder to folder, at the beginning and at the end of each. Review URL: http://codereview.chromium.org/1611027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44505 0039d316-1c4b-4281-b951-d872f2087c98
* AutofillDataTypeController should invoke start callback on abort.skrul@chromium.org2010-04-1415-20/+349
| | | | | | | | BUG=41361 Review URL: http://codereview.chromium.org/1513034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44504 0039d316-1c4b-4281-b951-d872f2087c98
* Add more expectations for Mac 10.6.chase@chromium.org2010-04-141-1/+5
| | | | | | | | | BUG=36799 TEST=mac 10.6 tests are green Review URL: http://codereview.chromium.org/1613017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44503 0039d316-1c4b-4281-b951-d872f2087c98
* Looping for audio / videohclam@chromium.org2010-04-143-13/+36
| | | | | | | | | | Fixed the looping problem with audio / video. BUG=39478 TEST=audio plays with looping Review URL: http://codereview.chromium.org/1620010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44502 0039d316-1c4b-4281-b951-d872f2087c98
* Show an error infobar when we fail to retrieve the translate script.jcivelli@google.com2010-04-143-27/+53
| | | | | | | | | | | BUG=41349 TEST=Visit a page in a language different than the Chrome UI language. Disconnect the network cable. Click Translate in the infobar. After some time an error infobar should be shown. Review URL: http://codereview.chromium.org/1602024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44501 0039d316-1c4b-4281-b951-d872f2087c98
* Update breakpad to use new Chrome version info from r44435.mmoss@google.com2010-04-141-1/+1
| | | | | | | | | Fixes Linux official build: chrome/app/breakpad_linux.cc:184: error: ‘PRODUCT_VERSION’ was not declared in this scope Review URL: http://codereview.chromium.org/1630022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44500 0039d316-1c4b-4281-b951-d872f2087c98
* status_icons: Fix include issues.atwilson@chromium.org2010-04-145-15/+2
| | | | | | | | | | | BUG=None TEST=compiles Patch from Thiago Farina <thiago.farina@gmail.com> Review URL: http://codereview.chromium.org/1547020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44499 0039d316-1c4b-4281-b951-d872f2087c98
* ReloadSharedInstance() added to change the locale on the live system.glotov@google.com2010-04-144-13/+54
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/1648004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44498 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Adds a BookmarkButtonDelegate method to retrieve the top-level browser ↵rohitrao@chromium.org2010-04-145-1/+17
| | | | | | | | | | window. Used to lock bar visibility when dragging. BUG=40740 TEST=Go Fullscreen. Drag a bookmark button that is inside a folder. When the folder disappears, the overlay bar should stay visible. Review URL: http://codereview.chromium.org/1610023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44497 0039d316-1c4b-4281-b951-d872f2087c98
* Fix IDN urls in geolocation infobars and bubbles (but not exceptions dialog)joth@chromium.org2010-04-142-11/+19
| | | | | | | | | BUG=40278 TEST=As per adhoc method in the bug. Open infobar & bubble, check they show URL in arabic Review URL: http://codereview.chromium.org/1612017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44496 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the expectations for the ChromeFrame FullTabModeIE_BackForwardAnchor ↵ananta@chromium.org2010-04-143-9/+33
| | | | | | | | | | test to get it to work on IE6. It appears that on IE6 we don't receive the BeforeNavigate notifications for the anchor URLs. Review URL: http://codereview.chromium.org/1568032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44495 0039d316-1c4b-4281-b951-d872f2087c98
* Increase linux startup perf expectations.chase@chromium.org2010-04-141-1/+1
| | | | | | | | | | BUG=41485 TEST=linux startup perf is green TBR=nsylvain@chromium.org Review URL: http://codereview.chromium.org/1525033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44494 0039d316-1c4b-4281-b951-d872f2087c98
* Acquire registrar_lock_ before [de]activating data types in the sync backend ↵tim@chromium.org2010-04-141-2/+3
| | | | | | | | | | | host. BUG=37153 Review URL: http://codereview.chromium.org/1286004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44493 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Fix search icon in keyword search to be right-side-up.shess@chromium.org2010-04-141-4/+27
| | | | | | | | | | | | | | | The search icon (magnifying glass) in the keyword-search bubble was inverted. The icon was shared with other code which called |-setFlipped:| incompatibly. Also line up the icon above the popup icons, and match the text baseline with the field's baseline. BUG=41012 TEST=Type "google.com" then TAB. Mag glass is upright (like in popup). Review URL: http://codereview.chromium.org/1574026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44492 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit roll 57510 -> 57582.antonm@chromium.org2010-04-141-1/+1
| | | | | | Review URL: http://codereview.chromium.org/1540037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44491 0039d316-1c4b-4281-b951-d872f2087c98
* Improve plugin performance on the Macstuartmorgan@chromium.org2010-04-145-12/+37
| | | | | | | | | | | | | | This makes a few changes: - Switch to memcpy instead of CG drawing to copy pixels from the transport bitmap to the backing bitmap (this is a substantial perf win). - Send transparancy information to the WebPluginDelegate, since it's no longer equivalent to not having a background DIB on the Mac (and likely on the other platforms in the future). - Don't clear the transport DIB for non-transparent plugins, since they will be drawing over whatever is there anyway. BUG=41340 TEST=Both transparent and non-transparent plugins should continue to draw correctly. Framerates for large CG plugins (e.g., in-window Netflix streaming) should be higher. Review URL: http://codereview.chromium.org/1629017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44490 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "r44062 Fix issue where the size of notification onoshima@chromium.org2010-04-145-22/+11
| | | | | | | | | | | | | | | | linux/views gets created bigger than max size." This is not right fix. This reverts commit ef67a340932fffa116b72413c7e5e425019f32a1. BUG=none TEST=none TBR=johnnyg@chromium.org Review URL: http://codereview.chromium.org/1618016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44489 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "r43732 Use CSS word-wrap property to prevent longoshima@chromium.org2010-04-143-6/+0
| | | | | | | | | | | | single words from causing ugly notifications." This reverts commit 0f42cfcc13c6d060fe8e43f6d8b5f069849f08f0. This change makes the balloon's intial size bigger. Review URL: http://codereview.chromium.org/1629015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44488 0039d316-1c4b-4281-b951-d872f2087c98
* new image for notification menu.oshima@chromium.org2010-04-141-0/+0
| | | | | | | | | | BUG=41011 TEST=none TBR=davemoore@chromium.org Review URL: http://codereview.chromium.org/1637010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44487 0039d316-1c4b-4281-b951-d872f2087c98
* Resource changes to the mediaplayerdhg@chromium.org2010-04-1410-128/+132
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/1627017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44486 0039d316-1c4b-4281-b951-d872f2087c98
* Update V8 to version 2.2.3.1.whesse@chromium.org2010-04-141-1/+1
| | | | | | Review URL: http://codereview.chromium.org/1582029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44484 0039d316-1c4b-4281-b951-d872f2087c98
* Use a widget as drag icon for proper transparency handling.xiyuan@chromium.org2010-04-141-5/+62
| | | | | | | | | | | | | | | gtk_drag_set_icon_pixbuf converts pixbuf with alpha into a pixmap and mask. It uses the pixmap as window back pixmap and shape the window with the mask. This should work theoretically. However, the underlying window's content get mixed into the drag icon and make it un-usable. So changing to use a drag icon widget of our own which would render everything correctly. BUG=none. TEST=Verify the drag-n-drop works correct without a messed up drag icon on bookmark bar and omnibox. Review URL: http://codereview.chromium.org/1630017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44483 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: Set the selection colors on the omnibox.erg@chromium.org2010-04-141-0/+24
| | | | | | | | | | | This prevents GTK theme colors from bleeding into the omnibox. TEST=none BUG=none Review URL: http://codereview.chromium.org/1605026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44482 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure proper teardown of repost form warning objects.bauerb@chromium.org2010-04-147-30/+23
| | | | | | | | | | | | | | | | | | | | | Make sure a repost form warning is closed properly even when the constrained window is closed from underneath us. To do this, its controller now calls |Cancel| in its destructor. We now have a potential cycle of methods calling each other: * |RepostFormWarningController::CloseDialog| closes the |ConstrainedWindow|. * This eventually calls |RepostFormWarningWin::DeleteDelegate|, which destroys |RepostFormWarningWin| and |RepostFormWarningController|. * In its destructor, |RepostFormWarningController| calls |Cancel|, which calls |CloseDialog|. Therefore, there are some checks in place to make sure we do everything during the teardown exactly once: * After calling |NavigationController::CancelPendingReload|, we set |tab_contents| to null to make sure we don't call it again. * During destruction, we set |window_| to null to make sure we don't call |CloseConstrainedWindow| again. BUG=41367 TEST=RepostFormWarningTest.* Review URL: http://codereview.chromium.org/1530032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44481 0039d316-1c4b-4281-b951-d872f2087c98
* Never unload plugins from the plugin process on the Macstuartmorgan@chromium.org2010-04-141-4/+3
| | | | | | | | | | | This has happened to enough plugins now that it seems better to just make it a blanket policy on the Mac. We don't gain anything by unloading them at shutdown. BUG=41431 TEST=Internal Flash shouldn't crash on unload. Review URL: http://codereview.chromium.org/1652003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44479 0039d316-1c4b-4281-b951-d872f2087c98
* Add a forgotten file to fix the CrOS build.brettw@chromium.org2010-04-141-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44478 0039d316-1c4b-4281-b951-d872f2087c98
* Try to fix CrOS build.brettw@chromium.org2010-04-141-2/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44477 0039d316-1c4b-4281-b951-d872f2087c98
* Remove registration of the extension protocol late in the init process. Thisbrettw@chromium.org2010-04-146-16/+17
| | | | | | | | | | | | | protocol is already getting registered by url_util.cc super early in the process, so this extra registration is redundant. Re-adding the protocol later apparently modifies the set that url_util uses, and when this happens there could be other threads reading it. BUG=41150 TEST=none Review URL: http://codereview.chromium.org/1545029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44476 0039d316-1c4b-4281-b951-d872f2087c98
* Schedule PasswordStore tasks on the DB thread on Windows and Linux; add aalbertb@chromium.org2010-04-145-17/+36
| | | | | | | | | | | | NOTREACHED in the profile initialization when the password store fails to initialize correctly. BUG=35038 TEST=PasswordStoreMacTest.* Review URL: http://codereview.chromium.org/1528036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44475 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 44473 (build breakage on bots) - Add multiversion delegation to ↵robertshield@chromium.org2010-04-1411-488/+5
| | | | | | | | | | | | | | | Chrome Frame such that CF will scan for older versions on load and delegate to them. This is to support clean upgrade scenarios whereby a new version is registered while IE is running. BUG=40117 TEST=Register a new CF version while an old one is loaded in IE. Open a few new tabs and observe nothing bad happening. Review URL: http://codereview.chromium.org/1562018 TBR=robertshield@chromium.org Review URL: http://codereview.chromium.org/1604035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44474 0039d316-1c4b-4281-b951-d872f2087c98
* Add multi-version delegation to Chrome Frame such that CF will scan for ↵robertshield@chromium.org2010-04-1411-5/+488
| | | | | | | | | | | | older versions on load and delegate to them. This is to support clean upgrade scenarios whereby a new version is registered while IE is running. BUG=40117 TEST=Register a new CF version while an old one is loaded in IE. Open a few new tabs and observe nothing bad happening. Review URL: http://codereview.chromium.org/1562018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44473 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Hook up the IBActions on the ExtensionInstallPromptNoWarnings.xib so ↵rsesek@chromium.org2010-04-141-6/+23
| | | | | | | | | | | that the buttons work. BUG=crbug.com/41403 TEST=See bug report for repro steps. Review URL: http://codereview.chromium.org/1595024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44472 0039d316-1c4b-4281-b951-d872f2087c98
* Open the languages dialog, rather than the system option.satorux@chromium.org2010-04-141-2/+7
| | | | | | | | | TEST=manually BUG=crosbug.com/2137 Review URL: http://codereview.chromium.org/1640010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44471 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 44348 Add support for restricting broadcasting events to extensions ↵jochen@chromium.org2010-04-1435-65/+233
| | | | | | | | | | | | based on host permissions BUG=38398 TEST=none TBR=jochen@chromium.org Review URL: http://codereview.chromium.org/1528038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44470 0039d316-1c4b-4281-b951-d872f2087c98
* Add LanguageConfigView::Show()satorux@chromium.org2010-04-143-13/+20
| | | | | | | | | | | Along the way, refactor some related code. BUG=now TEST=manually Review URL: http://codereview.chromium.org/1605029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44469 0039d316-1c4b-4281-b951-d872f2087c98
* Language menu improvements.yusukes@google.com2010-04-141-28/+27
| | | | | | | | | | | | | - Use ISO 639-1 language code for input method indicator. - Do not use raw language codes in the drop-down menu. BUG=crosbug.com/2428 BUG=crosbug.com/2564 TEST=manual Review URL: http://codereview.chromium.org/1622025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44467 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION from 377.0 to 378.0chrome-release@google.com2010-04-141-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44465 0039d316-1c4b-4281-b951-d872f2087c98
* The geolocation icon must be displayed even if the current origin change its ↵bulach@chromium.org2010-04-142-4/+21
| | | | | | | | | | | | document or query params. We should only remove the icon when visiting a new origin or the underlying setting has changed. BUG=40742 Review URL: http://codereview.chromium.org/1640004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44463 0039d316-1c4b-4281-b951-d872f2087c98
* Add logic to change UI language.satorux@chromium.org2010-04-141-14/+31
| | | | | | | | | | | | | | At this moment, this requires a browser restart, thus shows a dialog about it. DPENDS_ON http://codereview.chromium.org/1595026/show BUG=crosbug.com/2336 TEST=manually Review URL: http://codereview.chromium.org/1645007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44462 0039d316-1c4b-4281-b951-d872f2087c98
* This change adds a single pref to sync: you can find it inakalin@chromium.org2010-04-141-0/+1
| | | | | | | | | | | | | | the UI by Options->Change AutoFill settings->click on an address->click on "Make this my default profile" flag. ( Original patch by raz@chromium.org ) BUG=41247 TEST=Set this pref in one browser, sync it in the other Review URL: http://codereview.chromium.org/1612019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44461 0039d316-1c4b-4281-b951-d872f2087c98
* Replace HWND with gfx::NativeWindow in RestartMessageBox so it works on Linux.satorux@chromium.org2010-04-143-7/+10
| | | | | | | | | TEST=confirmed it worked on linux and didn't break the windows build by trybots BUG=none Review URL: http://codereview.chromium.org/1595026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44460 0039d316-1c4b-4281-b951-d872f2087c98
* Add more directories to export_tarball.py's exclude list.phajdan.jr@chromium.org2010-04-141-0/+2
| | | | | | | | | | | | | Recently the tarball got approx. 2x bigger because of that. TBR=nsylvain TEST=none BUG=29044 Review URL: http://codereview.chromium.org/1545036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44458 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the --enable-user-stylesheet flag.tony@chromium.org2010-04-143-8/+5
| | | | | | | | | | Startup perf was not impacted in an earlier test run, so this should be safe. BUG=38182 Review URL: http://codereview.chromium.org/1530031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44457 0039d316-1c4b-4281-b951-d872f2087c98
* Incorrect chroma on the right border fixed.sergeyu@chromium.org2010-04-141-13/+12
| | | | | | | | | BUG=19113 TEST=Right border has correct color Review URL: http://codereview.chromium.org/1518027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44455 0039d316-1c4b-4281-b951-d872f2087c98
* Change IME hot-key.yusukes@google.com2010-04-141-2/+3
| | | | | | | | | | | | | Removed Control+space since it's just for testing. Added Alt+~ which is popular for Japanese IME users on Windows. We will add more hot-keys like 'Right-Alt+Right-Shift' and 'Zenkaku_Hankaku' later (in a separate CL). BUG=crosbug/492 TEST=manual Review URL: http://codereview.chromium.org/1593026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44454 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the DumpRenderTree compile.tony@chromium.org2010-04-141-0/+4
| | | | | | | | | I added this method to webkit_glue in r44435, but forgot to add it to this file. Review URL: http://codereview.chromium.org/1566042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44453 0039d316-1c4b-4281-b951-d872f2087c98
* Change "OK" button to "Done" button, to follow the mock from UX.satorux@chromium.org2010-04-142-0/+13
| | | | | | | | | | | | Along the way, remove "Cance" button. If really needed, we could adding support for canceling in the future. BUG=crosbug.com/2074 TEST=manually Review URL: http://codereview.chromium.org/1612018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44452 0039d316-1c4b-4281-b951-d872f2087c98