summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* As agreed on by the SafeBrowsing server team:paulg@google.com2008-10-152-15/+14
| | | | | | | | | | | 1. Back off when we encounter a parse error. 2. Ignore commands we don't understand instead of returning an error. 3. Make redirect URL parsing in an update response more robust to changes in format. Review URL: http://codereview.chromium.org/7329 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3425 0039d316-1c4b-4281-b951-d872f2087c98
* Add a check in Chrome to not run user level mode if machine level Chromekuchhal@chromium.org2008-10-1514-27/+115
| | | | | | is already installed. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3423 0039d316-1c4b-4281-b951-d872f2087c98
* libcommon.a (chrome) needs the staticlib settings appliedmark@chromium.org2008-10-151-0/+2
| | | | | | Review URL: http://codereview.chromium.org/7415 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3422 0039d316-1c4b-4281-b951-d872f2087c98
* Add a lot of robustness to SDCH filter decodingjar@google.com2008-10-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | a) Do meta-refresh (and partially disable sdch) when we have an sdch decode error early on (due to lack of dictionary). b) Gracefully handle proxy removal of "gzip" in "content-encoding: sdch,gzip". c) Recover from completely stripped content encoding (in response to a request for which we advertised an SDCH dictionary) by using a filter that can optionally decode sdch with an optional gzip as well. Some field tests have shown problems with this protocol's transit across the ether. The general approach we've adopted is to stop using SDCH on the problematic site when we have problems. This will prevent a malicious site from shutting down all use of SDCH. r=kmixter,openvcdiff,huanr Review URL: http://codereview.chromium.org/6433 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3420 0039d316-1c4b-4281-b951-d872f2087c98
* Make user level installs and machine level installs mutually exclusive.kuchhal@chromium.org2008-10-152-0/+12
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3417 0039d316-1c4b-4281-b951-d872f2087c98
* Add using_generated_strings.vsprops to unit_tests.maruel@google.com2008-10-151-1/+1
| | | | | | Review URL: http://codereview.chromium.org/7414 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3416 0039d316-1c4b-4281-b951-d872f2087c98
* Stop failing the build if a dependency has been removed.maruel@google.com2008-10-151-1/+4
| | | | | | Review URL: http://codereview.chromium.org/7350 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3412 0039d316-1c4b-4281-b951-d872f2087c98
* Add an alternate error page for connection errors. This is already ↵tc@google.com2008-10-151-11/+27
| | | | | | | | | | | | supported by Link Doctor, we just didn't have it at the time we implemented it. ERR_CONNECTION_FAILED is from winhttp and ERR_CONNECTION_REFUSED is from new-http. These error codes seem to only be used in one or the other. http://b/1359790 Review URL: http://codereview.chromium.org/7119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3410 0039d316-1c4b-4281-b951-d872f2087c98
* Change SpellChecker language without restarting the browser.sidchat@google.com2008-10-158-25/+150
| | | | | | Review URL: http://codereview.chromium.org/7056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3407 0039d316-1c4b-4281-b951-d872f2087c98
* Make unit_tests depend on generated_resources.maruel@google.com2008-10-152-0/+2
| | | | | | Review URL: http://codereview.chromium.org/7408 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3406 0039d316-1c4b-4281-b951-d872f2087c98
* This file was left out of my last checkin due to prior gcl cruft.beng@google.com2008-10-151-32/+21
| | | | | | http://crbug.com/2186 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3402 0039d316-1c4b-4281-b951-d872f2087c98
* Convert GetPreferredSize from:beng@google.com2008-10-15143-1521/+1379
| | | | | | | | | | | | | | | | | void GetPreferredSize(CSize* out); to: gfx::Size GetPreferredSize(); .. and update some other places to use gfx::Size as well. http://crbug.com/2186 Review URL: http://codereview.chromium.org/7344 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3400 0039d316-1c4b-4281-b951-d872f2087c98
* Insert NULL check to fix dist crashben@chromium.org2008-10-151-5/+4
| | | | | | Review URL: http://codereview.chromium.org/7407 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3399 0039d316-1c4b-4281-b951-d872f2087c98
* Change #ifdef _DEBUG test to #ifndef NDEBUG test.maruel@google.com2008-10-153-6/+6
| | | | | | Review URL: http://codereview.chromium.org/7404 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3398 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a crasher when shutting down with a pending dangerous download.jcampan@chromium.org2008-10-151-2/+4
| | | | | | | | BUG=3457 TEST=See bug Review URL: http://codereview.chromium.org/7406 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3396 0039d316-1c4b-4281-b951-d872f2087c98
* The is_content_filtered parameter of the ViewHostMsg_FrameNavigate_Params ↵jcampan@chromium.org2008-10-151-1/+5
| | | | | | | | | was not serialized/deserialized. BUG=2742 (partially) Review URL: http://codereview.chromium.org/7351 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3395 0039d316-1c4b-4281-b951-d872f2087c98
* Label::SizeToFit was not setting the width properly.jcampan@chromium.org2008-10-151-1/+1
| | | | | | | | BUG=3432 TEST=See bug. Review URL: http://codereview.chromium.org/7337 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3390 0039d316-1c4b-4281-b951-d872f2087c98
* Enable magic browzr again.ben@chromium.org2008-10-142-1/+3
| | | | | | R=mal git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3385 0039d316-1c4b-4281-b951-d872f2087c98
* Convert HitTest/GetViewForPoint to use gfx::Pointben@chromium.org2008-10-1422-70/+72
| | | | | | | http://crbug.com/2186 Review URL: http://codereview.chromium.org/7331 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3384 0039d316-1c4b-4281-b951-d872f2087c98
* Actually handle WM_SETICON and provide a virtual base that CustomFrameWindow ↵ben@chromium.org2008-10-141-0/+5
| | | | | | | | can override... Review URL: http://codereview.chromium.org/7321 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3383 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some places I missed the renaming changes.brettw@google.com2008-10-143-11/+11
| | | | | | Review URL: http://codereview.chromium.org/7332 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3382 0039d316-1c4b-4281-b951-d872f2087c98
* Rename RenderWidgetHostHWND to RenderWidgetHostViewWin for consistency with ↵brettw@google.com2008-10-1410-124/+139
| | | | | | | | | other view-related classes. No logic change. Review URL: http://codereview.chromium.org/7310 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3379 0039d316-1c4b-4281-b951-d872f2087c98
* Rename various text zoom related stuff to be more generic, since we now canbrettw@google.com2008-10-1410-55/+58
| | | | | | | | | | optionally zoom the page. I added an easy way in render_view to toggle between text zoom and full page zoom, and allowed the embedder to specify this in the glue layer. This allows me to fix the text zoom layout test, which specifically asks that the text be zoomed. Review URL: http://codereview.chromium.org/7320 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3377 0039d316-1c4b-4281-b951-d872f2087c98
* Try and find the location of crashben@chromium.org2008-10-141-0/+2
| | | | | | Review URL: http://codereview.chromium.org/7323 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3367 0039d316-1c4b-4281-b951-d872f2087c98
* Change all ConvertPointTo* methods to use gfx::Point instead of CPoint.ben@chromium.org2008-10-1436-303/+283
| | | | | | | | http://crbug.com/2186 Review URL: http://codereview.chromium.org/7317 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3365 0039d316-1c4b-4281-b951-d872f2087c98
* Make zomm do full page zoom instead of just text zoom.brettw@google.com2008-10-141-1/+1
| | | | | | Review URL: http://codereview.chromium.org/7314 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3359 0039d316-1c4b-4281-b951-d872f2087c98
* Accomodate move of tab_dragging_test.cc to browser\views.sgk@google.com2008-10-141-1/+1
| | | | | | Review URL: http://codereview.chromium.org/7144 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3357 0039d316-1c4b-4281-b951-d872f2087c98
* Replace View::GetBounds(CRect* bounds) const; with gfx::Rect bounds() const. ben@chromium.org2008-10-1425-246/+191
| | | | | | | | http://crbug.com/2186 Review URL: http://codereview.chromium.org/7136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3348 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the build by including string.brettw@google.com2008-10-141-0/+2
| | | | | | Review URL: http://codereview.chromium.org/7303 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3347 0039d316-1c4b-4281-b951-d872f2087c98
* Move more view stuff out of WebContents. This moves context menus and infobrettw@google.com2008-10-1416-181/+229
| | | | | | | | | | bars. I removed the associated functions on TabContents, and have callers call directly through to the view when the care about mucking with the info bar (which is busted, IMO). Review URL: http://codereview.chromium.org/7245 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3346 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r3334 to disable magic_browzR and see if that fixes the crashes in the mal@chromium.org2008-10-142-3/+1
| | | | | | | | | reliability tests. TBR= ben@chromium.org Review URL: http://codereview.chromium.org/7135 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3340 0039d316-1c4b-4281-b951-d872f2087c98
* Turn on MagicBrowzr again.ben@chromium.org2008-10-142-1/+3
| | | | | | Review URL: http://codereview.chromium.org/7280 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3334 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash in saving pages.ben@chromium.org2008-10-131-0/+1
| | | | | | | http://crbug.com/3393 Review URL: http://codereview.chromium.org/7285 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3331 0039d316-1c4b-4281-b951-d872f2087c98
* Fix issues with mouseleave messages not getting sent due to some sort of ↵ben@chromium.org2008-10-132-4/+5
| | | | | | | | | | issue with the message cracking macros in hwnd_view_container.h http://crbug.com/3375 Review URL: http://codereview.chromium.org/7126 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3326 0039d316-1c4b-4281-b951-d872f2087c98
* This is the first pass at refactoring the interstitial page.jcampan@chromium.org2008-10-1322-722/+892
| | | | | | | | | | | | | | | | | The SSL and malware blocking pages were doing similar things in 2 different classes. There is now a base class called InterstitialPage that contains the common logic. As part of that refactoring, the safe browsing was changed so that the SafeBrowsingBlockingPage is only used from the UI thread. This CL also adds transient entries to the navigation controller: that type of entry gets deleted as soon as a navigation occurs. It is used by interstitial that need to create such a temporary entry while they show. BUG=3013 TEST=Run the unit tests and ui tests. Review URL: http://codereview.chromium.org/6311 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3324 0039d316-1c4b-4281-b951-d872f2087c98
* Make plugin processes (except Gears) run at normal priority.jam@chromium.org2008-10-131-2/+6
| | | | | | | | | This fixes a lot of the spurious unresponsive plugin dialogs, and also makes it so that the browser process isn't hung waiting for a low priority plugin process when cpu usage is high. I was able to simulate this by using 100% cpu in a test program. Before this change, the dialog always comes up and a flash video never plays. The browser process is also hung. With this change the video plays and I can interact with the browser. Review URL: http://codereview.chromium.org/7129 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3323 0039d316-1c4b-4281-b951-d872f2087c98
* I forgot to make the background images not dnd-able on the blocking pages.jcampan@chromium.org2008-10-134-6/+6
| | | | | | | | | | TEST=Visit https://ebay.com. On the blocking page, try dragging things around. You should not be able to. BUG=3235 Review URL: http://codereview.chromium.org/7127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3322 0039d316-1c4b-4281-b951-d872f2087c98
* Renable disabled plugin ui tests since they now pass again.jam@chromium.org2008-10-131-2/+2
| | | | | | Review URL: http://codereview.chromium.org/7206 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3319 0039d316-1c4b-4281-b951-d872f2087c98
* Add new web_contents_view_win.cc to the SCons build.sgk@google.com2008-10-131-0/+5
| | | | | | Review URL: http://codereview.chromium.org/7269 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3318 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a memory leak when closing an IPC channel and not properlyrvargas@google.com2008-10-131-2/+9
| | | | | | | | | | removing the registration with the IO pump. TBR=darin Review URL: http://codereview.chromium.org/7122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3316 0039d316-1c4b-4281-b951-d872f2087c98
* Minor code clean up.paulg@google.com2008-10-132-4/+9
| | | | | | Review URL: http://codereview.chromium.org/7271 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3314 0039d316-1c4b-4281-b951-d872f2087c98
* Popups opened from popups should be constrained and subject to constrained ↵erg@google.com2008-10-131-7/+7
| | | | | | | | | | | popup limits. This solves the UI issue, but there's still the backend stuff which I've filled as http://crbug.com/3382 BUG=2632 Review URL: http://codereview.chromium.org/7233 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3313 0039d316-1c4b-4281-b951-d872f2087c98
* Use system title bar font for app windows, detached popups, constrained popups.ben@chromium.org2008-10-135-7/+42
| | | | | | | | http://crbug.com/3376 Review URL: http://codereview.chromium.org/7274 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3307 0039d316-1c4b-4281-b951-d872f2087c98
* Remove WatchObject from the ipc channel.rvargas@google.com2008-10-132-93/+77
| | | | | | Review URL: http://codereview.chromium.org/6031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3301 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up throbber animation for vista detached popup windows and app windows.ben@chromium.org2008-10-136-10/+76
| | | | | | | | http://crbug.com/3296 Review URL: http://codereview.chromium.org/7261 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3293 0039d316-1c4b-4281-b951-d872f2087c98
* Assorted improvements to window maximization and flicker on Windows Vista ↵ben@chromium.org2008-10-133-11/+98
| | | | | | | | | with aero-glass disabled. http://crbug.com/2488 Review URL: http://codereview.chromium.org/7262 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3292 0039d316-1c4b-4281-b951-d872f2087c98
* Tweaks for the text on the About box (from bug 3360):finnur@google.com2008-10-134-6/+19
| | | | | | | | | | | | | 1. "Google Chrome is made possible by the Google Chrome open source..." should read "Google Chrome is made possible by the Chromium open source..." 2. The second link in that sentence should be "<a>open source software</a>" Currently the word "software" isn't part of the link. 3. There shouldn't be a period at the end of "Google Chrome Terms of Service." Not a sentence. Review URL: http://codereview.chromium.org/7112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3287 0039d316-1c4b-4281-b951-d872f2087c98
* Add about_credits.html and recognize ssl_error.html in its new location.sgk@google.com2008-10-111-14/+24
| | | | | | | | | Do a better job of handling source .html files in arbitrary directories by using a Builder (to massage the suffixes) with an Emitter (to put the target in the $BROWSER_RESOURCES directory). Review URL: http://codereview.chromium.org/7248 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3281 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes a null pointer bug, and adds null checks around potentially dying ↵klink@chromium.org2008-10-111-5/+11
| | | | | | | | process and channel. Review URL: http://codereview.chromium.org/7099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3268 0039d316-1c4b-4281-b951-d872f2087c98
* Remove black line above detached poppup location barsben@chromium.org2008-10-111-1/+1
| | | | | | | http://crbug.com/3332 Review URL: http://codereview.chromium.org/7098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3265 0039d316-1c4b-4281-b951-d872f2087c98