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

Unified Diff: components/exo/keyboard_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 | « no previous file | components/exo/pointer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/keyboard_unittest.cc
diff --git a/components/exo/keyboard_unittest.cc b/components/exo/keyboard_unittest.cc
index 599d9e5764e521c5d3cad99215463abee91e0ea3..5bd2c30dfd755c01ebfd876a8359410b0c0a0a73 100644
--- a/components/exo/keyboard_unittest.cc
+++ b/components/exo/keyboard_unittest.cc
@@ -39,7 +39,6 @@ class MockKeyboardDelegate : public KeyboardDelegate {
TEST_F(KeyboardTest, OnKeyboardEnter) {
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));
@@ -78,7 +77,6 @@ TEST_F(KeyboardTest, OnKeyboardEnter) {
TEST_F(KeyboardTest, OnKeyboardLeave) {
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));
@@ -107,7 +105,6 @@ TEST_F(KeyboardTest, OnKeyboardLeave) {
TEST_F(KeyboardTest, OnKeyboardKey) {
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));
@@ -145,7 +142,6 @@ TEST_F(KeyboardTest, OnKeyboardKey) {
TEST_F(KeyboardTest, OnKeyboardModifiers) {
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 | « no previous file | components/exo/pointer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698