summaryrefslogtreecommitdiffstats
path: root/chrome/browser
Commit message (Collapse)AuthorAgeFilesLines
* Update the temp scaffolding stubs for my header change. It was pulling in thebrettw@chromium.org2009-02-012-0/+2
| | | | | | | | | notification service via some other dependency before. Also fix some other omissions I made. Review URL: http://codereview.chromium.org/19529 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9024 0039d316-1c4b-4281-b951-d872f2087c98
* Address a review comment I forgot in my previous patch.brettw@chromium.org2009-02-011-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9023 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bunch of header includes. I removed some unnecessary headers from abrettw@chromium.org2009-02-0125-35/+46
| | | | | | | | variety of places and added ones in other files that were accidentally depending on them. Review URL: http://codereview.chromium.org/19742 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9022 0039d316-1c4b-4281-b951-d872f2087c98
* Remove most header file dependencies on the notification type list. It isbrettw@chromium.org2009-02-01131-862/+1077
| | | | | | | | | | | really painful to add more types, since lots of headers include the notification service to derive from the notification observer. This splits that out, so much less of the project should end up including notification_types.h ---Paths modified but not in any changelist: Review URL: http://codereview.chromium.org/19744 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9020 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land this changelist to make BrowserInit work on Mac.beng@google.com2009-01-316-121/+150
| | | | | | | | R=pinkerton,brettw Review URL: http://codereview.chromium.org/19528 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9019 0039d316-1c4b-4281-b951-d872f2087c98
* Remove DNS pre-resolution model of OS cachejar@chromium.org2009-01-312-14/+13
| | | | | | | | | | | | Force OS to decide about doing network lookup, rather than guessing whether it is in the cache before asking the OS. This will cost more OS operations, but should roughly double the hit rate for scan based pre-resolution. r=mbelshe Review URL: http://codereview.chromium.org/19524 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9017 0039d316-1c4b-4281-b951-d872f2087c98
* Move proxy resolve requests out of plugin/renderer process, and into the ↵ericroman@google.com2009-01-319-65/+603
| | | | | | | | browser. Review URL: http://codereview.chromium.org/14142 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9006 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for loading Current Version. (haven't removed the old style ↵erikkay@google.com2009-01-313-17/+53
| | | | | | | | loading yet) Review URL: http://codereview.chromium.org/19525 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9005 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure that Clipboard operations that require dispatchingrvargas@google.com2009-01-311-1/+29
| | | | | | | | | | | | | | | | | | | | of windows messages are performed on the UI thread. SetClipboardData requires the clipboard to be open with a handle to a window that will be notified when the contents are going to change again. If Windows messages are not processed, any other app writing to the clipboard will be locked while we acknowledge their request (by processing the message). The IO thread doesn't pump windows messages anymore so write clipboard operations cannot be performed from that thread and have to be posted to another thread. BUG=5823 Review URL: http://codereview.chromium.org/19733 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9003 0039d316-1c4b-4281-b951-d872f2087c98
* Roll back these tab changes since there are still issues.ben@chromium.org2009-01-311-22/+2
| | | | | | | TBR=idanan Review URL: http://codereview.chromium.org/19735 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9000 0039d316-1c4b-4281-b951-d872f2087c98
* Rollback 8998beng@google.com2009-01-315-151/+120
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8999 0039d316-1c4b-4281-b951-d872f2087c98
* Bring up BrowserInit on MacOS X.beng@google.com2009-01-305-120/+151
| | | | | | Review URL: http://codereview.chromium.org/19695 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8998 0039d316-1c4b-4281-b951-d872f2087c98
* Register .crx file handler to install Chrome extensions.mpcomplete@google.com2009-01-303-12/+18
| | | | | | | Have files of that type automatically download and open. Review URL: http://codereview.chromium.org/19403 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8995 0039d316-1c4b-4281-b951-d872f2087c98
* Ignore invalid plugin windows coming in from the renderer for moving. As the ↵ananta@chromium.org2009-01-301-1/+7
| | | | | | | | plugin parent window which lives on the browser UI thread is destroyed asynchronously, we may have stale windows which have already been destroyed sent by the renderer for moving around.The DeferWindowPos API fails on receiving such a window. Review URL: http://codereview.chromium.org/19523 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8994 0039d316-1c4b-4281-b951-d872f2087c98
* NTP twiddling for p13ntim@chromium.org2009-01-302-0/+23
| | | | | | Review URL: http://codereview.chromium.org/19420 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8991 0039d316-1c4b-4281-b951-d872f2087c98
* Random bits of de-Winification for WebContents.brettw@chromium.org2009-01-308-28/+39
| | | | | | Review URL: http://codereview.chromium.org/19721 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8987 0039d316-1c4b-4281-b951-d872f2087c98
* Allow porting of the JS message boxes. I split out the implementation intobrettw@chromium.org2009-01-309-182/+201
| | | | | | | | platform-specific files, and have WebContents just use the platform-independent header that declares the creation functions. Review URL: http://codereview.chromium.org/19719 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8978 0039d316-1c4b-4281-b951-d872f2087c98
* Correct sqlite wrapper behavior on systems where wchar_t is UTF-32,phajdan.jr@chromium.org2009-01-307-29/+32
| | | | | | | | | | | | for example Linux. The problem was that old code assumed wstring is UTF-16, which resulted in string corruption on Linux. I actually tested it on browser/history unit tests, see http://codereview.chromium.org/18758. Review URL: http://codereview.chromium.org/18805 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8977 0039d316-1c4b-4281-b951-d872f2087c98
* Fix EOL.maruel@chromium.org2009-01-301-4/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8975 0039d316-1c4b-4281-b951-d872f2087c98
* 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