summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Implement a max worker count of 16 per tab and 64 total. Any workers ↵jam@chromium.org2009-06-1812-62/+272
| | | | | | | | created after that are queued. Review URL: http://codereview.chromium.org/125242 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18763 0039d316-1c4b-4281-b951-d872f2087c98
* Make the tabstrip transparent (doesn't paint a background) bytc@google.com2009-06-184-31/+8
| | | | | | | | | | | | | | turning the window off for the gtk_fixed that represents the tabstrip. For some reason, this caused the tabs to render relative to the top of the window, so adjust the tab painting via the event area offset. BUG=13789 Review URL: http://codereview.chromium.org/131069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18762 0039d316-1c4b-4281-b951-d872f2087c98
* Adds SendMessage to TransitionTypes.sky@chromium.org2009-06-182-0/+30
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/131052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18761 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build.thakis@chromium.org2009-06-181-992/+0
| | | | | | | tbr=pinkerton git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18759 0039d316-1c4b-4281-b951-d872f2087c98
* Initial download shelf on OS X.thakis@chromium.org2009-06-1819-46/+1948
| | | | | | | | | | | | | | | | | | | This has lots of missing stuff (e.g. a custom download item view that shows download progress, the popup is the same for in-progress and completed downloads, no animation, everything looks ugly, the info bubble overlaps the shelf when it's visible, no "open download manager page" link, etc), but the basic functionality is hooked up: The shelf appears when files are downloaded, and something ugly is added to the shelf for each download. The popup's "Reveral in Finder" even works. The shelf is per-window as it should be. BUG=12500 TEST=Download something and check the shelf appears. Click the close button and make sure it disappears again. Review URL: http://codereview.chromium.org/93129 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18757 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting r18743, the rest of it.avi@google.com2009-06-183-0/+202
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18756 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting r18743.avi@google.com2009-06-183-28/+11
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18755 0039d316-1c4b-4281-b951-d872f2087c98
* Enable SDCH on mac/linuxjar@chromium.org2009-06-181-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Although it compiles in all builds etc., someone left the enabling code ifdef'ed in browser main. This should enable SDCH on mac/linux. To test, visit a site that supports SDCH (twice... the first time you'll get the dictionary in the background), and then do a view-cache: in front of the resulting URL, and check to see that you're getting Content-Encoding: sdch,gzip If it is not sdch encoded, then with some tiny (1%) probability, you're in a control group of a current experiment... and you can try starting your browser again... and doing another two visits. To better track the issue if you think you are in the control group, you can also visit about:histograms and you should see that a dictionary was downloaded, and then either some content was decoded, with timings in Sdch3.Experiment_Decode or was not run in SDCH and was timed in Sdch3.Experiment_Holdback. BUG=14516 r=willchan,pinkerton Review URL: http://codereview.chromium.org/131025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18753 0039d316-1c4b-4281-b951-d872f2087c98
* Import bookmarks to bookmark bar if user has not bookmarked anything yet.kuchhal@chromium.org2009-06-187-41/+52
| | | | | | | | BUG=9000 Review URL: http://codereview.chromium.org/131004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18751 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a comment I meant to update in the last change.tc@google.com2009-06-181-1/+1
| | | | | | | | | TBR=evan Review URL: http://codereview.chromium.org/131063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18750 0039d316-1c4b-4281-b951-d872f2087c98
* Fix an uninitialized variable that valgrind complains about.stuartmorgan@chromium.org2009-06-181-2/+4
| | | | | | | | BUG=none TEST=Tab dragging on the Mac should still work. Review URL: http://codereview.chromium.org/131055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18749 0039d316-1c4b-4281-b951-d872f2087c98
* Paint the custom frame border and round the corners.tc@google.com2009-06-183-15/+104
| | | | | | | | | | | | We apply the theme background color to the window and use a NineBox to draw the theme images around the border. BUG=13430 Review URL: http://codereview.chromium.org/131049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18748 0039d316-1c4b-4281-b951-d872f2087c98
* Delete files from webkit/glue that have been made obsolete by correspondingdarin@chromium.org2009-06-189-115/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | files in webkit/api. Here's the mapping: webkit/glue/webdatasource.h -> webkit/api/public/WebDataSource.h webkit/glue/weberror.h -> webkit/api/public/WebURLError.h webkit/glue/weburlrequest.h -> webkit/api/public/WebURLRequest.h webkit/glue/webresponse.h -> webkit/api/public/WebURLResponse.h I kept the implementation of WebDataSource in webkit/glue for now because it helps to have it close to WebFrameImpl and WebFrameLoaderClient. To facilitate this change, I needed to make use of WrappedResourceRequest and WrappedResourceResponse from webkit/api/src within the implementation files of webkit/glue. This is only a temporary usage of webkit/api/src from the outside. It will go away when WebFrame, etc. get moved into webkit/api. I modified these wrapper classes to expose the 'bind' function so that I can re-bind a wrapper. This is used in WebDataSourceImpl::request() and related methods to allow the interface to return a const reference to a WebURLRequest and WebURLResponse. The changes here are fairly mechanical. I'm not too happy about the way WebDataSource::redirectChain now works. I would prefer a solution that didn't involve so much copying, but I'm not going to worry about optimizing that now. R=brettw BUG=10041 TEST=none Review URL: http://codereview.chromium.org/126286 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18747 0039d316-1c4b-4281-b951-d872f2087c98
* Committed wrong patchset for r18743. This should have been included.avi@google.com2009-06-181-4/+6
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18746 0039d316-1c4b-4281-b951-d872f2087c98
* Try to even the page cycler tests between the current build and reference ↵thomasvl@chromium.org2009-06-181-9/+94
| | | | | | | | runs. Since the reference run always comes second, it seems like it gets the UBC advantage and everything is a little after (when using two of the same builds). So try to load all the needed data into the UBC before we start the tests. Review URL: http://codereview.chromium.org/131057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18745 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up the "Save Page..." menu item for Mac.paul@chromium.org2009-06-181-14/+15
| | | | | | | | BUG=14460 (http://crbug.com/14460) TEST=Cmd+S on Mac should bring up the save page dialog. Review URL: http://codereview.chromium.org/126299 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18744 0039d316-1c4b-4281-b951-d872f2087c98
* Add favicons to tabs on the Mac. Also moved SkBitmapToNSImage() toavi@google.com2009-06-186-213/+26
| | | | | | | | | | | | | | skia/ext/skia_utils_mac.h and removed chrome/browser/cocoa/cocoa_utils.h. Patch by rsesek. BUG=13565 Review URL: http://codereview.chromium.org/131018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18743 0039d316-1c4b-4281-b951-d872f2087c98
* Add helper for forcing a GtkEntry to lowercase.mattm@chromium.org2009-06-181-3/+22
| | | | | | | | | | Make l10n_util::ToLower string16 friendly. BUG=13326 Review URL: http://codereview.chromium.org/126260 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18742 0039d316-1c4b-4281-b951-d872f2087c98
* Small piece of extensions auto-update: add an auto-update url member varasargent@chromium.org2009-06-183-6/+72
| | | | | | | | | | | to the Extension class. BUG=http://crbug.com/12117 TEST=none Review URL: http://codereview.chromium.org/131044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18736 0039d316-1c4b-4281-b951-d872f2087c98
* Set the gtk drag icon to a 1x1 transparent pixbuf so we don't get the ↵jhawkins@chromium.org2009-06-181-0/+8
| | | | | | | | | | default drag icon. BUG=none TEST=Drag a tab out of the tabstrip. The default gtk drag icon should not be visible. Review URL: http://codereview.chromium.org/131043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18734 0039d316-1c4b-4281-b951-d872f2087c98
* Small cleanup of constness.mad@google.com2009-06-184-14/+16
| | | | | | | | | | | | | Added const to methods not changing the state, except for the lazy setting of an escaped version of a path which is now mutable. Also made some lint fixes. BUG=none TEST=none Review URL: http://codereview.chromium.org/132024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18733 0039d316-1c4b-4281-b951-d872f2087c98
* Elide the URL in the status bubble.tc@google.com2009-06-182-9/+47
| | | | | | | | | | I copied the logic about whether to show the loading status or URL from the Views code. Review URL: http://codereview.chromium.org/125267 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18730 0039d316-1c4b-4281-b951-d872f2087c98
* Fix options window for Personalization on Linux.zork@chromium.org2009-06-181-1/+1
| | | | | | Review URL: http://codereview.chromium.org/132028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18728 0039d316-1c4b-4281-b951-d872f2087c98
* Add gtk EditKeywordController.mattm@chromium.org2009-06-187-15/+339
| | | | | | | | BUG=13326 Review URL: http://codereview.chromium.org/126305 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18727 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes a crash when scrolling quickly on Mac.rohitrao@chromium.org2009-06-181-23/+34
| | | | | | | | BUG=http://crbug.com/14211 TEST=See test case in bug. Review URL: http://codereview.chromium.org/125211 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18720 0039d316-1c4b-4281-b951-d872f2087c98
* Add tools menu for bookmark manager gtk.estade@chromium.org2009-06-182-7/+149
| | | | | | | | | | Now you can import and export an .html file with your bookmarks in it. BUG=13110 Review URL: http://codereview.chromium.org/132006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18719 0039d316-1c4b-4281-b951-d872f2087c98
* Abstract ExtensionPrefs into their own class.erikkay@google.com2009-06-189-244/+374
| | | | | | | | | Relands http://codereview.chromium.org/126281 which had been reverted due to a leak. The only difference is in extension_prefs.h where extension_data_ is now a scoped_ptr. Review URL: http://codereview.chromium.org/131040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18717 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up "clear browsing data" dialog. It looks like ass right now. The ↵ben@chromium.org2009-06-185-10/+12
| | | | | | | | | | intent is to be able to debug problems with NativeControls under Gtk. BUG=none TEST=none Review URL: http://codereview.chromium.org/131027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18715 0039d316-1c4b-4281-b951-d872f2087c98
* Only check for first run dialog on official builds (since the dialog is aamanda@chromium.org2009-06-181-0/+4
| | | | | | | | | no-op on Chromium builds) BUG=none TEST=none Review URL: http://codereview.chromium.org/131035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18709 0039d316-1c4b-4281-b951-d872f2087c98
* Quick spelling fix.avi@google.com2009-06-181-3/+3
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/132016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18703 0039d316-1c4b-4281-b951-d872f2087c98
* Use 'cp' not 'copy' to copy in the FirstRun file, since the gyp msvssgk@google.com2009-06-181-1/+1
| | | | | | | | | generator uses Cygwin's bash and not cmd to execute commands. BUG=none TEST=none Review URL: http://codereview.chromium.org/131028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18695 0039d316-1c4b-4281-b951-d872f2087c98
* Convert chrome.exe to generation by gyp.sgk@google.com2009-06-181-1/+0
| | | | | | | BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18692 0039d316-1c4b-4281-b951-d872f2087c98
* Convert the 'app' target name (which builds the actual executable)sgk@google.com2009-06-182-14/+14
| | | | | | | | | to 'chrome'. BUG=none TEST=none Review URL: http://codereview.chromium.org/131011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18689 0039d316-1c4b-4281-b951-d872f2087c98
* test_support_ui needs to depend on theme_resources to fix this compilensylvain@chromium.org2009-06-181-0/+1
| | | | | | | | | | | | | | | issue for clobber build : Configuration: test_support_ui - Debug|Win32 Compiling... npapi_test_helper.cc c:\b\slave\win\build\src\chrome/browser/tab_contents/navigation_entry.h(15) : fatal error C1083: Cannot open include file: 'grit/theme_resources.h': No such file or directory ui_test.cc Review URL: http://codereview.chromium.org/131019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18686 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r18661.willchan@chromium.org2009-06-189-370/+244
| | | | | | | | Broke purify and mac valgrind. "Pull Extension-related prefs into its own class. Also add a notification for when the extensions service has finished its initial load of extensions, separate from EXTENSIONS_LOADED.TEST=noneBUG=none" Review URL: http://codereview.chromium.org/132008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18682 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Enable metrics_service_uitest.cc. Take 2.willchan@chromium.org2009-06-186-24/+101
| | | | | | | | | | Relands r18641, original code review: http://codereview.chromium.org/125268 Expect a crash on Windows. The old method of crashing was flawed on posix (KillProcess just does a SIGTERM). On Windows though, it would terminate the process with the desired exit code, in order to make DidProcessCrash() return true. This process termination does not dump crash information though, since it just forcibly terminates the process, like a SIGKILL on posix. When I switched it to navigate to about:crash though, it actually crashes, and dumps crash information, which the UITest in windows (but not linux/mac) detects. Therefore, until those platforms can detect, we just use #if defined(OS_WIN) around the expected_crashes = 1. Review URL: http://codereview.chromium.org/131007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18680 0039d316-1c4b-4281-b951-d872f2087c98
* Adds some more images for the new new tab pagearv@google.com2009-06-1825-0/+15
| | | | | | | | | | BUG=None TEST=No visible changes yet Review URL: http://codereview.chromium.org/131010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18677 0039d316-1c4b-4281-b951-d872f2087c98
* Enable off-by-default monitor color management on Windows. This is enabled viabrettw@chromium.org2009-06-185-2/+50
| | | | | | | | | a command-line switch. BUG=4938 Review URL: http://codereview.chromium.org/131002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18675 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Add menu item to url bar context menu to launch the search engine editor.mattm@chromium.org2009-06-182-0/+39
| | | | | | | | BUG=13326 Review URL: http://codereview.chromium.org/126307 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18671 0039d316-1c4b-4281-b951-d872f2087c98
* Allow the RenderWidgetHostViewGtk to be sized even if it isn't a popup.ben@chromium.org2009-06-181-0/+9
| | | | | | | | | | | browser/views/tab_contents/tab_contents_view_gtk.cc implements sizing in a similar fashion to windows - i.e. when the GtkWidget is resized, it tells the RenderViewHost that it was sized, which causes the RVH to resize the view. A check for if (parent_) in the Gtk RenderWidgetHostView impl was preventing this sizing from occurring. BUG=none TEST=none Review URL: http://codereview.chromium.org/125275 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18670 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Don't try to special case webkit blur when we stop showing right ↵estade@chromium.org2009-06-171-5/+1
| | | | | | | | | | | | | click context menu. After I spent more time investigating, it seems that when the popup menu closes, it always returns focus to the toplevel that previously had it. Thus we don't have to worry about some other toplevel getting focus without us getting another focus-out. BUG=13554 TEST=right click spellcheck correction works in gmail Review URL: http://codereview.chromium.org/126301 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18667 0039d316-1c4b-4281-b951-d872f2087c98
* Pass a gfk::NativeWindow instead of gfx::NativeView for TemplateURLFetcher.mattm@chromium.org2009-06-173-9/+5
| | | | | | | | | | Use cross-platform method to get the NativeWindow. BUG=13326 Review URL: http://codereview.chromium.org/126302 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18666 0039d316-1c4b-4281-b951-d872f2087c98
* Pull Extension-related prefs into its own class. Also add a notification ↵erikkay@google.com2009-06-179-244/+370
| | | | | | | | for when the extensions service has finished its initial load of extensions, separate from EXTENSIONS_LOADED.TEST=noneBUG=none Review URL: http://codereview.chromium.org/126281 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18661 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Limit the size of the shared memory segment a renderer will request.estade@chromium.org2009-06-173-10/+47
| | | | | | | | | TEST=everything behaves the same, and you don't sad tab when resizing a very large autocomplete popup BUG=13805 Review URL: http://codereview.chromium.org/125274 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18660 0039d316-1c4b-4281-b951-d872f2087c98
* Add extension JS files to the project so they are editable in your IDE.mpcomplete@google.com2009-06-171-0/+5
| | | | | | | | BUG=no TEST=no Review URL: http://codereview.chromium.org/126288 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18658 0039d316-1c4b-4281-b951-d872f2087c98
* Fix die-on-launch.jrg@chromium.org2009-06-171-0/+3
| | | | | | Review URL: http://codereview.chromium.org/126295 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18657 0039d316-1c4b-4281-b951-d872f2087c98
* Add setup.exe.manifest and mini_installer.exe.manifest assgk@google.com2009-06-171-0/+6
| | | | | | | | | AdditionalManifestFiles of setup.exe and mini_installer.exe. BUG=14439 TEST=none Review URL: http://codereview.chromium.org/125273 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18656 0039d316-1c4b-4281-b951-d872f2087c98
* Add chrome.{dll,exe}.manifest as AdditionalManifestFiles.sgk@google.com2009-06-171-0/+24
| | | | | | | | | Copy in the "First Run" file. BUG=none TEST=none Review URL: http://codereview.chromium.org/126287 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18654 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a widget that when clicked creates a new browser window. It's notsky@chromium.org2009-06-172-0/+85
| | | | | | | | | | | wired up yet, but will be shortly. BUG=none TEST=none Review URL: http://codereview.chromium.org/126235 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18653 0039d316-1c4b-4281-b951-d872f2087c98
* Adds the tab overview button to the tab strip.sky@chromium.org2009-06-172-0/+51
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/125262 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18651 0039d316-1c4b-4281-b951-d872f2087c98