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 #ifndef UI_VIEWS_TEST_TEST_VIEWS_DELEGATE_H_ | 5 #ifndef UI_VIEWS_TEST_TEST_VIEWS_DELEGATE_H_ |
6 #define UI_VIEWS_TEST_TEST_VIEWS_DELEGATE_H_ | 6 #define UI_VIEWS_TEST_TEST_VIEWS_DELEGATE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 } | 52 } |
53 #endif | 53 #endif |
54 virtual NonClientFrameView* CreateDefaultNonClientFrameView( | 54 virtual NonClientFrameView* CreateDefaultNonClientFrameView( |
55 Widget* widget) OVERRIDE; | 55 Widget* widget) OVERRIDE; |
56 virtual bool UseTransparentWindows() const OVERRIDE; | 56 virtual bool UseTransparentWindows() const OVERRIDE; |
57 virtual void AddRef() OVERRIDE {} | 57 virtual void AddRef() OVERRIDE {} |
58 virtual void ReleaseRef() OVERRIDE {} | 58 virtual void ReleaseRef() OVERRIDE {} |
59 | 59 |
60 virtual int GetDispositionForEvent(int event_flags) OVERRIDE; | 60 virtual int GetDispositionForEvent(int event_flags) OVERRIDE; |
61 | 61 |
| 62 #if defined(USE_AURA) |
| 63 virtual views::NativeWidgetHelperAura* CreateNativeWidgetHelper( |
| 64 views::NativeWidgetAura* native_widget) OVERRIDE; |
| 65 #endif |
| 66 |
62 private: | 67 private: |
63 mutable scoped_ptr<ui::Clipboard> clipboard_; | 68 mutable scoped_ptr<ui::Clipboard> clipboard_; |
64 bool use_transparent_windows_; | 69 bool use_transparent_windows_; |
65 | 70 |
66 DISALLOW_COPY_AND_ASSIGN(TestViewsDelegate); | 71 DISALLOW_COPY_AND_ASSIGN(TestViewsDelegate); |
67 }; | 72 }; |
68 | 73 |
69 } // namespace views | 74 } // namespace views |
70 | 75 |
71 #endif // UI_VIEWS_TEST_TEST_VIEWS_DELEGATE_H_ | 76 #endif // UI_VIEWS_TEST_TEST_VIEWS_DELEGATE_H_ |
OLD | NEW |