summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix bug in scrolling where we wouldn't store the unioned rectangles, just ↵pinkerton@google.com2008-11-061-1/+1
| | | | | | | | let it drop on the floor. Review URL: http://codereview.chromium.org/9653 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4911 0039d316-1c4b-4281-b951-d872f2087c98
* Attempting to fix the Mac build.jcampan@chromium.org2008-11-062-9/+0
| | | | | | | TBR=nsylvain Review URL: http://codereview.chromium.org/9467 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4910 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting the autofill popu CL as it creates perf regression.jcampan@chromium.org2008-11-0638-773/+166
| | | | | | | | TBR=nsylvain Review URL: http://codereview.chromium.org/9460 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4908 0039d316-1c4b-4281-b951-d872f2087c98
* Enable unload UI tests again, but don't run them for single-process.ojan@google.com2008-11-061-4/+21
| | | | | | Review URL: http://codereview.chromium.org/9464 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4906 0039d316-1c4b-4281-b951-d872f2087c98
* Correctly add expectation.brettw@google.com2008-11-061-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4905 0039d316-1c4b-4281-b951-d872f2087c98
* Mark my test as failing.brettw@google.com2008-11-061-1/+5
| | | | | | Review URL: http://codereview.chromium.org/9651 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4902 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Chrome do not launch problem.kuchhal@chromium.org2008-11-061-1/+3
| | | | | | Review URL: http://codereview.chromium.org/9650 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4900 0039d316-1c4b-4281-b951-d872f2087c98
* fix mac build part 4tony@chromium.org2008-11-061-0/+6
| | | | | | | | | | | add password_autocomplete_listener.cc to the build TBR=mark Review URL: http://codereview.chromium.org/9648 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4899 0039d316-1c4b-4281-b951-d872f2087c98
* Add histogram to show network latency (first byte to last byte)jar@google.com2008-11-062-0/+16
| | | | | | | | | Also added a histogram to show effective bandwidth of the download. r=darin,wtc Review URL: http://codereview.chromium.org/9625 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4898 0039d316-1c4b-4281-b951-d872f2087c98
* Rebase foreign object layout test. We now correctly draw the button.brettw@google.com2008-11-062-1/+1
| | | | | | Review URL: http://codereview.chromium.org/9646 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4896 0039d316-1c4b-4281-b951-d872f2087c98
* fix mac build part 3tony@chromium.org2008-11-062-1/+3
| | | | | | | | | | | "config.h" needs to be included first TBR=mark Review URL: http://codereview.chromium.org/9647 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4895 0039d316-1c4b-4281-b951-d872f2087c98
* fix mac build take 2tony@chromium.org2008-11-061-0/+4
| | | | | | | | | | | add autocomplete_input_listener.cc to the glue lib TBR=mark Review URL: http://codereview.chromium.org/9645 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4894 0039d316-1c4b-4281-b951-d872f2087c98
* fix mac buildtony@chromium.org2008-11-061-0/+2
| | | | | | | | | | | add dom_operations.cc to the mac build TBR=mark Review URL: http://codereview.chromium.org/9644 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4893 0039d316-1c4b-4281-b951-d872f2087c98
* Port some test_shell_tests, and platform cleanup for more of them.tc@google.com2008-11-069-51/+69
| | | | | | | | | | | | | | Many of these files that I don't added to the build would even compile and link, but don't yet pass with current test_shell on Linux. They just hang. Patch from Paweł Hajdan jr <phajdan.jr@gmail.com> on http://codereview.chromium.org/9417 Review URL: http://codereview.chromium.org/9641 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4892 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for arbitrarily transformed Windows buttons text fields, and ↵brettw@google.com2008-11-064-25/+264
| | | | | | | | select boxes (but does not affect scroll bars). I created a helper class, ThemeHelperWin, which automatically wraps the logic necessary to do this. There are three modes: draw the form control normally, draw it at a different size (for scaling, just tell Windows it's a different size and don't transform the graphics coordinates), or arbitrary transforms (where it's drawn to an offscreen buffer and transformed by our graphics layer. Review URL: http://codereview.chromium.org/9008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4890 0039d316-1c4b-4281-b951-d872f2087c98
* Preserve the output vector for cookie loading. This prevents a few unneeded ↵deanm@chromium.org2008-11-061-10/+13
| | | | | | | | vector growth / copies for the typical cookie database. Review URL: http://codereview.chromium.org/9437 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4889 0039d316-1c4b-4281-b951-d872f2087c98
* deps roll for platform.h changepinkerton@google.com2008-11-061-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4888 0039d316-1c4b-4281-b951-d872f2087c98
* Fix FEATURE_DEFINES after r4818. Remove HAVE_ACCESSIBILITY from Release (itmark@chromium.org2008-11-062-4/+4
| | | | | | | | | | was already removed from Debug). Remove the trailing space on the FEATURE_DEFINES setting in debug mode; it was causing a DOUBLE space in the --defines string being passed to generate-bindings.pl, of which that script is intolerant. Review URL: http://codereview.chromium.org/9640 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4886 0039d316-1c4b-4281-b951-d872f2087c98
* Changed the call to attach the debugger to V8 to run in the renderer thread. ↵sgjesse@chromium.org2008-11-062-2/+21
| | | | | | | | | | | | | With V8 r648 (Review URL: http://codereview.chromium.org/8909) attaching the debugger to V8 will initialize V8 if not already initialized. This needs to be serialized with the initialization of V8 in the renderer thread. This change does not require the changes in V8 r648, but will not have any effect without. Added a few comments. BUG=3723 Review URL: http://codereview.chromium.org/8735 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4875 0039d316-1c4b-4281-b951-d872f2087c98
* Add option --winhttp to the layout test runner.sgjesse@chromium.org2008-11-061-0/+6
| | | | | | Review URL: http://codereview.chromium.org/9173 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4874 0039d316-1c4b-4281-b951-d872f2087c98
* Changes parameters used by IME code to fix several issues caused by Japanese ↵hbono@chromium.org2008-11-0615-105/+125
| | | | | | | | | | | | | | IMEs. Recent Japanese IMEs (ATOK2008 and MSIME 2007) display a suggestion window (a window which contains suggestions) above a composition string. To fix this issue, we do not only send the lower-left corner of a composition string but also send its upper-left corner and its upper-right corner. So, this change changes IPC parameters used by IME from a tuple of integers to gfx::Rect. Also, this change fixes cursor positions for Japanese IMEs. BUG=2770 "IME: Candidate window of Japanese IME follows the end of composition" BUG=2771 "ATOK 2008 IME pop-ups are displayed below the main Chrome window." BUG=2775 "IME: Caret is always displayed at the last of IME composition." Review URL: http://codereview.chromium.org/7385 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4872 0039d316-1c4b-4281-b951-d872f2087c98
* Disable one IPCSyncChannel test in purify to see if the tree remains green. ↵jam@chromium.org2008-11-061-0/+3
| | | | | | | | | | | | I tested on the buildbot and this is the only one I could see leaks in. If it stays green, I'll narrow it more by modifying the test. TBR=erikkay Review URL: http://codereview.chromium.org/9451 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4871 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Large Font issues in About box (issue 2458).finnur@google.com2008-11-0650-108/+151
| | | | | | Review URL: http://codereview.chromium.org/9432 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4870 0039d316-1c4b-4281-b951-d872f2087c98
* Toolbar Importer Pass2brg@chromium.com2008-11-0612-259/+774
| | | | | | | | | | | | | Implements the following features 1. Toolbar import always available after first run 2. Deduping of imported favorites 3. Removes attempt to import favicons (not supported through Toolbar UI atm) 4. Always the user to cancel from the UI safely 5. Unittests for parsing (TODO Better UI for login) Review URL: http://codereview.chromium.org/9414 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4867 0039d316-1c4b-4281-b951-d872f2087c98
* Disable new tests that are failing on buildbot.ojan@google.com2008-11-061-4/+4
| | | | | | Review URL: http://codereview.chromium.org/9446 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4861 0039d316-1c4b-4281-b951-d872f2087c98
* A reported crasher seems to indicate the ViewStorage can be NULL. I don't ↵jcampan@chromium.org2008-11-061-1/+17
| | | | | | | | | | | | see how it could happen. Just bullet-proofing the code so we don't crash. BUG=981648 Review URL: http://codereview.chromium.org/9190 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4857 0039d316-1c4b-4281-b951-d872f2087c98
* A more friendly build error on linuxtc@google.com2008-11-061-3/+12
| | | | | | | | | when packages are not found by pkg-config. Review URL: http://codereview.chromium.org/9618 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4856 0039d316-1c4b-4281-b951-d872f2087c98
* Bandaid patch so that we continue with crosssite navigations instead of ↵ojan@google.com2008-11-0617-25/+233
| | | | | | | | | | | | | | | closing the tab if the beforeunload /unload handler hangs. This patch does the right user-visible behavior, but I'm not a huge fan of the plumbing necessary to make it work. Totally open to cleanup suggestions. There's also currently one bug that I haven't been able to pinpoint in the UI test. It only treats the first UI test of the four that I run as a cross-site navigation. No matter which test I run first. I wonder if there is some state I should be setting/clearing before/after each test run? Also there's a DHECK that we hit that the UI test exposed. I 'm not sure it's a case that a user could actually hit though and it's not new with this code, so I added a TODO. Can I get help from a mac person on adding the UI test to the xcode project? BUG=3198 Review URL: http://codereview.chromium.org/8920 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4855 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes a crash if you put chrome in a very short directorycpu@google.com2008-11-061-9/+2
| | | | | | | | | | | - like c:\bang. - it will crash at startup on a bad iterator use. BUG=4112 Review URL: http://codereview.chromium.org/9610 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4854 0039d316-1c4b-4281-b951-d872f2087c98
* Fix mac build bustage caused by undefined symbol.darin@google.com2008-11-062-0/+9
| | | | | | | | TBR=pinkerton Review URL: http://codereview.chromium.org/9617 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4852 0039d316-1c4b-4281-b951-d872f2087c98
* The form aufotill was triggering a DCHECK when a form had a password field ↵jcampan@chromium.org2008-11-061-2/+2
| | | | | | | | | | | but no user name associated. This was causing some wekbit layout tests to fail. TEST=Run the webkit layout tests. Review URL: http://codereview.chromium.org/9612 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4850 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate CursorChromium's dependency on webkit/glue.darin@chromium.org2008-11-0622-533/+540
| | | | | | | | | | | Also modified WidgetChromium to use ChromiumBridge instead of talking to ChromeClientChromium. I want to eliminate that fake interface in favor of just having our code talk directly to ChromeClientImpl, but that means a dependency on webkit/glue, so I needed to use ChromiumBridge. Long-term, I'd like to propose changes upstream to HostWindow and ChromeClient to avoid this usage of ChromiumBridge. The most impactful part of this CL is the change to move the enumeration of cursor types from WebCursor to PlatformCursor. This means that WebCursor consumers no longer have access to the type enumeration. I replaced that with helper functions on WebCursor. I think the result not only achieves the goal of breaking CursorChromium's dependency on webkit/glue but is also much cleaner. R=iyengar,eseidel Review URL: http://codereview.chromium.org/9072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4846 0039d316-1c4b-4281-b951-d872f2087c98
* Switch from using GdkPixbuf to cairo for painting on Drawables.agl@chromium.org2008-11-064-36/+84
| | | | | | | | | | Make everything use ARGB order in registers (B.G.R.A order in memory on little-endian systems) Review URL: http://codereview.chromium.org/8227 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4845 0039d316-1c4b-4281-b951-d872f2087c98
* Make assertions not display message boxes to the end user. This is causingbrettw@google.com2008-11-061-3/+7
| | | | | | | | | an infinite recursion of assertion messages during a painting error. BUG=4139 Review URL: http://codereview.chromium.org/9608 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4844 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes bug http://code.google.com/p/chromium/issues/detail?id=4076, ↵ananta@chromium.org2008-11-062-1/+20
| | | | | | | | | | | | | | which was a hang while loading certain PDF files. This was a regression caused by support for NPN_RequestRead (PDF Fast Webview). We had incorrectly assumed that the Content Type showing up for partial HTTP Responses would always end with the boundary. A content type can show up like multipart/byteranges; boundary=--bound--; charSet=utf8. As a result we would look for the wrong boundary in the actual data resulting in a hang. The parsing code now accounts for this. Added a unit test to test this case. Bug=4076 R=jam Review URL: http://codereview.chromium.org/9198 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4842 0039d316-1c4b-4281-b951-d872f2087c98
* Fix all callers of the removed GraphicsContext functions to use only the ↵brettw@google.com2008-11-055-50/+47
| | | | | | | | functions in the upstream version of WebKit. Review URL: http://codereview.chromium.org/9210 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4840 0039d316-1c4b-4281-b951-d872f2087c98
* Whitespace typo fix from CL 8722agl@chromium.org2008-11-051-2/+2
| | | | | | | Review URL: http://codereview.chromium.org/9611 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4839 0039d316-1c4b-4281-b951-d872f2087c98
* revert 9391estade@chromium.org2008-11-056-29/+54
| | | | | | Review URL: http://codereview.chromium.org/9607 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4837 0039d316-1c4b-4281-b951-d872f2087c98
* Enabled WebFrameTest, refactored some test shell functions.estade@chromium.org2008-11-056-54/+29
| | | | | | Review URL: http://codereview.chromium.org/9391 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4834 0039d316-1c4b-4281-b951-d872f2087c98
* Add two UMA histograms for DNS prefetchingjar@google.com2008-11-051-2/+2
| | | | | | | | | | | I have a more complex change list, and wanted to be able to carefully constrast the before-and-after impact. r=mbelshe Review URL: http://codereview.chromium.org/9166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4833 0039d316-1c4b-4281-b951-d872f2087c98
* Actually preload the cookie database. The previous logic was inverted.deanm@chromium.org2008-11-051-11/+15
| | | | | | Review URL: http://codereview.chromium.org/9183 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4830 0039d316-1c4b-4281-b951-d872f2087c98
* Quick and easy fix for vista taskbar auto hide issueamit@chromium.org2008-11-052-10/+67
| | | | | | | | | | | | | | | | | | | | | | In vista we designate the main frame border as a part of non-client area. This is similar to a popup window having resizing border. The default logic to maximize such a window, stretches the borders outside of the screen and the client area occupies the entire work area. As a result windows taskbar treats it as a 'full screen' application and hides itself in an auto-hide mode. An XP-like fix for this, that is to reduce client area vertically by one pixel, would most likely involve overriding WM_SYSCOMMAND of SC_MAXIMIZE. Hence, this is a cheap, although a bit ugly fix in WM_GETMINMAXINFO handling. BUG=20 Review URL: http://codereview.chromium.org/9305 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4825 0039d316-1c4b-4281-b951-d872f2087c98
* Allow DoLoop to be called even while no userdkegel@google.com2008-11-051-21/+97
| | | | | | | | | | | | | | | request is pending. Unlike the Windows implementation, our DoLoop eagerly initiates I/O between its internal buffers and the network, and we have to be ready to pump data when that completes. Also add debugging macros, but leave them disabled until the next time somebody has to understand the state machine. Fixes http://code.google.com/p/chromium/issues/detail?id=4061 Review URL: http://codereview.chromium.org/9152 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4823 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unnecessary, deleted pending/ subdirectories from CPPPATH.sgk@google.com2008-11-052-3/+0
| | | | | | Review URL: http://codereview.chromium.org/9434 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4820 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the UploadDataStream::Reset method. Instead,wtc@google.com2008-11-054-22/+109
| | | | | | | | | | | | | | | | rewind an UploadDataStream by recreating the object. Fix a bug in MockTCPClientSocket::Write. It needs to increment write_index_. Add two DCHECKs to simulate the DCHECKS in SSLClientSocketWin::DoPayloadEncrypt. Add a unit test. R=darin,eroman BUG=4062 Review URL: http://codereview.chromium.org/9384 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4819 0039d316-1c4b-4281-b951-d872f2087c98
* don't define HAVE_ACCESSIBILITY, pull in chromium stubs for object cachepinkerton@google.com2008-11-052-2/+6
| | | | | | Review URL: http://codereview.chromium.org/9196 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4818 0039d316-1c4b-4281-b951-d872f2087c98
* Mac build fixes following r4804. Add files to the Mac project. Add requiredmark@chromium.org2008-11-053-0/+11
| | | | | | | #includes. Review URL: http://codereview.chromium.org/9195 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4812 0039d316-1c4b-4281-b951-d872f2087c98
* Don't crash when getting strings out of the database. column_text is a ↵brettw@google.com2008-11-053-5/+5
| | | | | | | | | little dangerous because it can return NULL. Most STL string stuff can't handle this. I changed the uses to column_string() which handles NULL properly and generates STL strings for us. BUG=3770 Review URL: http://codereview.chromium.org/9189 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4811 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug where we failed to paint infobars and other fast-moving items correctly.glen@chromium.org2008-11-051-1/+1
| | | | | | | | | BUG=4048 Review URL: http://codereview.chromium.org/9192 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4810 0039d316-1c4b-4281-b951-d872f2087c98
* Added functions to WebDatabase and WebDataService for recording frequent ↵petersont@google.com2008-11-0515-6/+602
| | | | | | | | entries in text input elements in forms. Also added the class AutofillManager which gets instantiated once per WebContents and provides an API from which the database can be easily accessed to provide a list of possible desired values to be entered in a text field given what the user has already typed there. Review URL: http://codereview.chromium.org/8845 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4809 0039d316-1c4b-4281-b951-d872f2087c98