summaryrefslogtreecommitdiffstats
path: root/chrome/browser
Commit message (Collapse)AuthorAgeFilesLines
* Make the download manager compile on Linux & Mac.brettw@google.com2009-01-301-7/+1
| | | | | | Review URL: http://codereview.chromium.org/19711 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8971 0039d316-1c4b-4281-b951-d872f2087c98
* Porting in the download manager (plus tiny bits of cleanup).brettw@chromium.org2009-01-304-40/+51
| | | | | | Review URL: http://codereview.chromium.org/19697 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8951 0039d316-1c4b-4281-b951-d872f2087c98
* Modifies LaunchSetupWithParam to properly append the kInstallerDir and ↵gwilson@google.com2009-01-301-2/+2
| | | | | | | | kSetupExe constants to the executable path. Review URL: http://codereview.chromium.org/19493 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8949 0039d316-1c4b-4281-b951-d872f2087c98
* Move RLZ back to 90 seconds delayed initcpu@google.com2009-01-301-2/+2
| | | | | | | | BUG=1609821 Review URL: http://codereview.chromium.org/19694 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8948 0039d316-1c4b-4281-b951-d872f2087c98
* Fix various problems with constrained windows and/or custom frame windows:pkasting@chromium.org2009-01-301-30/+83
| | | | | | | | | | | | | | | | | * Wrong titlebar height * Titlebars not handling custom font size properly * Drawing errors in maximized mode * One-pixel overlap glitch on bottom corners of client edges * Borders not handling custom border sizes correctly * Unnecessarily small top resize area (unlike in the main window, there's no competition here between resizing and window dragging in the same small strip) * Wrong icon sizing (only a problem in theory, no one uses this code ATM) These files are now very much like simplified versions of the opaque_non_client_view.cc code (which was the goal); eventually all these should be refactorable. BUG=5054 Review URL: http://codereview.chromium.org/19484 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8947 0039d316-1c4b-4281-b951-d872f2087c98
* Change kMetricsURL towtc@chromium.org2009-01-301-3/+1
| | | | | | | | | | | | | https://clients4.google.com/firefox/metrics/collect, which has a certificate that matches the host name. Remove the net::LOAD_IGNORE_CERT_COMMON_NAME_INVALID load flag. R=evanm BUG=b/876021 Review URL: http://codereview.chromium.org/19450 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8940 0039d316-1c4b-4281-b951-d872f2087c98
* Provides the ability to write a unit test that brings up a browser. Assky@google.com2009-01-303-65/+174
| | | | | | | | | | | | | | a proof of concept I converted FindInPageControllerTest.FindInPageFrames over to this. See the description in InProcessBrowserTest for how it all works. BUG=none TEST=none Review URL: http://codereview.chromium.org/19644 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8934 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bunch of lint complaints in preparation to land issue 19046. Mostly ↵thestig@chromium.org2009-01-304-364/+363
| | | | | | | | formatting changes, i.e. CRLF, space at end of line. Review URL: http://codereview.chromium.org/19486 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8933 0039d316-1c4b-4281-b951-d872f2087c98
* Create a stub chrome executable that crashes when run.tc@google.com2009-01-292-8/+42
| | | | | | | | | This is mostly making sure we have all the symbols we need. Review URL: http://codereview.chromium.org/19683 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8930 0039d316-1c4b-4281-b951-d872f2087c98
* This CL fixes bugs with EULAcpu@google.com2009-01-292-8/+10
| | | | | | | | | | | | | | - The first run import will trigger the eula again : this requires changes in browser_main.cc so the master prefs are not processed again by the importer process - The launch of setup.exe to show the eula was using a path that only works on developer builds this requires relocating a constant from setup_constants to util_constants BUG=1468838 Review URL: http://codereview.chromium.org/19680 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8928 0039d316-1c4b-4281-b951-d872f2087c98
* Reorganize DefaultNonClientView and ConstrainedWindowNonClientView to match ↵pkasting@chromium.org2009-01-291-165/+120
| | | | | | | | | | | changes in OpaqueNonClientView in preparation for fixing similar problems in them, and then refactoring everyone to a common base implementation. This change should have no visible effect; it merely adds functions, reorganizes code, renames variables, and modifies spacing/style to match OpaqueNonClientView as closely as possible. The subsequent set of functional changes should thus hopefully be easier to review, as should the eventual refactoring changes. This does away with some useless code since both these views are used for windows which always have titles, and, in ConstrainedWindowNonClientView's case, never have icons. (Technically, DefaultNonClientView never has an icon right now either, but there's some commented-out code in the bookmark manager that speaks of having one one day.) Review URL: http://codereview.chromium.org/19684 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8927 0039d316-1c4b-4281-b951-d872f2087c98
* Simple installation of extensions using chrome.exe ↵erikkay@google.com2009-01-297-33/+617
| | | | | | | | --install-extensionChanged manifest filename to end in .json.Updated authoring script to include sha256 hash of zip file. Review URL: http://codereview.chromium.org/18477 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8926 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up the Windows-ness in the sizing of new views. Write a bunch of commentsbrettw@chromium.org2009-01-295-34/+28
| | | | | | | about issues I discovered in this process. Review URL: http://codereview.chromium.org/19677 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8923 0039d316-1c4b-4281-b951-d872f2087c98
* Per Glen, remove the bottom border of maximized windows. I went ahead and ↵pkasting@chromium.org2009-01-294-87/+56
| | | | | | | | also removed support for window frame sizes with unequal widths vs. heights; Windows' UI doesn't actually let you do this and it was making the code more complex than it needed to be. Review URL: http://codereview.chromium.org/19477 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8916 0039d316-1c4b-4281-b951-d872f2087c98
* Provide the option for HTTPServer to be created with a specificsky@google.com2009-01-2916-66/+69
| | | | | | | | | | | | | | | MessageLoop. I'm going to need this when running ui tests in process. In this case I'll pass in the IO thread. I'll change all callers to use the new method, but before doing that wanted to make sure you're ok with it. BUG=none TEST=none Review URL: http://codereview.chromium.org/19039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8915 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable the NoScript unittest.mpcomplete@google.com2009-01-293-4/+1
| | | | | | | | Turns out we need to broadcast the NOTIFY_USER_SCRIPTS_LOADED message even if there are no scripts. I just removed the DCHECK that expects scripts. Review URL: http://codereview.chromium.org/19475 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8913 0039d316-1c4b-4281-b951-d872f2087c98
* rest of the rename, accidentally leftout. TBR.pinkerton@chromium.org2009-01-292-7/+7
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8909 0039d316-1c4b-4281-b951-d872f2087c98
* rename from tab_bar to tab_strip to be more consistent with windowspinkerton@chromium.org2009-01-295-23/+24
| | | | | | Review URL: http://codereview.chromium.org/19473 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8905 0039d316-1c4b-4281-b951-d872f2087c98
* hookup tabs to the model and handle new tab creationpinkerton@google.com2009-01-296-15/+351
| | | | | | Review URL: http://codereview.chromium.org/19669 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8902 0039d316-1c4b-4281-b951-d872f2087c98
* Remove pointless function override (the base class does the exact same thing ↵pkasting@chromium.org2009-01-292-5/+0
| | | | | | | | already). Review URL: http://codereview.chromium.org/19653 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8900 0039d316-1c4b-4281-b951-d872f2087c98
* Add a stub shell dialogs to help us get linking faster.brettw@google.com2009-01-291-0/+19
| | | | | | Review URL: http://codereview.chromium.org/19672 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8898 0039d316-1c4b-4281-b951-d872f2087c98
* Disable the test while investigating.maruel@chromium.org2009-01-291-1/+2
| | | | | | Review URL: http://codereview.chromium.org/19671 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8897 0039d316-1c4b-4281-b951-d872f2087c98
* Change chrome:// to chrome-ui://, fix up one chrome-resource:// reference.glen@chromium.org2009-01-2914-41/+44
| | | | | | Review URL: http://codereview.chromium.org/18175 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8896 0039d316-1c4b-4281-b951-d872f2087c98
* Make the shared shell dialog not use Windows types, as well as the web contentsbrettw@chromium.org2009-01-298-18/+24
| | | | | | | code that runs it. Review URL: http://codereview.chromium.org/19666 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8895 0039d316-1c4b-4281-b951-d872f2087c98
* Move kClientEdgeThickness from BrowserView to NonClientView (which makes ↵pkasting@chromium.org2009-01-294-27/+13
| | | | | | | | | more sense anyway) so I'll be able to use it in custom_frame_window.cc. Also eliminate an unnecessarily-repeated set of resource IDs from the opaque nonclient view, and move a comment to match what I ended up doing (but haven't yet sent up for review) in other places. Seems I couldn't make up my mind on that one. Review URL: http://codereview.chromium.org/19458 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8891 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land revision 8821 with the ui test fixed.maruel@chromium.org2009-01-295-152/+113
| | | | | | | | | | Disconnect the "browser controlled printing" and always delegate the control flow to the renderer. Simplify the tests by not using a message loop anymore. Followup changes will remove more parts that are not needed anymore. Review URL: http://codereview.chromium.org/19460 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8886 0039d316-1c4b-4281-b951-d872f2087c98
* Disable DownloadTest.UnknownSize because it is flaky.maruel@chromium.org2009-01-291-1/+2
| | | | | | | BUG=7191 Review URL: http://codereview.chromium.org/19665 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8879 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the Windows set focus call and bad-design browser call from the new tabbrettw@chromium.org2009-01-294-27/+29
| | | | | | | | | | UI by plumbing through a delegate notification. This will also fix metrics for the "focus the URL bar" command. This also includes some OCD URL-formatting changes to the DOM UI that I noticed. Review URL: http://codereview.chromium.org/19455 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8878 0039d316-1c4b-4281-b951-d872f2087c98
* Wire the stats consent checkbox of the EULAcpu@google.com2009-01-291-1/+6
| | | | | | | | | | | | - Collected in setup.exe passed to chrome via return code - Depends on an updated oem.html and JS code by Glen BUG=1468838 Review URL: http://codereview.chromium.org/19649 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8866 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily disable failing test while I fix it.mpcomplete@chromium.org2009-01-291-1/+1
| | | | | | | | TBR=aa Review URL: http://codereview.chromium.org/19654 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8857 0039d316-1c4b-4281-b951-d872f2087c98
* Generate a proper file name when dragging an image from apaulg@google.com2009-01-291-2/+12
| | | | | | | | | | | | | | | | | | | | | web page to the desktop. We receive information about the image from WebKit in the render which includes the image URL, MIME type and a guess as to what the file name is. If the filename is empty, we synthesize a file name based on the URL. In all cases, we set the file extension to the MIME type that was detected by WebKit. This change is the Chromium portion of image dragging. The WebKit portion has been committed as: http://trac.webkit.org/changeset/40294 BUG=6481 (http://crbug.com/6481) Review URL: http://codereview.chromium.org/19417 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8854 0039d316-1c4b-4281-b951-d872f2087c98
* Fix DCHECK when handling NOTIFY_USER_SCRIPTS_LOADED by not broadcasting thempcomplete@chromium.org2009-01-291-0/+2
| | | | | | | | message if we don't have any scripts. Review URL: http://codereview.chromium.org/19441 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8851 0039d316-1c4b-4281-b951-d872f2087c98
* Fix incorrect spacing/width calculation for titlebar text. I used the wrong ↵pkasting@chromium.org2009-01-292-51/+49
| | | | | | | | | constants, oops. Also some tiny reorderings and similar nonfunctional changes in order to make this class closer to its sibling NonClientView subclasses, so I can eventually refactor them all more easily. Review URL: http://codereview.chromium.org/19447 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8849 0039d316-1c4b-4281-b951-d872f2087c98
* Change URLRequest to use a ref-counted buffer for actual IO.rvargas@google.com2009-01-2930-120/+210
| | | | | | | | | | This will re-land http://codereview.chromium.org/18390 BUG=5325 Review URL: http://codereview.chromium.org/19004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8847 0039d316-1c4b-4281-b951-d872f2087c98
* Rename RenderWidgetHostView::GetPluginHWND to GetPluginNativeViewbrettw@chromium.org2009-01-298-25/+23
| | | | | | Review URL: http://codereview.chromium.org/19438 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8846 0039d316-1c4b-4281-b951-d872f2087c98
* fix p13n build.tim@chromium.org2009-01-291-0/+3
| | | | | | Review URL: http://codereview.chromium.org/18835 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8841 0039d316-1c4b-4281-b951-d872f2087c98
* Roll back r8821mark@chromium.org2009-01-284-15/+38
| | | | | | Review URL: http://codereview.chromium.org/19453 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8834 0039d316-1c4b-4281-b951-d872f2087c98
* Add browser files to the linux build that mac has alreadytc@google.com2009-01-282-5/+4
| | | | | | | | | | | ported and added to the xcode build. Not much here, seems the earlier porting stuff just works. Review URL: http://codereview.chromium.org/19637 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8832 0039d316-1c4b-4281-b951-d872f2087c98
* Porting profiles to the Mac.avi@chromium.org2009-01-2843-232/+266
| | | | | | Review URL: http://codereview.chromium.org/19623 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8831 0039d316-1c4b-4281-b951-d872f2087c98
* Adds cleanup code to RLZ so that we don't leak an OmniBoxUsageObserversky@google.com2009-01-283-1/+29
| | | | | | | | | | | | on shutdown. This came up in running in process ui tests through purify. BUG=none TEST=none Review URL: http://codereview.chromium.org/19428 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8830 0039d316-1c4b-4281-b951-d872f2087c98
* Better control over window creation of external tabsjoshia@google.com2009-01-284-6/+23
| | | | | | | | | | | Improving automation interface to offer better control over window creation of external tabs. The changes allow us to specify a parent window, initial size and window style. Review URL: http://codereview.chromium.org/19048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8828 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 8822.brettw@chromium.org2009-01-285-167/+83
| | | | | | Review URL: http://codereview.chromium.org/19439 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8827 0039d316-1c4b-4281-b951-d872f2087c98
* This prevents an occasional DCHECK seen during the SSL UI test that happenedcreis@google.com2009-01-284-17/+42
| | | | | | | | | | | | | | | | | | | | | | because of the unresponsive tab logic. If we are short-cutting a slow beforeunload handler, we now avoid a redundant call to SetNavigationsSuspended. Also clarified a few comments, removed what appeared to be an unnecessary call to DidNavigateMainFrame, and re-enabled tests that were likely disabled due to this issue. BUG=6950 BUG=6698 TEST=SSLUITest.TestHTTPSExpiredCertAndDontProceed --single-process TEST=SSLUITest.TestHTTPWithBrokenHTTPSResource TEST=SSLUITest.TestOKHTTPS TEST=SSLUITest.TestHTTPSExpiredCertAndProceed Review URL: http://codereview.chromium.org/19006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8826 0039d316-1c4b-4281-b951-d872f2087c98
* Factor out the common parts of the about network dialog. I will be using thisbrettw@chromium.org2009-01-285-83/+167
| | | | | | | for the about IPC dialog next. Review URL: http://codereview.chromium.org/19433 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8822 0039d316-1c4b-4281-b951-d872f2087c98
* Disconnect the "browser controlled printing" and always delegate the control ↵maruel@chromium.org2009-01-284-38/+15
| | | | | | | | | flow to the renderer. Followup changes will remove more parts that are not needed anymore. Review URL: http://codereview.chromium.org/18860 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8821 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure that windowed plugins get keyboard focus in WM_MOUSEACTIVATe. This ↵ananta@chromium.org2009-01-281-0/+3
| | | | | | | | | | | | | | regressed with the introduction of the Plugin wrapper window which parents the actual plugin window in the plugin process. We need to set focus to the actual plugin window when we receive a WM_MOUSEACTIVATE in the browser caused by a click on the plugin window. This fixes http://code.google.com/p/chromium/issues/detail?id=7143 Bug=7143 Review URL: http://codereview.chromium.org/19626 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8820 0039d316-1c4b-4281-b951-d872f2087c98
* Make WebContentsView portable by using the native view types.brettw@chromium.org2009-01-285-31/+32
| | | | | | Review URL: http://codereview.chromium.org/19632 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8819 0039d316-1c4b-4281-b951-d872f2087c98
* Remove extrenuous DLOG from VisitedLinkMaster::InitFromFile()jeremy@chromium.org2009-01-281-3/+1
| | | | | | | | since it prints a confusing message on first run. Review URL: http://codereview.chromium.org/19429 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8817 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of unnecessary region code from spellcheck language/locale codes. ↵sidchat@google.com2009-01-282-42/+69
| | | | | | | | | Fix of Linux by using ARRAYSIZE_UNSAFE instead of arraysize. Issue=Issue=6329 Review URL: http://codereview.chromium.org/18567 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8816 0039d316-1c4b-4281-b951-d872f2087c98
* Context menus for text selections in editable boxes and links should include ↵pkasting@chromium.org2009-01-283-31/+28
| | | | | | | | the Search menu item. Original patch by Brian Duff (see http://codereview.chromium.org/16510 ), r=me. BUG=1925 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8815 0039d316-1c4b-4281-b951-d872f2087c98