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 "views/test/test_views_delegate.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 | 8 |
9 TestViewsDelegate::TestViewsDelegate() { | 9 TestViewsDelegate::TestViewsDelegate() { |
10 DCHECK(!views::ViewsDelegate::views_delegate); | 10 DCHECK(!views::ViewsDelegate::views_delegate); |
(...skipping 17 matching lines...) Expand all Loading... |
28 gfx::Rect* bounds) const { | 28 gfx::Rect* bounds) const { |
29 return false; | 29 return false; |
30 } | 30 } |
31 | 31 |
32 bool TestViewsDelegate::GetSavedMaximizedState(views::Window* window, | 32 bool TestViewsDelegate::GetSavedMaximizedState(views::Window* window, |
33 const std::wstring& window_name, | 33 const std::wstring& window_name, |
34 bool* maximized) const { | 34 bool* maximized) const { |
35 return false; | 35 return false; |
36 } | 36 } |
37 | 37 |
38 int TestViewsDelegate::GetDispositionForEvent(int event_flags) OVERRIDE { | 38 int TestViewsDelegate::GetDispositionForEvent(int event_flags) { |
39 return 0; | 39 return 0; |
40 } | 40 } |
OLD | NEW |