OLD | NEW |
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 "views/test/test_views_delegate.h" | 5 #include "ui/views/test/test_views_delegate.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "ui/base/clipboard/clipboard.h" | 8 #include "ui/base/clipboard/clipboard.h" |
9 | 9 |
10 namespace views { | 10 namespace views { |
11 | 11 |
12 TestViewsDelegate::TestViewsDelegate() | 12 TestViewsDelegate::TestViewsDelegate() |
13 : default_parent_view_(NULL) { | 13 : default_parent_view_(NULL) { |
14 DCHECK(!ViewsDelegate::views_delegate); | 14 DCHECK(!ViewsDelegate::views_delegate); |
15 ViewsDelegate::views_delegate = this; | 15 ViewsDelegate::views_delegate = this; |
(...skipping 26 matching lines...) Expand all Loading... |
42 gfx::Rect* bounds, | 42 gfx::Rect* bounds, |
43 ui:: WindowShowState* show_state) const { | 43 ui:: WindowShowState* show_state) const { |
44 return false; | 44 return false; |
45 } | 45 } |
46 | 46 |
47 int TestViewsDelegate::GetDispositionForEvent(int event_flags) { | 47 int TestViewsDelegate::GetDispositionForEvent(int event_flags) { |
48 return 0; | 48 return 0; |
49 } | 49 } |
50 | 50 |
51 } // namespace views | 51 } // namespace views |
OLD | NEW |