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

Side by Side Diff: ui/aura/test/test_window_delegate.cc

Issue 8273040: Minimum size for aura window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed comments. moved&merged tests Created 9 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/aura/test/test_window_delegate.h" 5 #include "ui/aura/test/test_window_delegate.h"
6 6
7 #include "ui/aura/hit_test.h" 7 #include "ui/aura/hit_test.h"
8 8
9 namespace aura { 9 namespace aura {
10 namespace test { 10 namespace test {
(...skipping 12 matching lines...) Expand all
23 } 23 }
24 24
25 void TestWindowDelegate::OnBlur() { 25 void TestWindowDelegate::OnBlur() {
26 } 26 }
27 27
28 bool TestWindowDelegate::OnKeyEvent(KeyEvent* event) { 28 bool TestWindowDelegate::OnKeyEvent(KeyEvent* event) {
29 return false; 29 return false;
30 } 30 }
31 31
32 gfx::NativeCursor TestWindowDelegate::GetCursor(const gfx::Point& point) { 32 gfx::NativeCursor TestWindowDelegate::GetCursor(const gfx::Point& point) {
33 return NULL; 33 return gfx::kNullCursor;
34 } 34 }
35 35
36 int TestWindowDelegate::GetNonClientComponent(const gfx::Point& point) const { 36 int TestWindowDelegate::GetNonClientComponent(const gfx::Point& point) const {
37 return HTCLIENT; 37 return HTCLIENT;
38 } 38 }
39 39
40 bool TestWindowDelegate::OnMouseEvent(MouseEvent* event) { 40 bool TestWindowDelegate::OnMouseEvent(MouseEvent* event) {
41 return false; 41 return false;
42 } 42 }
43 43
(...skipping 17 matching lines...) Expand all
61 } 61 }
62 62
63 void TestWindowDelegate::OnWindowDestroyed() { 63 void TestWindowDelegate::OnWindowDestroyed() {
64 } 64 }
65 65
66 void TestWindowDelegate::OnWindowVisibilityChanged(bool visible) { 66 void TestWindowDelegate::OnWindowVisibilityChanged(bool visible) {
67 } 67 }
68 68
69 } // namespace test 69 } // namespace test
70 } // namespace aura 70 } // namespace aura
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698