summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Revert 27397 - First step towards NaClChrome integration:1. NaCl plugin ↵gregoryd@google.com2009-09-2824-475/+17
| | | | | | | | | | | | | becomes a builtin plugin in Chrome and runs in the renderer process.2. Most of the changes are related to launching the NaCl process (that loads and runs the NaCl module) and establishing the initial communication between that process and the NaCl plugin.3. Command line flag "internalnacl" is required to enable the builtin NaCl plugin. NaCl still cannot run in Chrome sandbox, the flag automatically disables the sandboxCommitted: http://src.chromium.org/viewvc/chrome?view=rev&revision=27315 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=27324 Review URL: http://codereview.chromium.org/153002 TBR=gregoryd@google.com Review URL: http://codereview.chromium.org/235042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27400 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION build from 219.4 to 219.5laforge@chromium.org2009-09-281-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27399 0039d316-1c4b-4281-b951-d872f2087c98
* Pulls ActiveWindowWatcher into app so that we can use it insky@chromium.org2009-09-288-160/+68
| | | | | | | | | | | | | views. Converts from using notification server to observer as notification service is chrome only. Also changes the pointer type used by window_gtk to be a left arrow. BUG=none TEST=none Review URL: http://codereview.chromium.org/245016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27398 0039d316-1c4b-4281-b951-d872f2087c98
* First step towards NaCl-Chrome integration:1. NaCl plugin becomes a built-in ↵gregoryd@google.com2009-09-2824-17/+475
| | | | | | | | | plugin in Chrome and runs in the renderer process.2. Most of the changes are related to launching the NaCl process (that loads and runs the NaCl module) and establishing the initial communication between that process and the NaCl plugin.3. Command line flag "--internal-nacl" is required to enable the built-in NaCl plugin. NaCl still cannot run in Chrome sandbox, the flag automatically disables the sandboxCommitted: http://src.chromium.org/viewvc/chrome?view=rev&revision=27315 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=27324 Review URL: http://codereview.chromium.org/153002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27397 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Initialize profile_ and process_images_ in the constructor.jhawkins@chromium.org2009-09-282-3/+4
| | | | | | | | | CID=3971 BUG=none TEST=none Review URL: http://codereview.chromium.org/219014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27396 0039d316-1c4b-4281-b951-d872f2087c98
* Add columns to gtk task manager.thakis@chromium.org2009-09-281-1/+51
| | | | | | | | | BUG=16221 TEST=Open task man, right-click dialog, enable new columns (image size, script size, css size), surf around. Review URL: http://codereview.chromium.org/245018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27394 0039d316-1c4b-4281-b951-d872f2087c98
* Implementing chrome.i18n.getMessage call, that loads message from the ↵cira@chromium.org2009-09-2824-32/+515
| | | | | | | | | | | | | | | | | | | extension catalog, and if necessary replaces placeholders (up to 9). I have 3 forms of getMessage call: getMessage("name") for simple messages without placeholders. getMessage("name", "one param") for messages with only one placeholder. getMessage("name", ["one", "two"]) for messages with only one or more placeholders. getMessage returns string. BUG=12131 TEST=Load samples/i18n extension (switch Chrome to sr locale) and observe ext. name, description and toolstrip texts should be in Serbian. Review URL: http://codereview.chromium.org/225009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27393 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Initialize message_loop_ in the constructor.jhawkins@chromium.org2009-09-281-1/+2
| | | | | | | | | CID=1505 BUG=none TEST=none Review URL: http://codereview.chromium.org/219036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27392 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes regression in drop arrow. Specifically window properties weresky@chromium.org2009-09-281-3/+3
| | | | | | | | | | | being set after Init, which does no good. BUG=23180 TEST=see bug Review URL: http://codereview.chromium.org/251019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27391 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Initialize message_response_timeout_ in the constructor.jhawkins@chromium.org2009-09-281-0/+1
| | | | | | | | | CID=1504 BUG=none TEST=none Review URL: http://codereview.chromium.org/223028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27390 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 27379, in hopes of fixing browser_tests.senorblanco@chromium.org2009-09-2818-48/+87
| | | | | | | | TBR=darin Review URL: http://codereview.chromium.org/248021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27389 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: add note to about:memoy re missing renderers.agl@chromium.org2009-09-281-1/+1
| | | | | | | | | | | | | | | | | | On Linux, we cannot gets at the 'maps' nor 'smaps' files for our renderers when they are sandboxed (because they are non-dumpable). One could imaging plumbing IPC calls to the renderers for this information, but it would be a lot of code for little gain. In the mean time we should at least explain why all the renderers might be missing. (This is an issue with the SUID sandbox. The seccomp sandbox would be ok.) BUG=23258 http://codereview.chromium.org/235008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27388 0039d316-1c4b-4281-b951-d872f2087c98
* Build fix take 2.agl@chromium.org2009-09-281-0/+2
| | | | | | | (We don't have try servers for ChromeOS yet.) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27385 0039d316-1c4b-4281-b951-d872f2087c98
* Build fix: ChromeOS is using a more recent compiler.agl@chromium.org2009-09-281-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27380 0039d316-1c4b-4281-b951-d872f2087c98
* Assert that thread-safe reference counting is used withdarin@chromium.org2009-09-2818-87/+48
| | | | | | | | | | | | | | | | | | | | | | | | cross-thread NewRunnableMethod. This assertion caught such an error in VisitedLinkMaster! My approach, modify RunnableMethodTraits<T> to assert that when ReleaseCallee happens on a different thread from RetainCallee that the type supports thread-safe reference counting. I do this by adding a static method to both RefCounted<T> and RefCountedThreadSafe<T>. This results in a little ugliness in cases where people implement AddRef and Release by hand (to make the no-ops). There may be a nicer way to deal with those few cases. R=brettw BUG=none TEST=none Review URL: http://codereview.chromium.org/251012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27379 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Sheets should be positioned between the content and everything above it.erg@chromium.org2009-09-281-2/+5
| | | | | | | | BUG=17615 Review URL: http://codereview.chromium.org/219032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27378 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: create the directory for the desktop file in the wrapper script if it ↵mdm@chromium.org2009-09-281-0/+1
| | | | | | | | | | | does not exist. BUG=none TEST=none Review URL: http://codereview.chromium.org/244018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27377 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: remove --google-internal-crash-reporting.agl@chromium.org2009-09-286-215/+3
| | | | | | | | | It's time to kill this. It's been marginally useful, but only marginally. http://codereview.chromium.org/222021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27375 0039d316-1c4b-4281-b951-d872f2087c98
* Added an accelerator to the HtmlDialogView class so that hitting the ESC key ↵tim@chromium.org2009-09-282-0/+12
| | | | | | | | | | | | | closes the dialog. BUG=19786 TEST=Open Sync Bookmaeks Login dialog. Enter credentials, TAB between fields, etc. to ensure nothing is broken. Hit the ESC key to dismiss the dialog. Patch by Randy Posynick (http://codereview.chromium.org/199069) Review URL: http://codereview.chromium.org/246020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27371 0039d316-1c4b-4281-b951-d872f2087c98
* Extensions: Listen for BROWSER_THEME_CHANGED and send updated CSS.erg@google.com2009-09-282-12/+34
| | | | | | | | | | GTK: Listen for BROWSER_THEME_CHANGED and upload proper colors. BUG=23031 Review URL: http://codereview.chromium.org/248006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27368 0039d316-1c4b-4281-b951-d872f2087c98
* Cleaning up after the initial Chrome Frame commit.robertshield@chromium.org2009-09-286-23/+148
| | | | | | Review URL: http://codereview.chromium.org/242025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27367 0039d316-1c4b-4281-b951-d872f2087c98
* Update the context menus to support title case.thomasvl@chromium.org2009-09-281-162/+340
| | | | | | | | | | | Fix one "fullscreen" to be "full screen" to match all other uses (not yet used, so no translation issue for windows) Fix two new strings that were in Title Case instead of Sentence case. BUG=22257 TEST=the context menus on different types of web content should be title case on mac/linux but sentence case on windows. These are new strings, so they won't exist in other languages yet. Review URL: http://codereview.chromium.org/244004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27359 0039d316-1c4b-4281-b951-d872f2087c98
* Don't assume that we build from the src/chrome folder.nsylvain@chromium.org2009-09-271-1/+1
| | | | | | | | | This is still not perfect, but all least it should work for all the use cases we currently have. Review URL: http://codereview.chromium.org/254001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27353 0039d316-1c4b-4281-b951-d872f2087c98
* Revert my last change to the known leaks to see ifnsylvain@chromium.org2009-09-271-60/+0
| | | | | | | | Tim's fix works. Review URL: http://codereview.chromium.org/246018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27346 0039d316-1c4b-4281-b951-d872f2087c98
* Disable some purify leaks while Tim tries to fix them. (All from syncapi)nsylvain@chromium.org2009-09-271-0/+60
| | | | | | Review URL: http://codereview.chromium.org/245023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27345 0039d316-1c4b-4281-b951-d872f2087c98
* Balance call to CommandLine::Init in syncapi with call to ↵tim@chromium.org2009-09-271-0/+2
| | | | | | | | | | | | | CommandLine::Terminate. This should relieve the purify redness. TBR=nick TEST=ProfileSyncServiceTest, sync_unit_tests Review URL: http://codereview.chromium.org/243023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27344 0039d316-1c4b-4281-b951-d872f2087c98
* The comment above the ExtensionApiTest.Toolstrip says that it'snsylvain@chromium.org2009-09-271-1/+1
| | | | | | | | | | | disabled because of flakyness, but it's not disabled, and it's really flaky, so i'm disabling it for real. BUG:22668 Review URL: http://codereview.chromium.org/242027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27342 0039d316-1c4b-4281-b951-d872f2087c98
* Disable AutocompleteEditViewTest.AltEnter and ↵nsylvain@chromium.org2009-09-271-2/+4
| | | | | | | | | | | | | AutocompleteEditViewTest.BrowserAccelerators because they started failing all the time. TBR:pkasting BUG:23213 Review URL: http://codereview.chromium.org/246017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27341 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION build from 219.3 to 219.4laforge@chromium.org2009-09-271-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27340 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce the amount of crap pulled in crash_Service.maruel@chromium.org2009-09-271-1/+1
| | | | | | | | | TEST=none BUG=22926 Review URL: http://codereview.chromium.org/242015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27334 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the linux shared build for common_constants.thestig@chromium.org2009-09-261-0/+5
| | | | | | | | | BUG=none TEST=Linux shared build. TBR=maruel Review URL: http://codereview.chromium.org/245020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27332 0039d316-1c4b-4281-b951-d872f2087c98
* Update the TabContents::SavePage parameter to take FilePath instead of ↵rsesek@chromium.org2009-09-269-27/+17
| | | | | | | | | | | | wstring to avoid conversions "To and From wstring". BUG=None TEST=run unit_tests.exe Review URL: http://codereview.chromium.org/217008 Patch from tfarina. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27331 0039d316-1c4b-4281-b951-d872f2087c98
* generate_profile is now a large binary, sigh.maruel@chromium.org2009-09-261-1/+10
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/249011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27330 0039d316-1c4b-4281-b951-d872f2087c98
* Add new reliability crash to known_crashes.txt.thestig@chromium.org2009-09-261-0/+10
| | | | | | | | BUG=23138,23139,23140 TEST=none Review URL: http://codereview.chromium.org/249012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27329 0039d316-1c4b-4281-b951-d872f2087c98
* Forgot to remove these no-longer important comments in ↵mirandac@chromium.org2009-09-261-2/+1
| | | | | | | | | | http://src.chromium.org/viewvc/chrome?view=rev&revision=27303. TBR: arv Review URL: http://codereview.chromium.org/242021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27328 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 27324 - First step towards NaClChrome integration:1. NaCl plugin ↵gregoryd@google.com2009-09-2624-475/+17
| | | | | | | | | | | | becomes a builtin plugin in Chrome and runs in the renderer process.2. Most of the changes are related to launching the NaCl process (that loads and runs the NaCl module) and establishing the initial communication between that process and the NaCl plugin.3. Command line flag "internalnacl" is required to enable the builtin NaCl plugin. NaCl still cannot run in Chrome sandbox, the flag automatically disables the sandboxCommitted: http://src.chromium.org/viewvc/chrome?view=rev&revision=27315 Review URL: http://codereview.chromium.org/153002 TBR=bradnelson@google.com Review URL: http://codereview.chromium.org/244017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27326 0039d316-1c4b-4281-b951-d872f2087c98
* First step towards NaCl-Chrome integration:1. NaCl plugin becomes a built-in ↵gregoryd@google.com2009-09-2624-17/+475
| | | | | | | | plugin in Chrome and runs in the renderer process.2. Most of the changes are related to launching the NaCl process (that loads and runs the NaCl module) and establishing the initial communication between that process and the NaCl plugin.3. Command line flag "--internal-nacl" is required to enable the built-in NaCl plugin. NaCl still cannot run in Chrome sandbox, the flag automatically disables the sandboxCommitted: http://src.chromium.org/viewvc/chrome?view=rev&revision=27315 Review URL: http://codereview.chromium.org/153002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27324 0039d316-1c4b-4281-b951-d872f2087c98
* Update our mixed content state with information from the new mixed contentabarth@chromium.org2009-09-267-3/+41
| | | | | | | | | | | APIs. This change is purely additive. I'll rip out the old mechanism in the next patch. R=agl Review URL: http://codereview.chromium.org/243012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27323 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Linux Views build.finnur@chromium.org2009-09-261-0/+2
| | | | | | | | | | | | It requires you to declare all views built an additional time. Sigh... TBR=erikkay BUG=None TEST=None Review URL: http://codereview.chromium.org/244016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27320 0039d316-1c4b-4281-b951-d872f2087c98
* Implement Browser Actions extensions.finnur@chromium.org2009-09-2630-157/+612
| | | | | | | | | | | | | | | | Browser Actions are like Page Actions, except they appear next to the Omnibox and are always visible. For details see http://code.google.com/p/chromium/wiki/BrowserActions. Added a simple browser action sample that adds a Print button to the chrome toolbar (which brings up the Print dialog for the current page). Removed |type| from PageActions, which is currently ignored and was already removed from the docs. Each extension can only have 1 browser_action. Each browser action can specify more than one icon, but only the first is used. And no API has been added yet (besides the event definition). BUG=22099 TEST=Install the sample browser action, navigate to google.com, press the print button. A print dialog should come up. Review URL: http://codereview.chromium.org/243001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27319 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 27315 - First step towards NaClChrome integration:1. NaCl plugin ↵gregoryd@google.com2009-09-2620-466/+2
| | | | | | | | | | | | becomes a builtin plugin in Chrome and runs in the renderer process.2. Most of the changes are related to launching the NaCl process (that loads and runs the NaCl module) and establishing the initial communication between that process and the NaCl plugin.3. Command line flag "internalnacl" is required to enable the builtin NaCl plugin. NaCl still cannot run in Chrome sandbox, the flag automatically disables the sandbox Review URL: http://codereview.chromium.org/153002 TBR=gregoryd@google.com Review URL: http://codereview.chromium.org/244014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27317 0039d316-1c4b-4281-b951-d872f2087c98
* Use base/logging from chrome/browser/sync. Add a macro to libjingle'snick@chromium.org2009-09-267-41/+45
| | | | | | | | | logging.h to suppress the definition of LOG() and friends unless explicitly requested. Fix gyp paths to overrides files. Review URL: http://codereview.chromium.org/225001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27316 0039d316-1c4b-4281-b951-d872f2087c98
* First step towards NaCl-Chrome integration:1. NaCl plugin becomes a built-in ↵gregoryd@google.com2009-09-2625-2/+823
| | | | | | | | plugin in Chrome and runs in the renderer process.2. Most of the changes are related to launching the NaCl process (that loads and runs the NaCl module) and establishing the initial communication between that process and the NaCl plugin.3. Command line flag "--internal-nacl" is required to enable the built-in NaCl plugin. NaCl still cannot run in Chrome sandbox, the flag automatically disables the sandbox Review URL: http://codereview.chromium.org/153002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27315 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the context menu item 'Remove from shelf' from download shelfmhm@chromium.org2009-09-264-17/+0
| | | | | | | | | BUG=23078 TEST=No more menu item on download item Review URL: http://codereview.chromium.org/246004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27312 0039d316-1c4b-4281-b951-d872f2087c98
* Disable a test that is causing valgrind problems.levin@chromium.org2009-09-261-2/+2
| | | | | | | | | BUG=23129 TEST=None Review URL: http://codereview.chromium.org/231019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27307 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes regression introduced by fixing bookmark bar. We need to processsky@chromium.org2009-09-261-19/+25
| | | | | | | | | | | INVALIDATE_LOAD both synchronously and asynchronously. BUG=none TEST=make sure you see status bubble saying loading. Review URL: http://codereview.chromium.org/235028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27306 0039d316-1c4b-4281-b951-d872f2087c98
* Fix locale settings to not be hard-coded to English.mirandac@chromium.org2009-09-261-2/+2
| | | | | | Review URL: http://codereview.chromium.org/251010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27303 0039d316-1c4b-4281-b951-d872f2087c98
* Remove "remove" from download item context menu on mac.thakis@chromium.org2009-09-263-65/+5
| | | | | | | | | BUG=23078 TEST=Download something. Menu should no longer contain "Remove". Review URL: http://codereview.chromium.org/249008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27300 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bug where we get an extra resize event for background tabs.tony@chromium.org2009-09-251-0/+2
| | | | | | | | | | | | | | | | | | The TabContentsContainerGtk is a GtkFixed that contains a TabContentsViewGtk for each tab. We hide the background TCVG and only show the foreground TCVG. However, when the TCCG gets a resize event, we were still sending a set_size_request to all the background tabs. Since they were hidden, nothing happened except in the case described in issue 14114. It seems like this is a spurious resize by gtk, but not sending the resize request seems to work around it. BUG=14114 TEST=see bug Review URL: http://codereview.chromium.org/246012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27297 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce the number of unneeded dependencies.maruel@chromium.org2009-09-254-29/+38
| | | | | | | | | | Split constants in common off so the projects that wants to pull that don't need to pull half-the-world. TEST=still compiles BUG=22926 Review URL: http://codereview.chromium.org/241006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27296 0039d316-1c4b-4281-b951-d872f2087c98