summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Remove ExtensionProcessManager and move its functionality ontompcomplete@google.com2009-04-1617-215/+136
| | | | | | | | | | | ExtensionsService. Also add "chrome-extension" to the list of schemes that BrowsingInstance groups per-site, instead of per-tab. This means that navigating to an extension URL will use the same process as a running extension toolstrip. Review URL: http://codereview.chromium.org/77002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13887 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Sandbox on SnowLeopard.jeremy@chromium.org2009-04-162-26/+60
| | | | | | | | | | 1. Punch holes in Sandbox config to accomodate changes in the Font Server. 2. Add warmup for CGImageSourceGetStatus(). 3. Misc cleanup for rendererMainPlatformDelegate::PlatformInitialize() function. Review URL: http://codereview.chromium.org/67232 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13882 0039d316-1c4b-4281-b951-d872f2087c98
* URLRequest::Interceptor enhancements1) Allow an interceptor to change its ↵michaeln@google.com2009-04-162-11/+16
| | | | | | | | mind and not intercept after all. This allows the decision to start or not to start to be made asynchronously.2) Allow an interceptor to intercept on error conditions if the original job fails. This is to support the FALLBACK semantics in the appcache.Info about where this is going can be found in the appcache design doc at https://docs.google.com/a/google.com/Doc?docid=agv6ghfsqr_15f749cgt3&hl=enI still have to put together test cases, so I'm not ready to submit this yet, but wanted to get some feedback at this point. Review URL: http://codereview.chromium.org/67019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13877 0039d316-1c4b-4281-b951-d872f2087c98
* Augment time_format.h/.cc to format elapsed time also.munjal@chromium.org2009-04-164-98/+440
| | | | | | Review URL: http://codereview.chromium.org/67186 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13874 0039d316-1c4b-4281-b951-d872f2087c98
* Implement app modal dialogs on mac.pinkerton@chromium.org2009-04-163-9/+107
| | | | | | Review URL: http://codereview.chromium.org/79012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13869 0039d316-1c4b-4281-b951-d872f2087c98
* Don't call COM stuff in the renderercpu@google.com2009-04-161-8/+7
| | | | | | | | | | | | | - Remove calls to CoInitialize / CoUninitialize - CoUninitialize sometimes causes the OS to try to load oleauth.dll - An exception for in-process-plugins. BUG=10589 Review URL: http://codereview.chromium.org/75028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13866 0039d316-1c4b-4281-b951-d872f2087c98
* Handles audio messages on IO thread in render processhclam@chromium.org2009-04-1610-273/+390
| | | | | | | | | | | | | | | | First step to have smoother audio playback. We previously performed audio messages handling on render thread, which gave us huge amount of latency, especially when renderer is busy compositing or is blocked by synchronous IPC call. A lot of these latencies are eliminated by moving audio messages handling to IO thread, this is the first step to see if sharing the regular IPC channel for audio messages is creating too much stress for the IPC channel. Also doubled the audio packet size to 8192 samples, ~194ms of audio for 16bit/44.1khz/2ch. Review URL: http://codereview.chromium.org/62125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13863 0039d316-1c4b-4281-b951-d872f2087c98
* Add a test helper to pull out some common code. Add a test for tab ↵pinkerton@chromium.org2009-04-167-29/+258
| | | | | | | | controller. Don't dead-strip un-referenced objective-C code in the unit_test target. Use the appropriate bundle when loading the tab nib. (take two, most of this was backed out earlier). Review URL: http://codereview.chromium.org/77004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13859 0039d316-1c4b-4281-b951-d872f2087c98
* Recommit previous change with GYP files fixed.erg@google.com2009-04-1615-51/+700
| | | | | | | | | | | | | Implement BookmarkContextMenuGtk and hook it up to most bookmark bar elements. Also: - Fixes window dispositions (shift-click works on bookmark bar items). - Reorganizes gtk_utils Original Review URL: http://codereview.chromium.org/76002 Review URL: http://codereview.chromium.org/67223 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13857 0039d316-1c4b-4281-b951-d872f2087c98
* Add spaces in reliability log output to make ithuanr@chromium.org2009-04-161-1/+1
| | | | | | | | | more readable. I verified chromebot has no problem parsing it. Review URL: http://codereview.chromium.org/79003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13855 0039d316-1c4b-4281-b951-d872f2087c98
* Remove deprecated version of UITest::DieFileDie().thestig@chromium.org2009-04-165-17/+13
| | | | | | Review URL: http://codereview.chromium.org/75008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13852 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new notification for automation customers that the amit@chromium.org2009-04-162-13/+27
| | | | | | | | | | external tab has finished loading. Unfortunately we cannot reuse AutomationMsg_InitialLoadsComplete because it has overloaded meaning. Review URL: http://codereview.chromium.org/69018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13851 0039d316-1c4b-4281-b951-d872f2087c98
* Have ResourceBundle own GdkPixbufs.tc@google.com2009-04-1612-121/+181
| | | | | | | | | | | | | | | | | This is the same as how ResourceBundle owns the SkBitmaps it loads. This should be faster than before because ResourceBundle will only load each bitmap once and cache the image. Also fix a memory leak in GdkPixbufFromSkBitmap. valgrind says we're not leaking here. BUG=9988 Review URL: http://codereview.chromium.org/67179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13847 0039d316-1c4b-4281-b951-d872f2087c98
* Bold matched portions of text in Linux Omnibox.deanm@chromium.org2009-04-162-55/+104
| | | | | | | | | | | | - Refactor a bunch of the Pango attributes code. - Walk the classifications, and create the pango attributes for the text foreground color and weight (bolding). - Cache the GdkGC and PangoLayout across expose messages. Review URL: http://codereview.chromium.org/75041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13845 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome changes to support WebKit API changes.darin@chromium.org2009-04-164-11/+15
| | | | | | | | | | | | | | | Also, I removed the GetWebFrame method on WebDataSource since it is not actually needed. Removed some dead-code from webframe_impl.cc. Removed some bogus null-checking of WebCore::Frame::loader(). R=dglazkov Review URL: http://codereview.chromium.org/67169 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13844 0039d316-1c4b-4281-b951-d872f2087c98
* Adds notification for when info bubble is created.sky@chromium.org2009-04-162-0/+11
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/75022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13843 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 13839,13838.awalker@google.com2009-04-165-242/+3
| | | | | | Review URL: http://codereview.chromium.org/67220 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13840 0039d316-1c4b-4281-b951-d872f2087c98
* Add a helper, and add the test file that broke the build.pinkerton@chromium.org2009-04-162-0/+238
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13839 0039d316-1c4b-4281-b951-d872f2087c98
* Allow unit_tests (and other non-bundle executables) to rely on objectiveC that'spinkerton@chromium.org2009-04-163-3/+4
| | | | | | | not directly referenced (such as only in a nib file). Add test for tab controller. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13838 0039d316-1c4b-4281-b951-d872f2087c98
* More Linux Omnibox v2 work, based on feedback from Cole.deanm@chromium.org2009-04-161-36/+74
| | | | | | | | | | | | | | - Don't let the content push the description out of the results. - Paint URLs green and other results (suggestions) black. - Use a darker gray for the description and drop the bolding, when the description is selected, use a preblended color against the background. - Move to using Pango attributes instead of markup. This is more code, but a better step towards bolding the matched portions of results. Review URL: http://codereview.chromium.org/67176 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13835 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce printing test case (Step 1)hbono@chromium.org2009-04-164-3/+76
| | | | | | | | | | | | | | | | | | This CL will just show how to actually execute a full print process from start to finish. It will verify that a page has been printed (successfully). In the next steps, we would need to test whether the elements rendered after printing are correct. (how?) And fixed some lint errors. Thanks for hbono and maruel to lead me in the right direction :) Original patch by Mohamed Mansour (see http://codereview.chromium.org/67036/show), r=me,maruel,sverrir. BUG=? Review URL: http://codereview.chromium.org/67202 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13831 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a mess I made before checkin. I started trying something else but gavebrettw@chromium.org2009-04-161-4/+2
| | | | | | | up and forgot to put it back. Review URL: http://codereview.chromium.org/75021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13827 0039d316-1c4b-4281-b951-d872f2087c98
* Consolidate ApplyAccelerator and RunCommand codehuanr@chromium.org2009-04-164-19/+13
| | | | | | | | | | | | | | | | paths which do the same thing. - On browser side, remove AutomationMsg_ApplyAccelerator IPC message and ApplyAccelerator function in automation_provider. - On client side, let ApplyAccelerator simply call RunCommandAsync. With the change, converting all commands to synchronous mode should benefit both. Review URL: http://codereview.chromium.org/67152 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13825 0039d316-1c4b-4281-b951-d872f2087c98
* Initial plumbing for sending events from the browser to extension renderers. ↵rafaelw@chromium.org2009-04-1622-21/+284
| | | | | | | | Implement onTabMoved. Review URL: http://codereview.chromium.org/73065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13824 0039d316-1c4b-4281-b951-d872f2087c98
* ad an argument to MoveTabContentsAt() that switches whether the moved tab is ↵rafaelw@chromium.org2009-04-164-7/+33
| | | | | | | | set as the selected tab, or if the selected tab is left selected (but possibly moved). Review URL: http://codereview.chromium.org/63153 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13823 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt to shush Purify about a memory leak.aa@chromium.org2009-04-161-8/+14
| | | | | | Review URL: http://codereview.chromium.org/67184 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13821 0039d316-1c4b-4281-b951-d872f2087c98
* Miscellaneous API sprucing.aa@chromium.org2009-04-169-16/+35
| | | | | | | | | | | | | - Camel-case event names. - Rename chromium.self in content scripts to chromium.extension. - Move onConnect in extension process to chromium.self.onConnect. - Move definition of chromium.self to extension_process_bindings.js, so that it is near all the other extension process API. - Make toolstrips not wrap by default - Make toolstrips 21px high instead of 19, which was required to avoid an ugly white horizontal bar on my machine. This may be font dependent :(, which is another reason I need to finish making us paint the toolstrips background instead of using this CSS hack. Review URL: http://codereview.chromium.org/67162 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13816 0039d316-1c4b-4281-b951-d872f2087c98
* Reverts the previous two commits. (r13812 and r13811).erg@google.com2009-04-1514-703/+49
| | | | | | Review URL: http://codereview.chromium.org/75023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13813 0039d316-1c4b-4281-b951-d872f2087c98
* Fix treeerg@google.com2009-04-151-0/+4
| | | | | | Review URL: http://codereview.chromium.org/67195 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13812 0039d316-1c4b-4281-b951-d872f2087c98
* Implement BookmarkContextMenuGtk and hook it up to most bookmark bar elements.erg@google.com2009-04-1514-49/+699
| | | | | | | | | | Also: - Fixes window dispositions (shift-click works on bookmark bar items). - Reorganizes gtk_utils Review URL: http://codereview.chromium.org/76002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13811 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a factory method for creating DockInfos.sky@chromium.org2009-04-152-0/+30
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/75015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13810 0039d316-1c4b-4281-b951-d872f2087c98
* Remove TabContnetsType from everywhere.brettw@chromium.org2009-04-1534-322/+56
| | | | | | | | I also removed the notion of the "active" tab contents since there is only one per tab now, and all the messages to replace them. Review URL: http://codereview.chromium.org/67173 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13808 0039d316-1c4b-4281-b951-d872f2087c98
* Allow users to hit ctrl-shift-delete ("clear browsing data") even in ↵pkasting@chromium.org2009-04-151-1/+2
| | | | | | | | | | | fullscreen mode. I elected not to continue to leave this disabled for app-mode windows since there's no menu entry for it. Not sure if that was the right call. BUG=9318 Review URL: http://codereview.chromium.org/67188 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13807 0039d316-1c4b-4281-b951-d872f2087c98
* Fix issue: If SpellChecker is disabled through UI, then right-click context ↵sidchat@google.com2009-04-151-1/+2
| | | | | | | | | menu's spell checker language option should be unchecked. Issue=7239 Review URL: http://codereview.chromium.org/75014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13805 0039d316-1c4b-4281-b951-d872f2087c98
* The new unit-test that test mouse-wheel rerouting and that was added in my ↵jcampan@chromium.org2009-04-151-1/+3
| | | | | | | | | | | | last CL fails on the Vista build-bot. Temporarily disabling it. Filed a bug 10572. TBR=paul Review URL: http://codereview.chromium.org/75017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13801 0039d316-1c4b-4281-b951-d872f2087c98
* TBR: Revert "Miscellaneous API sprucing."aa@chromium.org2009-04-159-35/+16
| | | | | | | | This reverts commit 052b8f424d1550deebf3dc562d7c47dde72d7f76. Review URL: http://codereview.chromium.org/78001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13796 0039d316-1c4b-4281-b951-d872f2087c98
* Linux/Skia: remove VDMX and Harfbuzzagl@chromium.org2009-04-151-7/+3
| | | | | | | | | | | | | | | | In order to unfork our Skia, VDMX parsing has been moved into WebKit in r42548. The Harfbuzz stuff should have been functional, but noone on the WebKit side wants to review a bidi patch so that side never actually landed. At this point it's probably better to remove the current Harfbuzz support in Skia with a view to jumping straight to the version agreed with Mike Reed at some point in the future. http://codereview.chromium.org/75011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13795 0039d316-1c4b-4281-b951-d872f2087c98
* The text-fields were not rerouting mouse-wheel messages, causing the window ↵jcampan@chromium.org2009-04-152-0/+133
| | | | | | | | | | under the mouse not to scroll when a text-field (such as the find-box) was focused. BUG=9647 TEST=Navigate to a page long enough to have vertical scroll-bars (ex: http://slashdot.org). CTRL-F to open the find in page box. While the mouse is over the page (but the find in bar text-field has focus) use the mouse scroll-wheel). The page should scroll. Review URL: http://codereview.chromium.org/73087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13794 0039d316-1c4b-4281-b951-d872f2087c98
* Miscellaneous API sprucing.aa@chromium.org2009-04-159-16/+35
| | | | | | | | | | | | | - Camel-case event names. - Rename chromium.self in content scripts to chromium.extension. - Move onConnect in extension process to chromium.self.onConnect. - Move definition of chromium.self to extension_process_bindings.js, so that it is near all the other extension process API. - Make toolstrips not wrap by default - Make toolstrips 21px high instead of 19, which was required to avoid an ugly white horizontal bar on my machine. This may be font dependent :(, which is another reason I need to finish making us paint the toolstrips background instead of using this CSS hack. Review URL: http://codereview.chromium.org/67162 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13792 0039d316-1c4b-4281-b951-d872f2087c98
* Add a hack to enable cross-origin XHR for all pages with a "chrome-extension"mpcomplete@google.com2009-04-151-0/+3
| | | | | | | | URL as the toplevel frame. This is a temporary workaround until we can do it the proper way, which requires a webkit refactoring in progress by Alexei. Review URL: http://codereview.chromium.org/67153 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13790 0039d316-1c4b-4281-b951-d872f2087c98
* Use tab to group "Show saved passwords" and "Exceptions"hclam@chromium.org2009-04-1515-685/+651
| | | | | | | | | | | BUG=9026 "Show saved passwords" and "Exceptions" were splited into 2 dialogs, group together in one single dialog with different pages by tabbing. Review URL: http://codereview.chromium.org/67055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13786 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash in setup.exe.kuchhal@chromium.org2009-04-152-1/+3
| | | | | | | | | | | | The change in uninstall.cc is unrelated and is meant to fix a typo from http://codereview.chromium.org/63116 BUG=10507 Review URL: http://codereview.chromium.org/75006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13785 0039d316-1c4b-4281-b951-d872f2087c98
* Make the omnibox popup look nicer. Add dropshadow images (not final). ↵ben@chromium.org2009-04-1526-54/+313
| | | | | | | | | | | | Experiment with some effects. Adds a positioner interface that allows the popup to size itself to the width of the edit view + the width of the star and go buttons. (Basically the toolbar needs to help the popup position itself). No results yet! Review URL: http://codereview.chromium.org/68011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13784 0039d316-1c4b-4281-b951-d872f2087c98
* Set media cache back to its maximum ~1.8GBhclam@chromium.org2009-04-151-3/+3
| | | | | | | | | | We allow media cache to be set to its maximum for testing purpose. TBR=fbarchard, scherkus, rvargas Review URL: http://codereview.chromium.org/67175 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13783 0039d316-1c4b-4281-b951-d872f2087c98
* Make the importer respect the user selected languge. On install the ↵sverrir@google.com2009-04-151-11/+13
| | | | | | | | | | | | language can either be set by a command line argument or a registry key (set by Omaha). The problem with the registry key approach is that the language is put into the local state but its not persisted before the importer process is launched and that process is therefore oblivious to the language and uses the default one. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13779 0039d316-1c4b-4281-b951-d872f2087c98
* For some Indian locales, the automatic font fallback by Windows UI ↵jungshik@google.com2009-04-1571-53/+309
| | | | | | | | | | | | | | | | | | | | | | | | | components leads to too tiny glyphs for UI strings. Therefore, this patch makes it possible to override the UI font family and UI font size localizable by adding two entries to locale_settings (IDS_UI_FONT_FAMILY and IDS_UI_FONT_SIZE_SCALER - percentile scale). It's is also to fix a P1 bug for Chrome 2.0 final (so this patch needs to be merged back to the branch). For most locales, the UI font family is set to 'default' and the UI font size scaler is set to 100, which indicates that the UI font (menu, message, etc) obtained from Windows will be used. For ml and bn, it's set to the 'kartica' and 'vrinda' (the default Windows fonts for those scripts) and the scaler is set to 150 and 160 respectively. For Hindi and Telugu, only the font size scaler is set to 150. When IDS_UI_FONT_FAMILY is 'default' and the scaler is 100, the behavior will remain the same. When it's not, their values are used to create ChromeFont (base and derived) and WindowsTitle font. In addition, menu will be drawn by 'owner' (to override the windows font) and the font for table view, tree and tooltip is also set to IDS_UI_FONT_FAMILY. While working on this, I replaced all the instances of 'static ChromeFont' with 'static ChromeFont*' and initialized them in a lazy manner. The whole approach is still a hack necessary due to the size issue with the default fonts for some Indic scripts on Windows. We'd not need this on Linux and Mac. TEST=1. Run chrome with '--lang=bn' or '--lang=ml' and see UI strings are legible in menu, context menu, bookmark, bookmark manager, tooltips, and tab titles. With '--lang=hi' and '--lang=te', the difference is not dramatic but should be more readable. In other locales, it should remain the same. 2.UI test in en-US locale should pass. 3. Running UI tests under Purify should not have any new leak. BUG=7319 Review URL: http://codereview.chromium.org/62064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13773 0039d316-1c4b-4281-b951-d872f2087c98
* Try to fix yet another compile failurepkasting@chromium.org2009-04-151-7/+7
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13770 0039d316-1c4b-4281-b951-d872f2087c98
* Change GTK Go button impl to match the changes I already made to the Windows ↵pkasting@chromium.org2009-04-152-43/+16
| | | | | | | | implementation. Review URL: http://codereview.chromium.org/67178 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13767 0039d316-1c4b-4281-b951-d872f2087c98
* Fix regression I introduced where Stop/Go button would toggle state ↵pkasting@chromium.org2009-04-1512-55/+33
| | | | | | | | | | | instantly instead of having protections against accidental user actions while the mouse was hovering the button. I elected to condense ChangeMode() and ScheduleChangeMode() into one function, which as a result became pretty simple. BUG=9843 Review URL: http://codereview.chromium.org/67156 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13761 0039d316-1c4b-4281-b951-d872f2087c98
* Adds notification for window creation.sky@chromium.org2009-04-152-0/+9
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/73086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13758 0039d316-1c4b-4281-b951-d872f2087c98