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 #ifndef VIEWS_TEST_TEST_VIEWS_DELEGATE_H_ | 5 #ifndef VIEWS_TEST_TEST_VIEWS_DELEGATE_H_ |
6 #define VIEWS_TEST_TEST_VIEWS_DELEGATE_H_ | 6 #define VIEWS_TEST_TEST_VIEWS_DELEGATE_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "ui/base/accessibility/accessibility_types.h" | 9 #include "ui/base/accessibility/accessibility_types.h" |
10 #include "ui/base/clipboard/clipboard.h" | 10 #include "ui/base/clipboard/clipboard.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 bool has_submenu) {} | 44 bool has_submenu) {} |
45 #if defined(OS_WIN) | 45 #if defined(OS_WIN) |
46 virtual HICON GetDefaultWindowIcon() const OVERRIDE { | 46 virtual HICON GetDefaultWindowIcon() const OVERRIDE { |
47 return NULL; | 47 return NULL; |
48 } | 48 } |
49 #endif | 49 #endif |
50 | 50 |
51 virtual void AddRef() OVERRIDE {} | 51 virtual void AddRef() OVERRIDE {} |
52 virtual void ReleaseRef() OVERRIDE {} | 52 virtual void ReleaseRef() OVERRIDE {} |
53 | 53 |
54 virtual int GetDispositionForEvent(int event_flags) OVERRIDE { | 54 virtual int GetDispositionForEvent(int event_flags) OVERRIDE; |
55 return 0; | |
56 } | |
57 | 55 |
58 private: | 56 private: |
59 mutable scoped_ptr<ui::Clipboard> clipboard_; | 57 mutable scoped_ptr<ui::Clipboard> clipboard_; |
60 | 58 |
61 DISALLOW_COPY_AND_ASSIGN(TestViewsDelegate); | 59 DISALLOW_COPY_AND_ASSIGN(TestViewsDelegate); |
62 }; | 60 }; |
63 | 61 |
64 #endif // VIEWS_TEST_TEST_VIEWS_DELEGATE_H_ | 62 #endif // VIEWS_TEST_TEST_VIEWS_DELEGATE_H_ |
OLD | NEW |