summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Change gl2.h to default to C bindingsgman@chromium.org2010-03-083-4/+26
| | | | | | | | | | | | This is a smaller change than rearranging the files under gpu. That will be the next step. TEST=none BUG=none Review URL: http://codereview.chromium.org/669258 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40909 0039d316-1c4b-4281-b951-d872f2087c98
* Fix KeyToTag and add unit testskrul@chromium.org2010-03-083-2/+30
| | | | | | | | BUG=37559 Review URL: http://codereview.chromium.org/669211 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40908 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: clean-up of incognito badge code and float -> CGFloat.viettrungluu@chromium.org2010-03-087-41/+38
| | | | | | | | | BUG=none TEST=everything still builds and works Review URL: http://codereview.chromium.org/669277 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40906 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Minor adjustments to the history menu, per the UI team.rsesek@chromium.org2010-03-083-127/+113
| | | | | | | | | | | | | * Increase the number of Recently Closed items to 10. * Move the "Show Full History" item to be at the end of the menu (XIB change). BUG=37209 TEST=Open and navigate 12 tabs. Close 10 of them; History menu should be full. Close one more; history menu stays at 10. TEST="Show Full History" is the last item in the menu. Review URL: http://codereview.chromium.org/660438 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40905 0039d316-1c4b-4281-b951-d872f2087c98
* Add unit test for the "aborted by shutdown" case.skrul@chromium.org2010-03-081-0/+13
| | | | | | | | | | This unit test would crash the code that is on the current dev branch, however with the addition of the DataTypeManager this is no longer a problem on trunk. In the dev version, the PSS would try to try to stop a data type in mid startp causing it to abort, which then rasies and error and tries to stop the same data type again. With the DTM, it knows how to handle aborting a data type startup at shutdown by not letting an aborted stop raise an error. BUG=37243 Review URL: http://codereview.chromium.org/668183 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40904 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing extension install case. Changing the file browser to only get the ↵dhg@chromium.org2010-03-085-9/+162
| | | | | | | | | | list of current downloads, not the history. BUG=none TEST=none Review URL: http://codereview.chromium.org/669186 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40903 0039d316-1c4b-4281-b951-d872f2087c98
* ffmpeg roll to patched getbits ffmpeg fbarchard@chromium.org2010-03-081-1/+1
| | | | | | | | | BUG=35850 TEST=ffmpeg should still build and run as usual. Review URL: http://codereview.chromium.org/669147 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40902 0039d316-1c4b-4281-b951-d872f2087c98
* Adds display name and image to UserManager::User.sky@chromium.org2010-03-082-5/+24
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/668193 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40901 0039d316-1c4b-4281-b951-d872f2087c98
* - Add a custom allocator for STL objects. This fixes sandbox failures thatmarkus@chromium.org2010-03-0813-218/+643
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | were observed on some machines (in particular in 32bit mode). - Some more changes to avoid calling into glibc when we can make a direct system call, instead. These particular call sites were unlikely to cause any problems. But it makes the code easier to audit if we avoid all unnecessary calls into glibc. - In 64bit mode, gettimeofday() is handled by vsyscalls and tends to be cheap. In 32bit mode, it is just a regular system call. Some users rely on being able to call gettimeofday() at a very high rate (up to thousands of consecutive calls). Recognize this system call pattern and optimize for it. - Add debugging option that allows us to warn about expensive system calls. In many cases, these warnings can then be used to optimize the sandboxed application. - Fix compilation on newer versions of gcc. - Changed the x86-32 version of the code that we use when intercepting system calls. Previously, we would use CALL to jump to the set of instructions that we had relocated. But we made the mistake of allowing relocation of instructions that reference %esp. This doesn't work, as CALL modifies the stack. We now avoid using CALL and instead jump directly. On x86-32 that requires the use of a PUSH/RET combination as there is no 32bit wide JMP instruction. The x86-64 version of the code was already written in a way that would avoid this particular problem. (I would like to thank Craig Schlenter for his exceptional detective work in tracking down the root cause of this bug!) - For debugging purposes, injected a really small library (less than 4kB) and discovered that some of our memory map manipulations implicitly relied on mappings to be at least two pages long. Fixed the code that made this incorrect assumption. - For really small libraries, the runtime linker can choose a different more compact layout. Our computation of the ASR offset did not know how to deal with that. Fixed by explicitly looking for a ".text" segment instead of looking for a PT_DYNAMIC section. - Closed a file descriptor that we kept open longer than needed. - Removed some unused code. - Added copyright headers TEST=tested on i386 and x86-64 BUG=36133 Review URL: http://codereview.chromium.org/661438 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40900 0039d316-1c4b-4281-b951-d872f2087c98
* Fix possible race condition with updating close-tab/window key equivalents ↵pinkerton@google.com2010-03-081-5/+17
| | | | | | | | | | from a thread that's not the main thread. Go back to performSelector:withObject:afterDelay: if we are on the main thread because moving to performSelectorOnMainThread: made drag and drop really janky. BUG=37111, 37091, 32786 TEST=close-window/close tab command key regression testing, visuals dragging a tab should suck less. Review URL: http://codereview.chromium.org/668260 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40899 0039d316-1c4b-4281-b951-d872f2087c98
* ChromeFrame now uses host provided popup blocker.stoyan@chromium.org2010-03-0815-142/+226
| | | | | | | | | | | It does not work in all scenarions since from Chrome side an empty string is passed as target url. Note in IE6 "Tools/Popup Blocker" menu is not visible if ChromeFrame is the activedocument. Have to support some IOleCommandTarget command.. BUG=34823 Review URL: http://codereview.chromium.org/668168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40897 0039d316-1c4b-4281-b951-d872f2087c98
* Adds the ability to observer messages from the window manager.sky@chromium.org2010-03-082-0/+21
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/668192 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40896 0039d316-1c4b-4281-b951-d872f2087c98
* NaCl: remove --no-sandbox flag when running tests on Linuxmseaborn@chromium.org2010-03-081-1/+1
| | | | | | | | | | | With the recent DEPS update, the NaCl internal plugin works inside the Linux SUID sandbox. BUG=36676 TEST=nacl_ui_tests Review URL: http://codereview.chromium.org/669269 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40895 0039d316-1c4b-4281-b951-d872f2087c98
* Zygote: Clarify relationship between HandleForkRequest() and ChromeMain()mseaborn@chromium.org2010-03-082-11/+14
| | | | | | | | | | | | | | HandleForkRequest() returns to ChromeMain() multiple times, once per fork(). Add comments to indicate this, because this type of control flow is unusual. HandleReapRequest() and HandleDidProcessCrash() never spawn a new renderer, so remove the possibility that these can do "return true" to do so. Review URL: http://codereview.chromium.org/669065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40894 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for geolocation wifi scanning on OSX 10.6joth@chromium.org2010-03-084-33/+201
| | | | | | | | | BUG=http://crbug.com/37198 TEST=Run browser with --enable-geolocation on OSX 10.6, open maps.google.com Review URL: http://codereview.chromium.org/669083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40891 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION from 348.0 to 349.0chrome-release@google.com2010-03-081-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40889 0039d316-1c4b-4281-b951-d872f2087c98
* Pulls the Hungarian dictionary.hbono@chromium.org2010-03-081-1/+1
| | | | | | | | | | This change pulls the Hungarian dictionary added as r40614 to the Chromium source tree. BUG=15558 TEST=http://codereview.chromium.org/661460 Review URL: http://codereview.chromium.org/668054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40887 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unnecessary braces.jochen@chromium.org2010-03-081-2/+1
| | | | | | | | | | BUG=none TEST=none TBR=abarth@ Review URL: http://codereview.chromium.org/668252 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40886 0039d316-1c4b-4281-b951-d872f2087c98
* Fix issue 27927: linux hang in RenderViewTest.ImeComposition.suzhe@chromium.org2010-03-082-6/+14
| | | | | | | | | BUG=27927 TEST=none Review URL: http://codereview.chromium.org/668219 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40885 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a memory leak in the new unittest.tony@chromium.org2010-03-081-0/+1
| | | | | | | | TBR=darin Review URL: http://codereview.chromium.org/668250 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40884 0039d316-1c4b-4281-b951-d872f2087c98
* Roll to webKit r55654.levin@chromium.org2010-03-081-1/+1
| | | | | | | | TBR=michaeln@chromium.org Review URL: http://codereview.chromium.org/669260 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40883 0039d316-1c4b-4281-b951-d872f2087c98
* First cut at custom user style sheets.tony@chromium.org2010-03-0816-18/+242
| | | | | | | | | | | | | | | | | | | | Enabled with the --enable-user-stylesheet flag which causes chrome to read <user-data-dir>/<profile>/User StyleSheet/Custom.css at startup and set it as the user style sheet. This version never reloads the user style sheet, I'll have to bring back FileWatcher for that. I also put the user stylesheet in a subdir because the implementation of FileWatcher will watch the parent dir (this is what the OS apis give me) and watching the profile dir will cause lots of activity. BUG=2393 Review URL: http://codereview.chromium.org/660349 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40882 0039d316-1c4b-4281-b951-d872f2087c98
* Fix missing favicon for chrome://extensions/arv@chromium.org2010-03-081-0/+3
| | | | | | | | | | | | It was mistakenly removed in r40468. BUG=None TEST=None TBR=aa@chromium.org Review URL: http://codereview.chromium.org/669261 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40881 0039d316-1c4b-4281-b951-d872f2087c98
* Automatically recovers an IME connection.yusukes@chromium.org2010-03-081-1/+6
| | | | | | | | | | | Depends on: http://codereview.chromium.org/668142 BUG=crosbug.com/1768 TEST=see the bug Review URL: http://codereview.chromium.org/668144 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40880 0039d316-1c4b-4281-b951-d872f2087c98
* Remove obsolete TODOs. No code change.yusukes@chromium.org2010-03-081-3/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/668238 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40879 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit roll to r55636.levin@chromium.org2010-03-082-1/+2
| | | | | | | | | | One minor build fix due to WebKit r55633. TBR=michaeln@chromium.org Review URL: http://codereview.chromium.org/668172 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40878 0039d316-1c4b-4281-b951-d872f2087c98
* Add tests for AutoFillField.jhawkins@chromium.org2010-03-074-13/+108
| | | | | | | | BUG=none TEST=AutoFillFieldTest Review URL: http://codereview.chromium.org/669203 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40876 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r40855 with chromeos fix.jhawkins@chromium.org2010-03-0717-3/+20
| | | | | | | | | | | webkit/glue: string_util.h -> utf_string_conversions.h fix. TBR=bradnelson BUG=none TEST=none Review URL: http://codereview.chromium.org/668242 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40872 0039d316-1c4b-4281-b951-d872f2087c98
* Tighten down OS X sandbox a bit.jeremy@chromium.org2010-03-073-11/+11
| | | | | | | | | | BUG=None TEST=Browsing to popular websites on OS X 10.5 & 10.6 should continue to work. Be sure to test on both 10.5 and 10.6 Review URL: http://codereview.chromium.org/660444 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40867 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION from 347.0 to 348.0chrome-release@google.com2010-03-071-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40865 0039d316-1c4b-4281-b951-d872f2087c98
* Pulling in one more nacl dependency improvement.bradnelson@google.com2010-03-071-1/+1
| | | | | | | | | | BUG=None TEST=None TBR=gregoryd Review URL: http://codereview.chromium.org/669254 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40860 0039d316-1c4b-4281-b951-d872f2087c98
* Add ocx to the dangerous extensions listabarth@chromium.org2010-03-071-0/+1
| | | | | | | | | | BUG=37447 TEST=Serve an .ocx via content-disposition attachment header. Check if the warning message appears. Patch by the great and powerful Inferno. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40859 0039d316-1c4b-4281-b951-d872f2087c98
* Initial implementation of Drag and Drop for the extension BMM.feldstein@chromium.org2010-03-0712-66/+498
| | | | | | Review URL: http://codereview.chromium.org/660139 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40858 0039d316-1c4b-4281-b951-d872f2087c98
* Pulling in latest nacl.bradnelson@google.com2010-03-071-1/+1
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/668233 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40857 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 40855 - webkit/glue: string_util.h > utf_string_conversions.h fix.bradnelson@google.com2010-03-0716-19/+3
| | | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/668229 TBR=jhawkins@chromium.org Review URL: http://codereview.chromium.org/669251 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40856 0039d316-1c4b-4281-b951-d872f2087c98
* webkit/glue: string_util.h -> utf_string_conversions.h fix.jhawkins@chromium.org2010-03-0716-3/+19
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/668229 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40855 0039d316-1c4b-4281-b951-d872f2087c98
* app: string_util.h -> utf_string_conversions.h fix.jhawkins@chromium.org2010-03-068-13/+27
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/668226 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40853 0039d316-1c4b-4281-b951-d872f2087c98
* media: string_util.h -> utf_string_conversions.h fix.jhawkins@chromium.org2010-03-063-3/+3
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/668227 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40852 0039d316-1c4b-4281-b951-d872f2087c98
* webkit/tools: string_util.h -> utf_string_conversions.h fix.jhawkins@chromium.org2010-03-069-8/+10
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/668228 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40851 0039d316-1c4b-4281-b951-d872f2087c98
* webkit/database: string_util.h -> utf_string_conversions.h fix.jhawkins@chromium.org2010-03-064-4/+5
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/668230 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40850 0039d316-1c4b-4281-b951-d872f2087c98
* printing: string_util.h -> utf_string_conversions.h fix.jhawkins@chromium.org2010-03-062-2/+6
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/669242 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40849 0039d316-1c4b-4281-b951-d872f2087c98
* tools: string_util.h -> utf_string_conversions.h fix.jhawkins@chromium.org2010-03-061-1/+1
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/668231 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40848 0039d316-1c4b-4281-b951-d872f2087c98
* Initial implementation of status tray functionality (mac-only, currently).atwilson@chromium.org2010-03-0619-6/+534
| | | | | | | | | | | | Added Mac implementation of StatusIcon, and added a simple click callback that displays the "extensions" tab when clicked on, to allow us to dogfood long-lived extensions. BUG=37375 Review URL: http://codereview.chromium.org/661454 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40847 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit roll: 55627:55629pfeldman@chromium.org2010-03-061-1/+1
| | | | | | | TBR=levin git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40846 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit roll: 55614:55627pfeldman@chromium.org2010-03-061-1/+1
| | | | | | | TBR=levin git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40843 0039d316-1c4b-4281-b951-d872f2087c98
* Added OOBE update screen stub.finnur@chromium.org2010-03-0613-71/+218
| | | | | | | | | | | | | | | Moved OOBE views classes to the chromeos namespace. BUG=35249 TEST=run out/Debug/chrome --login-manager --login-screen=update TBR=denisromanov (Checking in patch for Denis Romanov, previously reviewed here: http://codereview.chromium.org/669089/show) Review URL: http://codereview.chromium.org/669241 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40842 0039d316-1c4b-4281-b951-d872f2087c98
* Make plugin buffer changes robust against synchronous plugin call nestingstuartmorgan@chromium.org2010-03-065-39/+49
| | | | | | | | | | | | | Makes SetWindowlessBuffer take a rect argument so it doesn't depend on the delegate being updated, then makes UpdateGeometry call that first so that changes can't accidentally be handled in reverse order if calling into the plugin's SetWindow results in nesting. Also combines updating the plugin geometry and context on the Mac into one call, since we don't want the plugin to have mismatched context and size information. Unblacklists Move Networks player on the Mac since these changes fix its crash. BUG=28298 TEST=Open the Move Networks sample on the Mac, and resize it. It should play without crashing. Review URL: http://codereview.chromium.org/668186 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40841 0039d316-1c4b-4281-b951-d872f2087c98
* [Linux] Fix BookmarkBarGtkBrowserTest.ClickOnFloatingTestsuzhe@chromium.org2010-03-062-2/+2
| | | | | | | | | BUG=37591 TEST=none Review URL: http://codereview.chromium.org/668224 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40840 0039d316-1c4b-4281-b951-d872f2087c98
* Disable broken test: BookmarkBarGtkBrowserTest.ClickOnFloatingTestsuzhe@chromium.org2010-03-061-1/+1
| | | | | | | | | | BUG=37591 TEST=none TBR=estade Review URL: http://codereview.chromium.org/668223 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40839 0039d316-1c4b-4281-b951-d872f2087c98
* Don't mirror menu position for RTL because on Windows we set RLT window ↵dpolukhin@google.com2010-03-063-23/+22
| | | | | | | | | | | | | flags and Window does it for us. Place mirroring changes from http://codereview.chromium.org/601032 to GTK specific part. TEST=In TRL layout check drop down menus on Windows, Linux and Chrome OS - on all platforms menu should be inside Chrome window. BUG=36627 Review URL: http://codereview.chromium.org/660376 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40838 0039d316-1c4b-4281-b951-d872f2087c98