MacViews: Refactor DownloadShelf paint functions to remove views dependency
We want to build Chrome with toolkit-views available, but port things gradually. This change converts a View* argument into a callback argument that calls the required member function on View. This lets us get rid of eleven #ifdef guards which would otherwise need to change (now, and again once the download shelf is ported to use views on Mac). BUG=390755 Review URL: https://codereview.chromium.org/377223002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283330 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment