| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/views/test/test_views_delegate.h" | 5 #include "ui/views/test/test_views_delegate.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "content/public/test/web_contents_tester.h" | 9 #include "content/public/test/web_contents_tester.h" |
| 10 | 10 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 use_transparent_windows_ = transparent; | 29 use_transparent_windows_ = transparent; |
| 30 } | 30 } |
| 31 | 31 |
| 32 void TestViewsDelegate::SaveWindowPlacement(const Widget* window, | 32 void TestViewsDelegate::SaveWindowPlacement(const Widget* window, |
| 33 const std::string& window_name, | 33 const std::string& window_name, |
| 34 const gfx::Rect& bounds, | 34 const gfx::Rect& bounds, |
| 35 ui::WindowShowState show_state) { | 35 ui::WindowShowState show_state) { |
| 36 } | 36 } |
| 37 | 37 |
| 38 bool TestViewsDelegate::GetSavedWindowPlacement( | 38 bool TestViewsDelegate::GetSavedWindowPlacement( |
| 39 const Widget* window, |
| 39 const std::string& window_name, | 40 const std::string& window_name, |
| 40 gfx::Rect* bounds, | 41 gfx::Rect* bounds, |
| 41 ui:: WindowShowState* show_state) const { | 42 ui:: WindowShowState* show_state) const { |
| 42 return false; | 43 return false; |
| 43 } | 44 } |
| 44 | 45 |
| 45 NonClientFrameView* TestViewsDelegate::CreateDefaultNonClientFrameView( | 46 NonClientFrameView* TestViewsDelegate::CreateDefaultNonClientFrameView( |
| 46 Widget* widget) { | 47 Widget* widget) { |
| 47 return NULL; | 48 return NULL; |
| 48 } | 49 } |
| (...skipping 11 matching lines...) Expand all Loading... |
| 60 void TestViewsDelegate::OnBeforeWidgetInit( | 61 void TestViewsDelegate::OnBeforeWidgetInit( |
| 61 Widget::InitParams* params, | 62 Widget::InitParams* params, |
| 62 internal::NativeWidgetDelegate* delegate) { | 63 internal::NativeWidgetDelegate* delegate) { |
| 63 } | 64 } |
| 64 | 65 |
| 65 base::TimeDelta TestViewsDelegate::GetDefaultTextfieldObscuredRevealDuration() { | 66 base::TimeDelta TestViewsDelegate::GetDefaultTextfieldObscuredRevealDuration() { |
| 66 return base::TimeDelta(); | 67 return base::TimeDelta(); |
| 67 } | 68 } |
| 68 | 69 |
| 69 } // namespace views | 70 } // namespace views |
| OLD | NEW |