summaryrefslogtreecommitdiffstats
path: root/cc/layers/nine_patch_layer_unittest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Introduce separate client and init path for single-threaded ccjamesr@chromium.org2013-11-071-14/+3
| | | | | | | | | | | | | | | | | | | The chromium compositor can be used in either a single-threaded fashion or multi-threaded. The requirements, APIs and responsibilities of the embedder are different for these two modes. Some users of cc only use one path or the other. This adds a separate client interface and initialization path for code that only uses the single threaded path. Having a dedicated client for the single threaded path will make it possible to get rid of the WebGraphicsContext3DSwapBuffersClient which will then make it easier to break cc's dependency on WGC3D. R=piman BUG=181120 Review URL: https://codereview.chromium.org/61823008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233483 0039d316-1c4b-4281-b951-d872f2087c98
* Add delegated rendering support for software renderer.jbauman@chromium.org2013-10-221-1/+1
| | | | | | | | | | | | This patch adds support to cc/ for delegated rendering with a software compositor. A new SharedBitmapManager is added, which will create SharedBitmaps with unique IDs in shared memory. These can be filled in the child, and their IDs can be sent to the browser so it can map them and draw from them. No implementations of the SharedBitmapManager are added in this patch, so delegated rendering support won't work in practice yet, and it will fall back to not allocating anything in shared memory. BUG= Review URL: https://codereview.chromium.org/24632004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230245 0039d316-1c4b-4281-b951-d872f2087c98
* Generic UIResourceLayer for shared resources.clholgat@chromium.org2013-10-041-35/+3
| | | | | | | | | | | | Separated the UIResource management from the NinePatchLayer because we need it for other things as well. BUG=235290 Review URL: https://codereview.chromium.org/24716003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226908 0039d316-1c4b-4281-b951-d872f2087c98
* Update the nine patch layer to use UI resourcespowei@chromium.org2013-09-201-63/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old nine-patch layer used priority resource manager for requesting textures. This patch updates the nine-patch layer to use the UI resource manager. this patch clarifies the semantics of the aperture in both image and layer The new semantics corresponds to existing logic on the android-side. Changes have been made to UIResourceBitmap to use SkPixelRef as ref-counted of the bitmap content. The android-side changes: https://gerrit-int.chromium.org/#/c/43103/ [Update 8/13/2013] Reverted due to "regression" ( https://code.google.com/p/chromium/issues/detail?id=290215 ): https://codereview.chromium.org/23620047/ [Update 8/13/2013] Reverted due to failed mac_gpu bot: https://codereview.chromium.org/23740010/ BUG=276482,276487,290215 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222732 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223162 Review URL: https://chromiumcodereview.appspot.com/22870016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224270 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Reland r233830. "Adding support for RGBA_4444 tile textures". r223830 ↵kaanb@chromium.org2013-09-191-1/+2
| | | | | | | | | | had a bug in async_pixel_transfer_manager_egl.cc that wasn't directly related to the 4444 support. This patch includes the rest of the files in r223830. Changes to async_pixel_transfer_manager_egl.cc have been moved to the separate patch after fixing the bug: https://codereview.chromium.org/23533067/ BUG=272539 Review URL: https://chromiumcodereview.appspot.com/23447048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224040 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Adding support for RGBA_4444 tile textures"tomhudson@google.com2013-09-181-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 8e6d15826280b9f11a28060b5b2d2bbef17d15bc (r223830; http://crrev.com/21159007). Although the 4444 textures work on S4, they break on N7v2 and N10. (We've got inconsistent reports about N4.) Passing --disable-4444-textures isn't sufficient to fix the problems. ilevy@ points out that the commit bot is using GN, so could easily have missed this breakage. We're hoping to switch to N4, but in this case there's no guarantee that that would have caught it either. Perhaps the main patch can be landed in pieces next time? From N7: E/chromium(32513): [ERROR:gles2_cmd_decoder.cc(5770)] [.RenderCompositor-0x783c9880]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete' From N10: I/chromium( 2104): [INFO:CONSOLE(0)] "[.WebGLRenderingContext]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'", source: file:///sdcard/clanktemp/index.html (0) R=skyostil@chromium.org TBR=kaanb@chromium.org BUG=245774,272539 Review URL: https://codereview.chromium.org/24219002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223871 0039d316-1c4b-4281-b951-d872f2087c98
* Adding support for RGBA_4444 tile textureskaanb@chromium.org2013-09-181-1/+2
| | | | | | | | BUG=245774,272539 Review URL: https://chromiumcodereview.appspot.com/21159007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223830 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 223162 "Update the nine patch layer to use UI resources"zmo@chromium.org2013-09-131-41/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Breaks GpuMemoryTest.SingleWindowDoesNotExceedLimit on gpu bots. One example: http://build.chromium.org/p/chromium.gpu/builders/Mac%2010.8%20Debug%20%28Intel%29/builds/11092/steps/content_browsertests/logs/SingleWindowDoesNotExceedLimit > Update the nine patch layer to use UI resources > > The old nine-patch layer used priority resource manager for requesting textures. > This patch updates the nine-patch layer to use the UI resource manager. > this patch clarifies the semantics of the aperture in both image and layer > The new semantics corresponds to existing logic on the android-side. > > Changes have been made to UIResourceBitmap to use SkPixelRef as ref-counted > of the bitmap content. > > The android-side changes: > https://gerrit-int.chromium.org/#/c/43103/ > > BUG=276482,276487,290215 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222732 > > Review URL: https://chromiumcodereview.appspot.com/22870016 TBR=powei@chromium.org Review URL: https://codereview.chromium.org/23740010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223180 0039d316-1c4b-4281-b951-d872f2087c98
* Update the nine patch layer to use UI resourcespowei@chromium.org2013-09-131-62/+41
| | | | | | | | | | | | | | | | | | | | | The old nine-patch layer used priority resource manager for requesting textures. This patch updates the nine-patch layer to use the UI resource manager. this patch clarifies the semantics of the aperture in both image and layer The new semantics corresponds to existing logic on the android-side. Changes have been made to UIResourceBitmap to use SkPixelRef as ref-counted of the bitmap content. The android-side changes: https://gerrit-int.chromium.org/#/c/43103/ BUG=276482,276487,290215 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222732 Review URL: https://chromiumcodereview.appspot.com/22870016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223162 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 222732 "Update the nine patch layer to use UI resources"yfriedman@chromium.org2013-09-121-41/+62
| | | | | | | | | | | | | | | | | | | | | | | | | > Update the nine patch layer to use UI resources > > The old nine-patch layer used priority resource manager for requesting textures. > This patch updates the nine-patch layer to use the UI resource manager. > this patch clarifies the semantics of the aperture in both image and layer > The new semantics corresponds to existing logic on the android-side. > > Changes have been made to UIResourceBitmap to use SkPixelRef as ref-counted > of the bitmap content. > > The android-side changes: > https://gerrit-int.chromium.org/#/c/43103/ > > BUG=276482,276487 > > Review URL: https://chromiumcodereview.appspot.com/22870016 TBR=powei@chromium.org Review URL: https://codereview.chromium.org/23620047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222808 0039d316-1c4b-4281-b951-d872f2087c98
* Update the nine patch layer to use UI resourcespowei@chromium.org2013-09-121-62/+41
| | | | | | | | | | | | | | | | | | | The old nine-patch layer used priority resource manager for requesting textures. This patch updates the nine-patch layer to use the UI resource manager. this patch clarifies the semantics of the aperture in both image and layer The new semantics corresponds to existing logic on the android-side. Changes have been made to UIResourceBitmap to use SkPixelRef as ref-counted of the bitmap content. The android-side changes: https://gerrit-int.chromium.org/#/c/43103/ BUG=276482,276487 Review URL: https://chromiumcodereview.appspot.com/22870016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222732 0039d316-1c4b-4281-b951-d872f2087c98
* ContextProvider in OutputSurfacedanakj@chromium.org2013-08-161-1/+4
| | | | | | | | | | | | | | | | Instead of putting a raw WebGraphicsContext3D in the OutputSurface given to the compositor, put a ContextProvider. This requires embedders to create ContextProviders instead of raw contexts. No change in behaviour. Covered by existing tests, including cc/ context loss tests. BUG=258625 R=aelias@chromium.org, jamesr@chromium.org, piman@chromium.org, sievers@chromium.org Review URL: https://codereview.chromium.org/20185002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217890 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Push valid property values when CalcDrawProps skips layer.danakj@chromium.org2013-08-031-0/+5
| | | | | | | | | | | | | | | | | | | | If CalcDropProps does not run on a layer for any reason, then we do not SavePaintProperties() on the layer. When we push the layer's properties, we can not push the paint properties since they are not valid. We should instead push the raw value on the layer. This is safe because if we didn't SavePaintProperties() we will also not call Update() on the layer, so there is no chance for painting to change any property values. This is enforced by a new DCHECK() in Layer::Update() and we have all the subclasses of Layer call up to the Update() method. R=boliu, enne BUG=267574 Review URL: https://chromiumcodereview.appspot.com/21839004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215512 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Remove RenderingStats passed to Layer::Update()egraether@chromium.org2013-06-291-5/+5
| | | | | | | | | | | depends on: https://codereview.chromium.org/13245007/ and: https://codereview.chromium.org/13132005/ BUG=181319 Review URL: https://chromiumcodereview.appspot.com/13258003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209251 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Remove cc::Thread and cc::ThreadImpl.danakj@chromium.org2013-06-201-2/+1
| | | | | | | | | | | | | These classes are replaced by using base::SingleThreadTaskRunner directly. R=piman,jamesr BUG=251134 Depends on: https://codereview.chromium.org/17362002/ Review URL: https://chromiumcodereview.appspot.com/17114008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207491 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite scoped_ptr<T>(NULL) to use the default ctor in cc/.dcheng@chromium.org2013-06-121-1/+1
| | | | | | | | | | | This is the result of running the rewrite_scoped_ptr_ctor_null tool across all files built on Linux in the cc/ directory. BUG=173286 Review URL: https://chromiumcodereview.appspot.com/16355009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205810 0039d316-1c4b-4281-b951-d872f2087c98
* Update cc/ to use scoped_refptr<T>::get() rather than implicit "operator T*"rsleevi@chromium.org2013-06-011-1/+1
| | | | | | | | | | | Linux fixes BUG=110610 TBR=enne Review URL: https://chromiumcodereview.appspot.com/15984004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203584 0039d316-1c4b-4281-b951-d872f2087c98
* Merge cc initialization pathsboliu@chromium.org2013-05-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Code path between first initialization and recreate on context lost are merged. Do this by changing the first initialization behavior to match recreate. Now both are kicked off by the scheduler and blocks the main thread on the impl thread. The scheduler is started in output surface lost state and immediately schedules recreation. This means the first initialization in thread mode is no longer synchronous. BUG=233664, 230197 This has been tried many many times. NOTRY=true Reverted twice due to breaking WebGLInfobarTest: Committed in r196480. Reverted in r196509. Committed in r196708. Reverted in r196790. Fix for WebGLInfobarTest landed in r197235. WebViewTest.Shim became flaky on chromeos but was already flaky without this. Disabled it in r197497. Review URL: https://chromiumcodereview.appspot.com/12544032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197550 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 196708 "Merge cc initialization paths"nick@chromium.org2013-04-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [Reason for revert: WebGLInfobarTest.ContextLossInfobarReload was failing on the Linux Tests bot with high probability] > Merge cc initialization paths > > Code path between first initialization and recreate on context > lost are merged. Do this by changing the first initialization > behavior to match recreate. Now both are kicked off by the > scheduler and blocks the main thread on the impl thread. > > The scheduler is started in output surface lost state and > immediately schedules recreation. This means the first > initialization is no longer synchronous. > > BUG=233664, 230197 > > First commited in r196480. Reverted in r196509 due to exposing > WebGLInfobarTest that should never have passed on asan. Disable > them on asan: https://codereview.chromium.org/14499007/ > > Review URL: https://chromiumcodereview.appspot.com/12544032 TBR=boliu@chromium.org Review URL: https://codereview.chromium.org/14386008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196790 0039d316-1c4b-4281-b951-d872f2087c98
* Merge cc initialization pathsboliu@chromium.org2013-04-261-1/+1
| | | | | | | | | | | | | | | | | | | | | Code path between first initialization and recreate on context lost are merged. Do this by changing the first initialization behavior to match recreate. Now both are kicked off by the scheduler and blocks the main thread on the impl thread. The scheduler is started in output surface lost state and immediately schedules recreation. This means the first initialization is no longer synchronous. BUG=233664, 230197 First commited in r196480. Reverted in r196509 due to exposing WebGLInfobarTest that should never have passed on asan. Disable them on asan: https://codereview.chromium.org/14499007/ Review URL: https://chromiumcodereview.appspot.com/12544032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196708 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 196480 "Merge cc initialization paths"nick@chromium.org2013-04-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | [Reason for revert: causing failures in the following tests: WebGLInfobarTest.ContextLossRaisesInfobar on Linux ASAN WebGLInfobarTest.ContextLossInfobarReload on Linux ASAN WebGLInfobarTest.ContextLossInfobarReload timeouts on Linux release] > Merge cc initialization paths > > Code path between first initialization and recreate on context > lost are merged. Do this by changing the first initialization > behavior to match recreate. Now both are kicked off by the > scheduler and blocks the main thread on the impl thread. > > The scheduler is started in output surface lost state and > immediately schedules recreation. This means the first > initialization is no longer synchronous. > > BUG=233664, 230197 > > Review URL: https://chromiumcodereview.appspot.com/12544032 TBR=boliu@chromium.org Review URL: https://codereview.chromium.org/14238033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196509 0039d316-1c4b-4281-b951-d872f2087c98
* Merge cc initialization pathsboliu@chromium.org2013-04-251-1/+1
| | | | | | | | | | | | | | | | | Code path between first initialization and recreate on context lost are merged. Do this by changing the first initialization behavior to match recreate. Now both are kicked off by the scheduler and blocks the main thread on the impl thread. The scheduler is started in output surface lost state and immediately schedules recreation. This means the first initialization is no longer synchronous. BUG=233664, 230197 Review URL: https://chromiumcodereview.appspot.com/12544032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196480 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Use highp precision for texture coords if available and neededbrianderson@chromium.org2013-04-011-1/+1
| | | | | | | | | | | | | | | | | This fixes an earlier version of this patch that had a bug in FragmentShaderRGBATexAlphaMask. High precision is only used when the source is greater than N pixels in any direction to prevent performance regressions. N is determined based on the actual precision of mediump reported by the driver. BUG=183581 BUG=173747 Review URL: https://chromiumcodereview.appspot.com/12665005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191692 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Fix build issues for adding ‘chromium_code’: 1 to cc.gyp and ↵danakj@chromium.org2013-03-291-10/+10
| | | | | | | | | | cc_tests.gyp The flag flip will be a follow up once ChromeOS build is sorted out. Review URL: https://codereview.chromium.org/13206004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191417 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 191400 "cc: Add ‘chromium_code’: 1 to cc.gyp and cc_t..."rsleevi@chromium.org2013-03-291-10/+10
| | | | | | | | | | | | | | | | | CrOS bots are unhappy > cc: Add ‘chromium_code’: 1 to cc.gyp and cc_tests.gyp > > And fix compile errors that it causes. > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191364 > > Review URL: https://codereview.chromium.org/13206004 TBR=danakj@chromium.org Review URL: https://codereview.chromium.org/13334005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191414 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Add ‘chromium_code’: 1 to cc.gyp and cc_tests.gypdanakj@chromium.org2013-03-291-10/+10
| | | | | | | | | | And fix compile errors that it causes. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191364 Review URL: https://codereview.chromium.org/13206004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191400 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 191364 "cc: Add ‘chromium_code’: 1 to cc.gyp and cc_t..."danakj@chromium.org2013-03-291-10/+10
| | | | | | | | | | | | | > cc: Add ‘chromium_code’: 1 to cc.gyp and cc_tests.gyp > > And fix compile errors that it causes. > > Review URL: https://codereview.chromium.org/13206004 TBR=danakj@chromium.org Review URL: https://codereview.chromium.org/13316003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191371 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Add ‘chromium_code’: 1 to cc.gyp and cc_tests.gypdanakj@chromium.org2013-03-291-10/+10
| | | | | | | | And fix compile errors that it causes. Review URL: https://codereview.chromium.org/13206004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191364 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 191086 "cc: Switch RenderingStats collection in Layer::Up..."danakj@chromium.org2013-03-281-5/+5
| | | | | | | | | | | | | | | | | | | | | | Looks like its DCHECKing on Win Aura interactive_ui_tests again. Same error as before. http://build.chromium.org/p/chromium.win/buildstatus?builder=Win%20Aura%20Tests%20%283%29&number=2148 > cc: Switch RenderingStats collection in Layer::Update() to RenderingStatsInstrumentation > > This change switches all of the remaining RenderingStats collection in > composited mode to use RenderinStatsInstrumentation. > > BUG=181319 > > > Review URL: https://chromiumcodereview.appspot.com/12426024 TBR=egraether@chromium.org Review URL: https://codereview.chromium.org/13145002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191101 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Switch RenderingStats collection in Layer::Update() to ↵egraether@chromium.org2013-03-281-5/+5
| | | | | | | | | | | | | | RenderingStatsInstrumentation This change switches all of the remaining RenderingStats collection in composited mode to use RenderinStatsInstrumentation. BUG=181319 Review URL: https://chromiumcodereview.appspot.com/12426024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191086 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 190817 "cc: Switch RenderingStats collection in Layer::Up..."hashimoto@chromium.org2013-03-271-5/+5
| | | | | | | | | | | | | | | | | > cc: Switch RenderingStats collection in Layer::Update() to RenderingStatsInstrumentation > > This change switches all of the remaining RenderingStats collection in > composited mode to use RenderinStatsInstrumentation. > > BUG=181319 > > > Review URL: https://chromiumcodereview.appspot.com/12426024 TBR=egraether@chromium.org Review URL: https://codereview.chromium.org/13117002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190826 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Switch RenderingStats collection in Layer::Update() to ↵egraether@chromium.org2013-03-271-5/+5
| | | | | | | | | | | | | | RenderingStatsInstrumentation This change switches all of the remaining RenderingStats collection in composited mode to use RenderinStatsInstrumentation. BUG=181319 Review URL: https://chromiumcodereview.appspot.com/12426024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190817 0039d316-1c4b-4281-b951-d872f2087c98
* Fix cpplint errors in cc/(animation|input|layers|trees|test)/jamesr@chromium.org2013-03-261-1/+1
| | | | | | | | | | | This fixes lint errors in everything except for the few stragglers (occlusion unit test, etc) that haven't been chromified. BUG=144577 Review URL: https://chromiumcodereview.appspot.com/12965007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190767 0039d316-1c4b-4281-b951-d872f2087c98
* Chromify nine_patch_layer_unittest.ccajuma@chromium.org2013-03-231-108/+101
| | | | | | | | | BUG=none Review URL: https://chromiumcodereview.appspot.com/12893015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190091 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Chromify FakeOutputSurfaceenne@chromium.org2013-03-211-1/+1
| | | | | | | | | | | NOTRY=true R=danakj@chromium.org BUG=none Review URL: https://chromiumcodereview.appspot.com/12731017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189639 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Chromify resource_update_queuealexst@chromium.org2013-03-211-12/+12
| | | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/12962007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189530 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Chromify LayerTreeTest.danakj@chromium.org2013-03-201-1/+1
| | | | | | | | | | | | | | | | | | | | | This renamed ThreadedTest -> LayerTreeTest, and layer_tree_test_common.h to layer_tree_test.h so that they match. I moved the other classes from the header to the layer_tree_test.cc file. The names of the classes are cleaned up. MockFoo classes that are not mocks are renamed to FooForTesting. The member vars of the LayerTreeTest class are made private with accessors. 3 tests in LayerTreeHostTests depended on this access, but were not testing anything, so I've removed them. R=enne BUG= Review URL: https://codereview.chromium.org/12648010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189443 0039d316-1c4b-4281-b951-d872f2087c98
* Chromify prioritized_resource_manager.* and prioritized_resource_unittest.cc.hartmanng@chromium.org2013-03-201-4/+4
| | | | | | | | | BUG=none Review URL: https://chromiumcodereview.appspot.com/12731010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189404 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Chromify PrioritizedResourceenne@chromium.org2013-03-201-4/+4
| | | | | | | | | | R=danakj@chromium.org BUG=none Review URL: https://chromiumcodereview.appspot.com/12906008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189241 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Chromify LayerTreeHostClient.danakj@chromium.org2013-03-191-4/+5
| | | | | | | | | | | | | Style-only change. Fix LayerTreeHostClient and FakeLayer(Impl)TreeHostClient to use chromium style. And rename LayerImplTreeHostClient to LayerTreeHostClient like it should be. R=enne Review URL: https://chromiumcodereview.appspot.com/12494030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188968 0039d316-1c4b-4281-b951-d872f2087c98
* Part 10 of cc/ directory shuffles: layersjamesr@chromium.org2013-03-181-0/+148
Continuation of https://src.chromium.org/viewvc/chrome?view=rev&revision=188681 BUG=190824 TBR=enne@chromium.org, piman@chromium.org, jschuh@chromium.org, joth@chromium.org Review URL: https://codereview.chromium.org/12916002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188703 0039d316-1c4b-4281-b951-d872f2087c98