summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add incognito icon to vista frame windows that are incognito.ben@chromium.org2008-10-112-3/+48
| | | | | | | | http://crbug.com/2471 Review URL: http://codereview.chromium.org/7250 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3264 0039d316-1c4b-4281-b951-d872f2087c98
* Fix RTL issues with opaque frame. ben@chromium.org2008-10-104-19/+14
| | | | | | | | http://crbug.com/3247 Review URL: http://codereview.chromium.org/7240 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3256 0039d316-1c4b-4281-b951-d872f2087c98
* Start splitting out view-related stuff from WebContents into a new class ↵brettw@google.com2008-10-1011-391/+622
| | | | | | | | WebContentsViewWin, accessed through an abstract interface WebContentsView. This is incomplete but is a good start. There are still a bunch of pass-throughs required for the TabContents overrides. These won't be able to be cleaned up until we kill TabContents. Review URL: http://codereview.chromium.org/7205 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3243 0039d316-1c4b-4281-b951-d872f2087c98
* Add about:terms to Chrome, and about:licenses to Chromium and Chrome.glen@google.com2008-10-1095-3/+7032
| | | | | | Review URL: http://codereview.chromium.org/6804 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3239 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build errors on Linux.mmoss@google.com2008-10-101-12/+12
| | | | | | Review URL: http://codereview.chromium.org/6047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3235 0039d316-1c4b-4281-b951-d872f2087c98
* Add a meaning= attributes to two strings that both have the sametc@google.com2008-10-101-1/+1
| | | | | | | | | | | English translation. This allows GRIT to create two separate messages for the translation console so there can be distinct translation in other languages. This is to fix http://b/1411910 Review URL: http://codereview.chromium.org/7084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3229 0039d316-1c4b-4281-b951-d872f2087c98
* This CL adds prompting for dangerous types of files (executable) when they ↵jcampan@chromium.org2008-10-1027-434/+1245
| | | | | | | | | | | | | | | | are automatically downloaded. The file is saved with a temporary name (dangerous_download_xxxx.download) in the download directory and the user is presented (in the download shelf and the download tab if opened) with a warning message and buttons to save/discard the download. If discarded the download is removed (and its file deleted). If saved, download goes as usual. Dangerous downloads not confirmed by the user are deleted on shutdown. TEST=Download a small exe file, try using the save/discard button from the download shelf and from the download tab (the intent is that the file has been entirely downloaded by the time you take action). Try again with a slow/big download (that time the download is expected not to be finished when approved/discarded). Review URL: http://codereview.chromium.org/6043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3228 0039d316-1c4b-4281-b951-d872f2087c98
* Terms of Service don't apply to Chromium. Remove the link from the About box.finnur@google.com2008-10-102-19/+18
| | | | | | Review URL: http://codereview.chromium.org/7231 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3222 0039d316-1c4b-4281-b951-d872f2087c98
* Roll back trial from last nightben@chromium.org2008-10-103-22/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3217 0039d316-1c4b-4281-b951-d872f2087c98
* fix linux buildtc@google.com2008-10-106-5/+6
| | | | | | | | | | | By fixing other places where we tried to include libxml/scons but it is now libxml/DerivedSources. TBR=sgk Review URL: http://codereview.chromium.org/7071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3205 0039d316-1c4b-4281-b951-d872f2087c98
* Forgot a .h file. finnur@google.com2008-10-101-0/+2
| | | | | | | | TBR=tc Review URL: http://codereview.chromium.org/7208 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3178 0039d316-1c4b-4281-b951-d872f2087c98
* Allow the translators to chose which link appears first in the About box.finnur@google.com2008-10-103-11/+22
| | | | | | Review URL: http://codereview.chromium.org/7035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3176 0039d316-1c4b-4281-b951-d872f2087c98
* Another attempt at fixing non-client flicker. Let's see how well this works.ben@chromium.org2008-10-101-9/+9
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3169 0039d316-1c4b-4281-b951-d872f2087c98
* Make loading animations on app windows not call WM_SETICON on every frame. Ow.ben@chromium.org2008-10-106-11/+18
| | | | | | Review URL: http://codereview.chromium.org/7204 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3168 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a couple of UMRs in the unit tests.paulg@google.com2008-10-102-0/+3
| | | | | | Review URL: http://codereview.chromium.org/7047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3165 0039d316-1c4b-4281-b951-d872f2087c98
* Add a bunch of dlls to our dll eviction blacklistcpu@google.com2008-10-091-2/+30
| | | | | | | | | | | | | Using the data collected by Marc-Antoine from 3800 dumps, I have selected the dlls that we want to vote out of the island. This should reduce the number of crashes we suffer because these dlls interact badly with the sandbox. - This change only afects renderers - We won't block it if the dll is not first found loaded in the browser process - Testing this is going to be challenging. Review URL: http://codereview.chromium.org/6376 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3155 0039d316-1c4b-4281-b951-d872f2087c98
* Put this file back into its original state when I first landed this change ↵ben@chromium.org2008-10-092-0/+11
| | | | | | | | | earlier today. http://crbug.com/3264 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3154 0039d316-1c4b-4281-b951-d872f2087c98
* Fix regression with app window titles.ben@chromium.org2008-10-091-5/+2
| | | | | | Review URL: http://codereview.chromium.org/7039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3152 0039d316-1c4b-4281-b951-d872f2087c98
* Provide an option to turn on the new SafeBrowsing storage systempaulg@google.com2008-10-091-0/+4
| | | | | | | | | | via a command line flag ("--new-safe-browsing"). This is to ease testing and is not yet ready for production use. Review URL: http://codereview.chromium.org/6390 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3148 0039d316-1c4b-4281-b951-d872f2087c98
* Implement ScrollView::inWindow by plumbing through RenderWidget::is_hidden ↵jam@chromium.org2008-10-091-0/+1
| | | | | | | | | | to improve performance when a tab is in the background. BUG=2525 Review URL: http://codereview.chromium.org/6503 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3147 0039d316-1c4b-4281-b951-d872f2087c98
* Account for the distributor logo when sizing the title text bounds.ben@chromium.org2008-10-091-1/+4
| | | | | | | http://crbug.com/2711 Review URL: http://codereview.chromium.org/6387 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3144 0039d316-1c4b-4281-b951-d872f2087c98
* Put back WM_ENTERIDLE handler and remove WM_INITMENU and WM_INITMENUPOPUP ↵ben@chromium.org2008-10-092-11/+7
| | | | | | | | | | handlers. http://crbug.com/3264 Review URL: http://codereview.chromium.org/6605 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3143 0039d316-1c4b-4281-b951-d872f2087c98