Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(477)

Side by Side Diff: ui/compositor/test/in_process_context_factory.cc

Issue 767443002: Ensure Surface size always matches window size on swap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/compositor/test/in_process_context_factory.h" 5 #include "ui/compositor/test/in_process_context_factory.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/threading/thread.h" 9 #include "base/threading/thread.h"
10 #include "cc/output/compositor_frame.h" 10 #include "cc/output/compositor_frame.h"
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 return NULL; 158 return NULL;
159 return compositor_thread_->message_loop_proxy().get(); 159 return compositor_thread_->message_loop_proxy().get();
160 } 160 }
161 161
162 scoped_ptr<cc::SurfaceIdAllocator> 162 scoped_ptr<cc::SurfaceIdAllocator>
163 InProcessContextFactory::CreateSurfaceIdAllocator() { 163 InProcessContextFactory::CreateSurfaceIdAllocator() {
164 return make_scoped_ptr( 164 return make_scoped_ptr(
165 new cc::SurfaceIdAllocator(next_surface_id_namespace_++)); 165 new cc::SurfaceIdAllocator(next_surface_id_namespace_++));
166 } 166 }
167 167
168 void InProcessContextFactory::ResizeDisplay(ui::Compositor* compositor,
169 const gfx::Size& size) {
170 }
171
168 } // namespace ui 172 } // namespace ui
OLDNEW
« no previous file with comments | « ui/compositor/test/in_process_context_factory.h ('k') | ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698