summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert 76825 - Refactor Views accessibility.jcivelli@chromium.org2011-03-04139-1068/+884
| | | | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6581010 TBR=dmazzoni@chromium.org Review URL: http://codereview.chromium.org/6612035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76844 0039d316-1c4b-4281-b951-d872f2087c98
* ui_tests: use the correct tab titleevan@chromium.org2011-03-031-1/+1
| | | | | | | | | | To get the title actually shown by a tab, call the function that we use for computing the tab text. (Sometimes it returns title() and sometimes it computes something more complex.) Review URL: http://codereview.chromium.org/6612031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76841 0039d316-1c4b-4281-b951-d872f2087c98
* Removed GPU plugin.apatrick@chromium.org2011-03-0324-1236/+19
| | | | | | | | | | | Pepper 3D v2 does not use the GPU plugin. It is integrated with the accelerated compositor. TEST=PPAPI 3D v2 still works, trybots BUG=none Review URL: http://codereview.chromium.org/6588090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76840 0039d316-1c4b-4281-b951-d872f2087c98
* Port O2D to Mac, currently just for Core Graphics (the drawing model used in ↵tschmelcher@chromium.org2011-03-0315-94/+265
| | | | | | | | | | | Chrome on 10.5). Unfortunately the performance is not yet good enough to prefer it over the CGL + GPU readback + CoreGraphics re-render code path currently in use, so some optimization work will be necessary. TEST=loaded O3D on OSX with RenderMode=Auto and RenderMode=2D in Chrome 9 on 10.5 and 10.6, Safari 4 on 10.5, Safari 5 on 10.6, and FF 3.6 on 10.5 and 10.6 and verified that Auto works everywhere, 2D works in Chrome on 10.5, and 2D fails without crashing in the remaining cases; unit tests BUG=none Review URL: http://codereview.chromium.org/6614005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76839 0039d316-1c4b-4281-b951-d872f2087c98
* Adding resources for PDF loading progress control.gene@chromium.org2011-03-0314-0/+38
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6612022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76838 0039d316-1c4b-4281-b951-d872f2087c98
* Release notes for M10.kathyw@chromium.org2011-03-034-12/+54
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6609001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76837 0039d316-1c4b-4281-b951-d872f2087c98
* Split infobar_test_helper.[h,mm] into separate pieces for the different ↵tfarina@chromium.org2011-03-038-148/+166
| | | | | | | | | | | classes defined within. BUG=None TEST=existing unit_tests. Review URL: http://codereview.chromium.org/6612008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76836 0039d316-1c4b-4281-b951-d872f2087c98
* Linux Printing: Properly print a subset of all pages.thestig@chromium.org2011-03-036-16/+49
| | | | | | | | BUG=59732 TEST=Open a 10 PDF, print pages 6,7,8 or pages 6-8. Review URL: http://codereview.chromium.org/6592093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76835 0039d316-1c4b-4281-b951-d872f2087c98
* Instrument the allocator code so that we can track down the cause of recent ↵tommi@chromium.org2011-03-033-44/+66
| | | | | | | | | | | crashes. BUG=74777 TEST=This should give us a clearer picture of what's going wrong in the recent courgette crashes. Review URL: http://codereview.chromium.org/6611027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76834 0039d316-1c4b-4281-b951-d872f2087c98
* Modify ThreadChecker and NonThreadSafe so that theirjoi@chromium.org2011-03-0312-212/+258
| | | | | | | | | | | | | | | functionality is available in release builds if explicitly requested by using their Impl types. The default usage remains that they do nothing in release mode. Also, update unit tests to run in release mode, verifying that the release versions of NonThreadSafe and ThreadChecker do nothing in release builds. BUG=none TEST=base unit tests Review URL: http://codereview.chromium.org/6599004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76833 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Fix the session info on NTP to properly set opacity. Fix bug in ↵zea@chromium.org2011-03-033-7/+12
| | | | | | | | | | | association for dev console. BUG=74771 TEST=Run with --enable-sync-sessions and --sync-url set to a server that supports sessions. Check that sessions are visible. Review URL: http://codereview.chromium.org/6610008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76832 0039d316-1c4b-4281-b951-d872f2087c98
* Change threading semantics in P2PSocketClient.sergeyu@chromium.org2011-03-033-52/+85
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/6611024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76831 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache: End the throttling experiment and removervargas@google.com2011-03-035-233/+28
| | | | | | | | | | | the throttling queue BUG=54338 TEST=none Review URL: http://codereview.chromium.org/6602073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76830 0039d316-1c4b-4281-b951-d872f2087c98
* Print Preview: Enumerate printers on the FILE thread.thestig@chromium.org2011-03-032-11/+60
| | | | | | | | BUG=none TEST=Less UI jank when opening the print preview tab. Review URL: http://codereview.chromium.org/6611008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76829 0039d316-1c4b-4281-b951-d872f2087c98
* Printing: Re-enable PrintJobTest.SimplePrint that use to crash with a DCHECK.thestig@chromium.org2011-03-031-7/+1
| | | | | | | | BUG=55181 TEST=none Review URL: http://codereview.chromium.org/6575014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76828 0039d316-1c4b-4281-b951-d872f2087c98
* Move MessageRouter from chrome to content.jam@chromium.org2011-03-0312-21/+19
| | | | | | | TBR=avi Review URL: http://codereview.chromium.org/6603027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76827 0039d316-1c4b-4281-b951-d872f2087c98
* Printing: Check for NULL TabContents in PrintViewManager.thestig@chromium.org2011-03-031-4/+5
| | | | | | | | BUG=74770 TEST=Trigger bug 59732 - open a 10 page PDF, print pages 6,7. Then qutting the browser should not cause it to crash. Review URL: http://codereview.chromium.org/6603007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76826 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor Views accessibility.dmazzoni@chromium.org2011-03-03139-884/+1068
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6581010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76825 0039d316-1c4b-4281-b951-d872f2087c98
* Add X509Certificate::VerifyCertName(string) API. This will be usedmbelshe@chromium.org2011-03-037-125/+162
| | | | | | | | | | | | | | to check if a name matches a cert without doing a full certificate verify. Use the API provided as part of NSS. For other platforms, provide a default implementation based on GetDNSNames. BUG=none TEST=X509CertificateTest.WebkitCertParsing Review URL: http://codereview.chromium.org/6612013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76824 0039d316-1c4b-4281-b951-d872f2087c98
* Change these JS files from CRLF to LF eol-style. svn:eol-style had been ↵dtseng@chromium.org2011-03-032-101/+101
| | | | | | | | applied after initial checkin. TBR=dtseng git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76823 0039d316-1c4b-4281-b951-d872f2087c98
* [NTP] Focus already opened NTP when an app is installed, instead of opening ↵jstritar@chromium.org2011-03-032-15/+42
| | | | | | | | | | | a new one. BUG=61285 TEST=See bug. Review URL: http://codereview.chromium.org/6602052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76822 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Confirm-to-Quit: Draw the window frame ourselves to not show the titlebar.rsesek@chromium.org2011-03-036-1101/+108
| | | | | | | | | | | | | | This removes the XIB in favor of doing programmatic drawing. As a side effect of not having a titlebar, the window will no longer be eligible to take key status (fixing crbug.com/74813). BUG=74813 TEST=Visual Review URL: http://codereview.chromium.org/6612019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76821 0039d316-1c4b-4281-b951-d872f2087c98
* Add a NavigateToURL automation method which uses the JSON interface. Use it ↵kkania@chromium.org2011-03-0311-36/+315
| | | | | | | | | | | in ChromeDriver. BUG=none TEST=none Review URL: http://codereview.chromium.org/6588115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76820 0039d316-1c4b-4281-b951-d872f2087c98
* Stop about:gpu from accessing the GpuProcessHost shim directly whennduca@chromium.org2011-03-034-21/+40
| | | | | | | | | | | | asking for complete gpu info. This fixes the case where each reload of about:gpu would previousy relaunch the GpuProcess on blacklisted machines. BUG= TEST= Review URL: http://codereview.chromium.org/6613026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76819 0039d316-1c4b-4281-b951-d872f2087c98
* Add GetP2PSocketDispatcher() in ppapi::PluginDelegate.sergeyu@chromium.org2011-03-036-1/+23
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/6609028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76818 0039d316-1c4b-4281-b951-d872f2087c98
* Code to distinguish the Pro3,1 17" from the Pro 3,1 15", mild cleanup.avi@chromium.org2011-03-031-48/+75
| | | | | | | | | BUG=none TEST=should still work on all machines, correctly on a Pro3,1 17" Review URL: http://codereview.chromium.org/6609020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76817 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Task manager alternating colors for background pages.shess@chromium.org2011-03-031-1/+6
| | | | | | | | | | | | Previously all the background pages showed as a uniform color. This alternates like the regular table view, based on that color. BUG=none TEST=Alternating rows should continue the same pattern. Review URL: http://codereview.chromium.org/6596090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76816 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 76796 - Simple stub menu model for multi-profile menu. Will be used ↵mirandac@chromium.org2011-03-033-89/+0
| | | | | | | | | | | | | for multi-profile UI before back end is hooked in. BUG=74731 TEST=none Review URL: http://codereview.chromium.org/6610015 TBR=mirandac@chromium.org Review URL: http://codereview.chromium.org/6610028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76815 0039d316-1c4b-4281-b951-d872f2087c98
* Valgrind: Suppress a similar leak for 36605.jhawkins@chromium.org2011-03-031-0/+15
| | | | | | | | | | TBR=thestig BUG=36605 TEST=none Review URL: http://codereview.chromium.org/6609032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76814 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 76808 - Fix Clang errors in profile_menu_model and menu_2.mirandac@chromium.org2011-03-034-8/+1
| | | | | | | | | | | | BUG=none TEST=Clang bots are happy. Review URL: http://codereview.chromium.org/6613028 TBR=mirandac@chromium.org Review URL: http://codereview.chromium.org/6613031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76813 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some views errors found by clang (e.g. dead override)thakis@chromium.org2011-03-031-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | In file included from chrome/browser/ui/views/frame/browser_frame_gtk.cc:13: ./chrome/browser/ui/views/frame/browser_root_view.h:50:31:error: reference to 'OSExchangeData' is ambiguous bool GetPasteAndGoURL(const OSExchangeData& data, GURL* url); ^ ./chrome/browser/ui/views/frame/browser_root_view.h:12:7: note: candidate found by name lookup is 'OSExchangeData' class OSExchangeData; ^ In file included from chrome/browser/ui/views/frame/browser_frame_gtk.cc:5: In file included from ./chrome/browser/ui/views/frame/browser_frame_gtk.h:11: In file included from ./views/window/window_gtk.h:10: ./views/widget/widget_gtk.h:27:11: note: candidate found by name lookup is 'OSExchangeData' using ui::OSExchangeData; This is an actual problem because it makes the drag overrides in the class have no effect. Regressed in http://codereview.chromium.org/6200005 BUG=70465 TEST=none Review URL: http://codereview.chromium.org/6612027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76812 0039d316-1c4b-4281-b951-d872f2087c98
* Valgrind: Suppress a leak in remoting::HeartbeatSender.jhawkins@chromium.org2011-03-031-0/+10
| | | | | | | | | | TBR=thestig BUG=74850 TEST=none Review URL: http://codereview.chromium.org/6612030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76811 0039d316-1c4b-4281-b951-d872f2087c98
* Valgrind: Widen a suppression.jhawkins@chromium.org2011-03-031-2/+0
| | | | | | | | | | TBR=thestig BUG=39963 TEST=none Review URL: http://codereview.chromium.org/6611026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76810 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 76792 - fix display of filenames in file:/// URLsjcivelli@chromium.org2011-03-033-13/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | It breaks the following tests: BrowserTest.NoTitle and AutomationProxyTest2.GetTabTitle The code attempted to shorten file:/// URLs to just the filename when displayed as the title of a page. But that appears to have regressed sometime in the past. This shortening is consistent with how we display the title of images (which are like "foo.png (123x456)".) Chrome does a poor job of displaying longer titles (most of the tab title ends up being "file:///C:/" anyway). In any case, using a FilePath to get the filename from a URL may not have even worked on Windows, where the path separator is a backslash. It appears Glen wrote the original code, Brett may be the one to have regressed it in a refactor, and I probably broke it worse in a FilePath refactor. BUG=69467 TEST=load a text file via a file: URL; tab title is just the file name Review URL: http://codereview.chromium.org/6591127 TBR=evan@chromium.org Review URL: http://codereview.chromium.org/6614025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76809 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Clang errors in profile_menu_model and menu_2.mirandac@chromium.org2011-03-034-1/+8
| | | | | | | | | BUG=none TEST=Clang bots are happy. Review URL: http://codereview.chromium.org/6613028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76808 0039d316-1c4b-4281-b951-d872f2087c98
* Replace EXPECT_EQ(false, ...) with EXPECT_FALSE(...) to fix clang buildkinuko@chromium.org2011-03-031-2/+2
| | | | | | | | | BUG=none TEST=green tree Review URL: http://codereview.chromium.org/6614024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76807 0039d316-1c4b-4281-b951-d872f2087c98
* Remove web_ui_util helper functions.kmadhusu@chromium.org2011-03-038-64/+46
| | | | | | | | | | | | | | Remove web_ui_util::GetJsonResponseFromFirstArgumentInList() & web_ui_util::GetJsonResponseFromArgumentList(). Associated review at: http://codereview.chromium.org/6574007/ BUG=none TEST=none Review URL: http://codereview.chromium.org/6581041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76806 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling a couple of pyauto autofill tests that need to be modified.sunandt@chromium.org2011-03-031-0/+3
| | | | | | | | | BUG=74843 TEST=none Review URL: http://codereview.chromium.org/6609027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76804 0039d316-1c4b-4281-b951-d872f2087c98
* Fix webkit build failure reported by evan@dilmah@chromium.org2011-03-031-8/+9
| | | | | | | | | | | | | When fetching svn URL via 'git svn info --url' command git-svn.perl script may print its progress log to stdout instead of stderr: as a result we end up using all this junk as svn repository URL. Fix it by filtering output. BUG=None TEST=None Review URL: http://codereview.chromium.org/6603022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76803 0039d316-1c4b-4281-b951-d872f2087c98
* Fix clang build by out-of-lining stub openFileSystem method.adamk@chromium.org2011-03-032-3/+8
| | | | | | | | BUG=none TEST=none TBR=kinuko@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76802 0039d316-1c4b-4281-b951-d872f2087c98
* Report network menu 3G data available in KB when < 1 MB available.stevenjb@google.com2011-03-034-16/+34
| | | | | | | | | BUG=chromium-os:9757 TEST=With a 3G network configuration with >= 1 MB available, verify the menu still says <num> MB available. Use the network until the data available is < 1 MB. Verify that the menu says "Less than 1 MB available". Review URL: http://codereview.chromium.org/6538050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76801 0039d316-1c4b-4281-b951-d872f2087c98
* Kill CleanUpAfterMessageLoopDestruction.willchan@chromium.org2011-03-037-27/+10
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6602047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76800 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a couple of pyauto tests for browser shortcuts.sunandt@chromium.org2011-03-031-2/+32
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6594027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76799 0039d316-1c4b-4281-b951-d872f2087c98
* useragent.php was broken by r76775tonyg@chromium.org2011-03-031-0/+2
| | | | | | | | | | BUG=none TEST=none TBR=pkasting@chromium.org Review URL: http://codereview.chromium.org/6612024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76798 0039d316-1c4b-4281-b951-d872f2087c98
* Add a function for usage tracking.kinuko@chromium.org2011-03-037-8/+538
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/6453001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76797 0039d316-1c4b-4281-b951-d872f2087c98
* Simple stub menu model for multi-profile menu. Will be used for ↵mirandac@chromium.org2011-03-033-0/+89
| | | | | | | | | | multi-profile UI before back end is hooked in. BUG=74731 TEST=none Review URL: http://codereview.chromium.org/6610015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76796 0039d316-1c4b-4281-b951-d872f2087c98
* Minor doc changes. Mostly commented out TODO and {PENDING notes that ↵jond@google.com2011-03-035-43/+90
| | | | | | | | engineers had made. Review URL: http://codereview.chromium.org/6588085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76795 0039d316-1c4b-4281-b951-d872f2087c98
* mock url tests: be more careful about string handling in URLsevan@chromium.org2011-03-032-8/+13
| | | | | | | | BUG=69467 Review URL: http://codereview.chromium.org/6612018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76794 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes a small bug that was causing some tests to fail.gspencer@chromium.org2011-03-032-19/+7
| | | | | | | | | BUG=48911 TEST=Ran previously failing tests and made sure they passed. Review URL: http://codereview.chromium.org/6598070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76793 0039d316-1c4b-4281-b951-d872f2087c98
* fix display of filenames in file:/// URLsevan@chromium.org2011-03-033-11/+13
| | | | | | | | | | | | | | | | | | | | | | | The code attempted to shorten file:/// URLs to just the filename when displayed as the title of a page. But that appears to have regressed sometime in the past. This shortening is consistent with how we display the title of images (which are like "foo.png (123x456)".) Chrome does a poor job of displaying longer titles (most of the tab title ends up being "file:///C:/" anyway). In any case, using a FilePath to get the filename from a URL may not have even worked on Windows, where the path separator is a backslash. It appears Glen wrote the original code, Brett may be the one to have regressed it in a refactor, and I probably broke it worse in a FilePath refactor. BUG=69467 TEST=load a text file via a file: URL; tab title is just the file name Review URL: http://codereview.chromium.org/6591127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76792 0039d316-1c4b-4281-b951-d872f2087c98