summaryrefslogtreecommitdiffstats
path: root/content/renderer/render_widget_browsertest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove Tabpose feature on mac, and supporting infrastructure (PaintAtSize)piman@chromium.org2014-02-141-4/+0
| | | | | | | | | | | | | | | | Tabpose has been behind a flag for 3 years, and UMA shows usage is very low. It is the unique user of the RenderWidgetSnapshotTaker, and the only user of RWH::PaintAtSize, which we want to remove. XIB changes: * Remove Tabpose menu entry "Show Tab Overview..." BUG=251960, 223336 R=cevans@chromium.org, jamesr@chromium.org, sky@chromium.org, viettrungluu@chromium.org Review URL: https://codereview.chromium.org/154083008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251439 0039d316-1c4b-4281-b951-d872f2087c98
* Don't expect ack for ViewMsg_OnResize if backing size is emptywangxianzhu@chromium.org2013-05-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | The renderer won't send ack for ViewMsg_OnResize if backing size is empty. This happens on Android in some cases, e.g. when a tab is created in background because the backing is only created when the tab is shown. Previously on Android we let RWHV return empty view bounds when backing is empty but it prevents the renderer from getting the correct view bounds. Now remove the above logic from RWHV_android and change RWHI not to expect ack when backing size is empty. Also changed RenderWidget not to send ack on the next paint in the cases that the host is not expecting the ack. This doesn't change the actual behavior because RenderWidget won't send UpdateRect corresponding to the Resize request in the cases, but just ensures the correctness. This is a part of the fix to bug 168568. Also need to change the Java code to set the correct view size as early as possible. BUG=168568 TEST=RenderWidgetHostTest.Resize (content_unittests), RenderWidgetTest.OnResize (content_browsertests) Review URL: https://chromiumcodereview.appspot.com/14779010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200210 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r161256: Fix the crash that was happening on the buildbot (but not ↵jam@chromium.org2012-10-111-1/+1
| | | | | | | | | | | trybots, for a strange reason) because ResourceBundle was initialized twice for tests that use the RenderViewTest harness. The one difference is to check if ResourceBundle is initialized before initializing it. This is needed because on content_browsertests it's not initialized while in browser_tests it is. We can't make the two browser test binaries behave the same because of differences in how chrome's browser_tests and unit_tests can share the same test suite while in content that's not possible. TBR=cpu Review URL: https://codereview.chromium.org/11091058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161361 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 161256 - Fix the crash that was happening on the buildbot (but not ↵jam@chromium.org2012-10-111-1/+1
| | | | | | | | | | | trybots, for a strange reason) because ResourceBundle was initialized twice for tests that use the RenderViewTest harness. Review URL: https://codereview.chromium.org/11090061 TBR=jam@chromium.org Review URL: https://codereview.chromium.org/11103025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161275 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the crash that was happening on the buildbot (but not trybots, for a ↵jam@chromium.org2012-10-111-1/+1
| | | | | | | | strange reason) because ResourceBundle was initialized twice for tests that use the RenderViewTest harness. Review URL: https://codereview.chromium.org/11090061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161256 0039d316-1c4b-4281-b951-d872f2087c98
* Disable ResourceBundle change from 161202 while I figure out why it's ↵jam@chromium.org2012-10-101-1/+1
| | | | | | failing on buildbot but not trybot. TBR=cpu git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161222 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a test which uses the RenderViewTest harness running in unit_test ↵jam@chromium.org2012-10-101-0/+13
| | | | | | | | binaries. This gives an assert in WebKit in debug builds because WebKit is only supposed to be initialized once. The fix is to separate the test from the harness. Review URL: https://codereview.chromium.org/11066098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161202 0039d316-1c4b-4281-b951-d872f2087c98
* Move some testing classes used by chrome to content\renderer, to match what ↵jam@chromium.org2011-10-101-149/+0
| | | | | | | | | we're doing with other test classes. BUG=98716 Review URL: http://codereview.chromium.org/8216019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104781 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land r93365 - add RefCountedStringjoth@chromium.org2011-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added RefCountedString, as this is what many RefCountedMemory users seem to want Made data member of RefCountedBytes private, as per style guide Changed base64 APIs to accept StringPiece, as it's sometimes better and never worse than string. Fix chromeos build; additional files updated comapred to previous patch: chrome/browser/ui/login/login_prompt_ui.cc chrome/browser/ui/webui/active_downloads_ui.cc chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc chrome/browser/ui/webui/chromeos/enterprise_enrollment_ui.cc chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc chrome/browser/ui/webui/chromeos/login/login_ui.cc chrome/browser/ui/webui/chromeos/login/login_ui_helpers.cc chrome/browser/ui/webui/chromeos/login/login_ui_helpers.h chrome/browser/ui/webui/chromeos/login/mock_login_ui_helpers.h chrome/browser/ui/webui/chromeos/login/oobe_ui.cc chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc chrome/browser/ui/webui/chromeos/register_page_ui.cc chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc chrome/browser/ui/webui/chromeos/system_info_ui.cc chrome/browser/ui/webui/collected_cookies_ui_delegate.cc BUG=None TEST=All existing tests pass. Extended ref_counted_memory_unittests Review URL: http://codereview.chromium.org/7397021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93617 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 93365 - it broke on Chrome OSjoth@chromium.org2011-07-211-1/+1
| | | | | | | | | | | | | | | | Added RefCountedString, as this is what many RefCountedMemory users seem to want Made data member of RefCountedBytes private, as per style guide Changed base64 APIs to accept StringPiece, as it's sometimes better and never worse than string. BUG=None TEST=All existing tests pass. Extended ref_counted_memory_unittests Review URL: http://codereview.chromium.org/7397021 TBR=joth@chromium.org Review URL: http://codereview.chromium.org/7471033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93367 0039d316-1c4b-4281-b951-d872f2087c98
* Added RefCountedString, as this is what many RefCountedMemory users seem to wantjoth@chromium.org2011-07-211-1/+1
| | | | | | | | | | | | Made data member of RefCountedBytes private, as per style guide Changed base64 APIs to accept StringPiece, as it's sometimes better and never worse than string. BUG=None TEST=All existing tests pass. Extended ref_counted_memory_unittests Review URL: http://codereview.chromium.org/7397021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93365 0039d316-1c4b-4281-b951-d872f2087c98
* Move some files from base to base/memory.levin@chromium.org2011-03-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | raw_scoped_refptr_mismatch_checker.h ref_counted.cc ref_counted.h ref_counted_memory.cc ref_counted_memory.h ref_counted_unittest.cc scoped_callback_factory.h scoped_comptr_win.h scoped_handle.h scoped_native_library.cc scoped_native_library.h scoped_native_library_unittest.cc scoped_nsobject.h scoped_open_process.h scoped_ptr.h scoped_ptr_unittest.cc scoped_temp_dir.cc scoped_temp_dir.h scoped_temp_dir_unittest.cc scoped_vector.h singleton.h singleton_objc.h singleton_unittest.cc linked_ptr.h linked_ptr_unittest.cc weak_ptr.cc weak_ptr.h weak_ptr_unittest.cc BUG=None TEST=Compile Review URL: http://codereview.chromium.org/6714032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79524 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor: Move app/surface to ui/gfx/surface.backer@chromium.org2011-03-251-2/+2
| | | | | | | | | | | | | This is progress towards moving app/gfx/gl to ui/gfx/gl. Currently, surface depends on gl, but gl depends on app_base (which contains surface). This refactor gets rid of this potential cyclic dependency. surface.gyp is in a separate file (not a .gypi include) because cyclic dependency checking is at the file level (not target level). BUG=none TEST=by hand and try bots Review URL: http://codereview.chromium.org/6718027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79396 0039d316-1c4b-4281-b951-d872f2087c98
* Move a bunch of renderer->browser messages to content.jam@chromium.org2011-03-231-2/+1
| | | | | | | TBR=tsepez Review URL: http://codereview.chromium.org/6721021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79152 0039d316-1c4b-4281-b951-d872f2087c98
* Move render_widget files to content.jam@chromium.org2011-03-181-0/+150
TBR=avi Review URL: http://codereview.chromium.org/6709032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78703 0039d316-1c4b-4281-b951-d872f2087c98