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

Unified Diff: components/exo/touch_unittest.cc

Issue 1645043003: exo: Improve window placement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/exo/shell_surface_unittest.cc ('k') | components/exo/wayland/server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/touch_unittest.cc
diff --git a/components/exo/touch_unittest.cc b/components/exo/touch_unittest.cc
index ad4569b197914f4e5ebc6f79792d92d286b8afa7..28206c52088e350cf6ba7e26e58fad5b162bb4ea 100644
--- a/components/exo/touch_unittest.cc
+++ b/components/exo/touch_unittest.cc
@@ -42,7 +42,6 @@ TEST_F(TouchTest, OnTouchDown) {
scoped_ptr<Surface> bottom_surface(new Surface);
scoped_ptr<ShellSurface> bottom_shell_surface(
new ShellSurface(bottom_surface.get()));
- bottom_shell_surface->Init();
gfx::Size bottom_buffer_size(10, 10);
scoped_ptr<Buffer> bottom_buffer(
new Buffer(exo_test_helper()->CreateGpuMemoryBuffer(bottom_buffer_size),
@@ -54,7 +53,6 @@ TEST_F(TouchTest, OnTouchDown) {
scoped_ptr<Surface> top_surface(new Surface);
scoped_ptr<ShellSurface> top_shell_surface(
new ShellSurface(top_surface.get()));
- top_shell_surface->Init();
gfx::Size top_buffer_size(8, 8);
scoped_ptr<Buffer> top_buffer(
new Buffer(exo_test_helper()->CreateGpuMemoryBuffer(top_buffer_size),
@@ -89,7 +87,6 @@ TEST_F(TouchTest, OnTouchDown) {
TEST_F(TouchTest, OnTouchUp) {
scoped_ptr<Surface> surface(new Surface);
scoped_ptr<ShellSurface> shell_surface(new ShellSurface(surface.get()));
- shell_surface->Init();
gfx::Size buffer_size(10, 10);
scoped_ptr<Buffer> buffer(new Buffer(
exo_test_helper()->CreateGpuMemoryBuffer(buffer_size), GL_TEXTURE_2D));
@@ -121,7 +118,6 @@ TEST_F(TouchTest, OnTouchUp) {
TEST_F(TouchTest, OnTouchMotion) {
scoped_ptr<Surface> surface(new Surface);
scoped_ptr<ShellSurface> shell_surface(new ShellSurface(surface.get()));
- shell_surface->Init();
gfx::Size buffer_size(10, 10);
scoped_ptr<Buffer> buffer(new Buffer(
exo_test_helper()->CreateGpuMemoryBuffer(buffer_size), GL_TEXTURE_2D));
@@ -159,7 +155,6 @@ TEST_F(TouchTest, OnTouchMotion) {
TEST_F(TouchTest, OnTouchCancel) {
scoped_ptr<Surface> surface(new Surface);
scoped_ptr<ShellSurface> shell_surface(new ShellSurface(surface.get()));
- shell_surface->Init();
gfx::Size buffer_size(10, 10);
scoped_ptr<Buffer> buffer(new Buffer(
exo_test_helper()->CreateGpuMemoryBuffer(buffer_size), GL_TEXTURE_2D));
« no previous file with comments | « components/exo/shell_surface_unittest.cc ('k') | components/exo/wayland/server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698