summaryrefslogtreecommitdiffstats
path: root/chrome/browser
Commit message (Collapse)AuthorAgeFilesLines
* Remove code path that passes a file handle to the rendererhclam@chromium.org2009-05-299-241/+10
| | | | | | | | | | | | | | | | | | | | | | Since the code now does range request without any caching the code path for passing file handle is not used any more. Changes: 1. Remove response_data_file in webkit_glue::ResourceResponseHead 2. Remove response_data_file in net::ResourceInfo 3. Remove code that passes file handle using IPC 4. Remove code that passes file hadnle from network layer to ResourceDispatcherHost 5. Remove MediaResourceHandler 6. Remove code in disk_cache that expose the file handle 7. Remove ChromeURLRequestContext::CreateOffTheRecordForMedia() so no more OTR request context for media, in OTR mode simply memory cache is used 8. Reset cache size for media cache to default BUG=12249 BUG=12256 Review URL: http://codereview.chromium.org/113931 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17227 0039d316-1c4b-4281-b951-d872f2087c98
* Really theme the find bar. We were previously getting the ↵glen@chromium.org2009-05-292-2/+2
| | | | | | | | | | | DefaultThemeProvider (whose accessor was mistakenly named 'getDIALOGthemeprovider') BUG=11702 TEST=Install a theme and verify that the find bar matches it. Review URL: http://codereview.chromium.org/115729 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17224 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid DCHECKING on NEW_FOREGROUND_TAB and NEW_BACKGROUND_TAB dispositions in ↵robertshield@google.com2009-05-291-3/+4
| | | | | | | | ExternalTabContainer by re-routing those dispositions to new popups. Review URL: http://codereview.chromium.org/115943 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17223 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a browser crash that occurs if the extension unpacker process crashesmpcomplete@google.com2009-05-291-2/+15
| | | | | | | | | | after it sends a response to the browser. BUG=none TEST=none Review URL: http://codereview.chromium.org/113867 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17222 0039d316-1c4b-4281-b951-d872f2087c98
* Renames BackForwardMenuModelWin to BackForwardMenuModelViews.sky@chromium.org2009-05-295-27/+28
| | | | | | | | | BUG=NONE TEST=none Review URL: http://codereview.chromium.org/118001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17221 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: show tab context menu on mousedown rather than mouse up.estade@chromium.org2009-05-291-2/+2
| | | | | | | | TEST=right click on a tab and see a context menu popup (i.e. no regression). Also, right click, hold, drag, release to select an item. Review URL: http://codereview.chromium.org/118023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17218 0039d316-1c4b-4281-b951-d872f2087c98
* Put findbar close button back where it belongs.estade@chromium.org2009-05-291-1/+1
| | | | | | | | TBR=deanm Review URL: http://codereview.chromium.org/115935 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17217 0039d316-1c4b-4281-b951-d872f2087c98
* linux: Bookmark bar slide animation.estade@chromium.org2009-05-292-6/+52
| | | | | | | also improve the look of the instructions label. Review URL: http://codereview.chromium.org/112070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17216 0039d316-1c4b-4281-b951-d872f2087c98
* Gets TabIconView compiling on linux.sky@chromium.org2009-05-291-2/+12
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/115905 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17210 0039d316-1c4b-4281-b951-d872f2087c98
* Stub out a couple of methods in BookmarkDragData.sky@chromium.org2009-05-291-0/+9
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/112069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17209 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure that Firefox search engines are imported correctly.mirandac@chromium.org2009-05-291-25/+46
| | | | | | | | | | | | | | | It also makes sure that engines which have been removed from Firefox are not imported into Chrome. BUG= http://crbug.com/12245 TEST= Install firefox, and do not change the default search engines. Start Chrome, and import search engines from Firefox. Default Firefox engines should now be part of Chrome. Review URL: http://codereview.chromium.org/115895 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17207 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 17183 since it caused linux unit_test breakage.maruel@chromium.org2009-05-291-15/+4
| | | | | | Review URL: http://codereview.chromium.org/115929 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17195 0039d316-1c4b-4281-b951-d872f2087c98
* Disable the failing UI test. I filed a P1 bug on it.brettw@chromium.org2009-05-291-1/+4
| | | | | | Review URL: http://codereview.chromium.org/114063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17194 0039d316-1c4b-4281-b951-d872f2087c98
* Fix namespace to ultimately compile on Macpinkerton@chromium.org2009-05-291-2/+2
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/115924 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17187 0039d316-1c4b-4281-b951-d872f2087c98
* Implement Clear Browser Data for Mac as an app modal dialog. Uses the ↵pinkerton@chromium.org2009-05-298-54/+304
| | | | | | | | | | profile of the given window or the default profile if run with no windows open. Add a setter to the throbber so it can be used in a nib file. BUG=none TEST=clear browser functionality (note that clearing passwords doesn't work) and checkbox persistance. Review URL: http://codereview.chromium.org/112065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17186 0039d316-1c4b-4281-b951-d872f2087c98
* Scale backing store cache size.deanm@chromium.org2009-05-291-4/+15
| | | | | | | | | | | | | | | | The approach is borrowed from render_process_host's kMaxRenderersByRamTier. The values were chosen to keep a minimal number of DIBs in the extreme low RAM case, and scale up linearly from there to the previous (constant) value of 5. Patch by Joel Stanley. BUG=12028 Review URL: http://codereview.chromium.org/115452 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17183 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce header dependencies in net/phajdan.jr@chromium.org2009-05-296-0/+7
| | | | | | | | TEST=none Review URL: http://codereview.chromium.org/115870 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17178 0039d316-1c4b-4281-b951-d872f2087c98
* Headers cleanup in chrome/commonphajdan.jr@chromium.org2009-05-292-0/+2
| | | | | | | | | - reduce header dependencies - miscellanous cleanups (whitespace, explicit deps) Review URL: http://codereview.chromium.org/113945 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17177 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: decouple class and method names from RPC message arguments. That ↵yurys@google.com2009-05-292-8/+8
| | | | | | | | would allow to select dispatcher wothout parsing the message argument. Review URL: http://codereview.chromium.org/115862 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17176 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing more bustage by ifdefing out Windows-only code.ben@chromium.org2009-05-292-1/+19
| | | | | | | | | TBR=brettw BUG=none TEST=none Review URL: http://codereview.chromium.org/115914 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17173 0039d316-1c4b-4281-b951-d872f2087c98
* Fix unit test bustage by making sure ExtensionView::ViewHierarchyChanged ↵ben@chromium.org2009-05-293-0/+9
| | | | | | | | | | | | | calls the base class impl first. Fix compile bustage by not compiling windows-specific code on other platforms. TBR=brettw BUG=none TEST=none Review URL: http://codereview.chromium.org/115912 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17172 0039d316-1c4b-4281-b951-d872f2087c98
* Refactors HWNDView, NativeViewHostGtk and NativeViewHost so that they match ↵ben@chromium.org2009-05-2914-42/+28
| | | | | | | | | | the NativeControl pattern established for NativeButtons. NativeViewHost is a platform-neutral class that clients instantiate. Behind the scenes the platform instantiates the appropriate NativeViewHostWrapper implementation, either NativeViewHostGtk (as before) or NativeViewHostWin (replaces HWNDView). BUG=none TEST=none Review URL: http://codereview.chromium.org/114059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17169 0039d316-1c4b-4281-b951-d872f2087c98
* Gets NativeTabContentsContainerGtk to compile and removes somesky@chromium.org2009-05-293-28/+0
| | | | | | | | | | | unneeded methods from NativeTabContentsContainerWin. BUG=none TEST=none Review URL: http://codereview.chromium.org/115903 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17159 0039d316-1c4b-4281-b951-d872f2087c98
* linux: wrap prefs checkbox in options window.evan@chromium.org2009-05-291-2/+10
| | | | | | | | | | | This is a quick hack, that will be replaced once we have the rest of prefs implemented. BUG=12736 Review URL: http://codereview.chromium.org/113977 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17158 0039d316-1c4b-4281-b951-d872f2087c98
* Pressing "enter" while the JS prompt text entry has focus shouldtc@google.com2009-05-291-1/+3
| | | | | | | | | accept the user's text. Review URL: http://codereview.chromium.org/114058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17157 0039d316-1c4b-4281-b951-d872f2087c98
* Allow passing in a file path to a file that will be used for the new new tabarv@google.com2009-05-291-4/+48
| | | | | | | | | | | | | | page. This allows faster prototyping (F5) of the NNTP. TEST=Start Chrome with --new-new-tab-page=path/to/file.html. The NTP should show the file. Make a visible change in the file and reload the tab page and the change should be visible immidiately. BUG=None Review URL: http://codereview.chromium.org/113927 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17150 0039d316-1c4b-4281-b951-d872f2087c98
* Gets GoButton to compile on Linux.sky@chromium.org2009-05-291-4/+11
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/115879 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17146 0039d316-1c4b-4281-b951-d872f2087c98
* Hoist TrimHttpPrefix() so we only have one copy, not one per provider.pkasting@chromium.org2009-05-298-55/+37
| | | | | | | | | Make use of this in HistoryContentsProvider so results from it get their schemes trimmed appropriately. BUG=10558 Review URL: http://codereview.chromium.org/115885 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17145 0039d316-1c4b-4281-b951-d872f2087c98
* Treat alt-(arrows/pgup/pgdn) like alt was not pressed. There's no reason to ↵pkasting@chromium.org2009-05-291-1/+2
| | | | | | | | | | ignore these keypresses. BUG=6992 TEST=Type a letter so the omnibox dropdown shows. Press alt-down. If you used the numpad down arrow, nothing should happen (until you release both keys, then a special character might appear). If you used the standalone arrow keys, the selection should move down one row. Review URL: http://codereview.chromium.org/115891 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17144 0039d316-1c4b-4281-b951-d872f2087c98
* linux: remove the word "Alpha" from all UI.evan@chromium.org2009-05-284-13/+15
| | | | | | | | It mostly confuses the press. Review URL: http://codereview.chromium.org/113978 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17137 0039d316-1c4b-4281-b951-d872f2087c98
* Add alert box suppression check box to linux js dialogs.tc@google.com2009-05-281-24/+57
| | | | | | | | | BUG=12174 Review URL: http://codereview.chromium.org/115893 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17136 0039d316-1c4b-4281-b951-d872f2087c98
* IE and Firefox always translate (alt+numpad 7) as an accelerator. We should ↵pkasting@chromium.org2009-05-281-18/+19
| | | | | | | | | | too. BUG=5372 TEST=Navigate somewhere, focus the omnibox, and hit alt+numpad 7. You should navigate to your home page (by default, the new tab page). Review URL: http://codereview.chromium.org/113971 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17134 0039d316-1c4b-4281-b951-d872f2087c98
* Paint a focus indication on LinkButtonGtk buttons.estade@chromium.org2009-05-289-48/+36
| | | | | | | | | | | | | Also, rearrange helper code for centering things in hboxes so they don't expand to take up the full vertical space. Also, don't allow focus on gtk_chrome_button buttons. This is to prevent the "Other bookmarks" button from getting focus (which matches windows) and is in line with disallowing focus on all custom chrome buttons (see CustomDrawButton). BUG=12829 TEST=everything should look the same. Also if you tab to focus on a link button (e.g. download shelf's "show all downloads"), it should have a dotted line around the exterior. Review URL: http://codereview.chromium.org/113970 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17132 0039d316-1c4b-4281-b951-d872f2087c98
* Rename policy_url to first_party_for_cookies in one more place.abarth@chromium.org2009-05-281-4/+4
| | | | | | | | | | | | This should have been in my earlier CL, but I had a gcl fail. TBR=darin BUG=None TEST=No behavior change Review URL: http://codereview.chromium.org/112067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17131 0039d316-1c4b-4281-b951-d872f2087c98
* Initialize gtk syles before first run dialog. (Missed in r17104)thestig@chromium.org2009-05-281-6/+6
| | | | | | | | BUG=none TEST=Linux first run dialog should be properly styled? Review URL: http://codereview.chromium.org/115890 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17130 0039d316-1c4b-4281-b951-d872f2087c98
* Automatically adapt to faster/slower uploads of renderer histogramsjar@chromium.org2009-05-286-47/+84
| | | | | | | | | | | | | | | | | | | | | This replaces the current time based approach (chrome is given N seconds to upload all renederer histograms) with an asynch callback approach that waits until all renderers have responded (with their updates). It uses a fall-back timer to ensure that a hung renderer won't delay things forever as well. This causes faster (and complete) updates in about:histograms as well as generally assuring complete updates during UMA gatherings. This code was contributed by Raman Tenneti in CL 42496 http://codereview.chromium.org/42496 bug=12850 r=raman Review URL: http://codereview.chromium.org/113473 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17123 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up Linux crash reporting setting to options dialog.thestig@chromium.org2009-05-281-0/+2
| | | | | | Review URL: http://codereview.chromium.org/115878 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17121 0039d316-1c4b-4281-b951-d872f2087c98
* Add general options page. Options are working with the following exceptions:tc@google.com2009-05-2810-48/+714
| | | | | | | | | | | | | | | | | | | Custom start urls and default search options widgets aren't hooked up. Home page settings work, but are overridden by the linux start page settings. Default browser checking/setting functions are not implemented, so the option isn't useful yet. Refactors some common code out of browser/views/options/options_page_view.* into browser/options_page_base.{cc,h} BUG=11507 Patch by Matt Mueller (mattm@google.com). Review URL: http://codereview.chromium.org/113967 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17115 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some dead code.pkasting@chromium.org2009-05-282-6/+0
| | | | | | Review URL: http://codereview.chromium.org/113965 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17113 0039d316-1c4b-4281-b951-d872f2087c98
* Make Textfield more portable.ben@chromium.org2009-05-2811-36/+36
| | | | | | | | | | | | | Split off Windows bits into NativeTextfieldWin class obscured behind NativeTextfieldWrapper interface. The APIs aren't perfectly tidy yet but this is a good first pass. BUG=none TEST=make sure you can still edit text fields, run the view unit tests. Review URL: http://codereview.chromium.org/113940 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17112 0039d316-1c4b-4281-b951-d872f2087c98
* Restore parent semantings for external tab container creation, and error ↵ben@chromium.org2009-05-281-1/+5
| | | | | | | | | | | check the HWND. BUG=none TEST=none Review URL: http://codereview.chromium.org/115852 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17110 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: call xdg-open on downloaded files to open them.estade@chromium.org2009-05-284-19/+31
| | | | | | | | BUG=12299 TEST=1) right click/save as on some image. Clicking on the download item's filename area should launch it in some image viewer (assuming xdg-open works for you---as it happens, ubuntu broke xdg-open for desktops that are not gnome, kde, or xfce). 2) Download a large file. Click on the download item before it is finished. The text should change to "opening in..." and the checkbox in the dropdown menu should show as checked. 3) completed downloads should have the "open when finished" menu item replaced by the "open" menu item. Selecting that should also open the download. Review URL: http://codereview.chromium.org/112064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17106 0039d316-1c4b-4281-b951-d872f2087c98
* We need to save bookmarks file when the persist_ids settings changesmunjal@chromium.org2009-05-284-0/+42
| | | | | | | | or when the file is detected to be changed externally. Review URL: http://codereview.chromium.org/114055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17105 0039d316-1c4b-4281-b951-d872f2087c98
* Respect Linux user prefs with regards to crash reporting.thestig@chromium.org2009-05-284-27/+86
| | | | | | | | | | This involves implementing GoogleUpdateSettings::[GS]etCollectStatsConsent, and a whole lot of refactoring. BUG=none TEST=delete config dir, run official Linux build, don't enable crash reporting, crash browser -> no crash reporting. Review URL: http://codereview.chromium.org/115808 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17104 0039d316-1c4b-4281-b951-d872f2087c98
* Do a keyboard grab when select popups are showing. This matchestc@google.com2009-05-281-4/+17
| | | | | | | | | | other gtk popups (e.g., gtkmenu). Always allow Esc to close the popup so a hung renderer doesn't require mouse usage. Review URL: http://codereview.chromium.org/113959 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17103 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up some code to make it more comprehensible. No functional change.pkasting@chromium.org2009-05-281-16/+29
| | | | | | Review URL: http://codereview.chromium.org/112063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17102 0039d316-1c4b-4281-b951-d872f2087c98
* Removes ifdef around include of tooltip_manager now that it's beensky@chromium.org2009-05-281-2/+0
| | | | | | | | | | | | ported. BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/113963 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17101 0039d316-1c4b-4281-b951-d872f2087c98
* Gets bookmark_bar_view to compile on Linux.sky@chromium.org2009-05-281-7/+22
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/115872 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17098 0039d316-1c4b-4281-b951-d872f2087c98
* Handle opening URLs when there is no window open.avi@chromium.org2009-05-281-1/+8
| | | | | | | | | BUG=http://crbug.com/12550 TEST=as described in bug report Review URL: http://codereview.chromium.org/113960 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17097 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: Implement GtkFloatingContainer and implement StatusBubble on top of it.erg@google.com2009-05-286-83/+489
| | | | | | | | | | | This introduces a hybrid GtkBin/GtkFixed container which exposes a signal to absolutely position widgets. This also fixes the current flickering issues with the status bubble. http://crbug.com/11635 TEST=Goto a site with a long list of links (I used reddit.com) and move the mouse cursor up and down the list quickly. There shouldn't be flickering in the top left corner. Review URL: http://codereview.chromium.org/115835 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17095 0039d316-1c4b-4281-b951-d872f2087c98