diff options
author | jbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-27 22:07:42 +0000 |
---|---|---|
committer | jbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-27 22:07:42 +0000 |
commit | 33ed5f8e92e48ad85f9a81f6c6c7b1d8c56ffb02 (patch) | |
tree | 6f7fd8f24d5303af1ab685c8c5f94572ef2b9c8e /ash/test | |
parent | 6408d04ab220bae8bd373d839bcee1399e22a50d (diff) | |
download | chromium_src-33ed5f8e92e48ad85f9a81f6c6c7b1d8c56ffb02.zip chromium_src-33ed5f8e92e48ad85f9a81f6c6c7b1d8c56ffb02.tar.gz chromium_src-33ed5f8e92e48ad85f9a81f6c6c7b1d8c56ffb02.tar.bz2 |
Remove Windows accelerated surface support.
Presentation now only happens directly from the GPU process, so this code isn't used anymore.
BUG=325947
Review URL: https://codereview.chromium.org/140173004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247312 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/test')
-rw-r--r-- | ash/test/test_metro_viewer_process_host.cc | 3 | ||||
-rw-r--r-- | ash/test/test_metro_viewer_process_host.h | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/ash/test/test_metro_viewer_process_host.cc b/ash/test/test_metro_viewer_process_host.cc index 5cb348b..652b6d4 100644 --- a/ash/test/test_metro_viewer_process_host.cc +++ b/ash/test/test_metro_viewer_process_host.cc @@ -8,7 +8,6 @@ #include "base/logging.h" #include "ui/aura/remote_root_window_host_win.h" -#include "ui/surface/accelerated_surface_win.h" namespace ash { namespace test { @@ -32,8 +31,6 @@ void TestMetroViewerProcessHost::OnSetTargetSurface( HWND hwnd = reinterpret_cast<HWND>(target_surface); aura::RemoteWindowTreeHostWin::Instance()->SetRemoteWindowHandle(hwnd); aura::RemoteWindowTreeHostWin::Instance()->Connected(this); - - backing_surface_.reset(new AcceleratedSurface(hwnd)); } void TestMetroViewerProcessHost::OnOpenURL(const base::string16& url) { diff --git a/ash/test/test_metro_viewer_process_host.h b/ash/test/test_metro_viewer_process_host.h index fca5744..25a66e3 100644 --- a/ash/test/test_metro_viewer_process_host.h +++ b/ash/test/test_metro_viewer_process_host.h @@ -29,8 +29,6 @@ class TestMetroViewerProcessHost : public win8::MetroViewerProcessHost { const base::string16& search_string) OVERRIDE; virtual void OnWindowSizeChanged(uint32 width, uint32 height) OVERRIDE; - scoped_ptr<AcceleratedSurface> backing_surface_; - bool closed_unexpectedly_; DISALLOW_COPY_AND_ASSIGN(TestMetroViewerProcessHost); |