| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/views_delegate.h" | 5 #include "ui/views/views_delegate.h" |
| 6 | 6 |
| 7 #include "ui/views/views_touch_selection_controller_factory.h" | 7 #include "ui/views/views_touch_selection_controller_factory.h" |
| 8 | 8 |
| 9 namespace views { | 9 namespace views { |
| 10 | 10 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 } | 74 } |
| 75 | 75 |
| 76 base::TimeDelta ViewsDelegate::GetDefaultTextfieldObscuredRevealDuration() { | 76 base::TimeDelta ViewsDelegate::GetDefaultTextfieldObscuredRevealDuration() { |
| 77 return base::TimeDelta(); | 77 return base::TimeDelta(); |
| 78 } | 78 } |
| 79 | 79 |
| 80 bool ViewsDelegate::WindowManagerProvidesTitleBar(bool maximized) { | 80 bool ViewsDelegate::WindowManagerProvidesTitleBar(bool maximized) { |
| 81 return false; | 81 return false; |
| 82 } | 82 } |
| 83 | 83 |
| 84 #if defined(USE_AURA) | |
| 85 ui::ContextFactory* ViewsDelegate::GetContextFactory() { | 84 ui::ContextFactory* ViewsDelegate::GetContextFactory() { |
| 86 return NULL; | 85 return NULL; |
| 87 } | 86 } |
| 88 #endif | |
| 89 | 87 |
| 90 #if defined(OS_WIN) | 88 #if defined(OS_WIN) |
| 91 int ViewsDelegate::GetAppbarAutohideEdges(HMONITOR monitor, | 89 int ViewsDelegate::GetAppbarAutohideEdges(HMONITOR monitor, |
| 92 const base::Closure& callback) { | 90 const base::Closure& callback) { |
| 93 return EDGE_BOTTOM; | 91 return EDGE_BOTTOM; |
| 94 } | 92 } |
| 95 #endif | 93 #endif |
| 96 | 94 |
| 97 } // namespace views | 95 } // namespace views |
| OLD | NEW |