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 23 matching lines...) Expand all Loading... |
34 ui::WindowShowState show_state) OVERRIDE; | 34 ui::WindowShowState show_state) OVERRIDE; |
35 virtual bool GetSavedWindowPlacement( | 35 virtual bool GetSavedWindowPlacement( |
36 const Widget* window, | 36 const Widget* window, |
37 const std::string& window_name, | 37 const std::string& window_name, |
38 gfx::Rect* bounds, | 38 gfx::Rect* bounds, |
39 ui::WindowShowState* show_state) const OVERRIDE; | 39 ui::WindowShowState* show_state) const OVERRIDE; |
40 | 40 |
41 virtual void NotifyAccessibilityEvent( | 41 virtual void NotifyAccessibilityEvent( |
42 View* view, ui::AccessibilityTypes::Event event_type) OVERRIDE {} | 42 View* view, ui::AccessibilityTypes::Event event_type) OVERRIDE {} |
43 | 43 |
44 virtual void NotifyMenuItemFocused(const string16& menu_name, | 44 virtual void NotifyMenuItemFocused(const base::string16& menu_name, |
45 const string16& menu_item_name, | 45 const base::string16& menu_item_name, |
46 int item_index, | 46 int item_index, |
47 int item_count, | 47 int item_count, |
48 bool has_submenu) OVERRIDE {} | 48 bool has_submenu) OVERRIDE {} |
49 #if defined(OS_WIN) | 49 #if defined(OS_WIN) |
50 virtual HICON GetDefaultWindowIcon() const OVERRIDE { | 50 virtual HICON GetDefaultWindowIcon() const OVERRIDE { |
51 return NULL; | 51 return NULL; |
52 } | 52 } |
53 | 53 |
54 virtual bool IsWindowInMetro(gfx::NativeWindow window) const { | 54 virtual bool IsWindowInMetro(gfx::NativeWindow window) const { |
55 return false; | 55 return false; |
(...skipping 15 matching lines...) Expand all Loading... |
71 | 71 |
72 private: | 72 private: |
73 bool use_transparent_windows_; | 73 bool use_transparent_windows_; |
74 | 74 |
75 DISALLOW_COPY_AND_ASSIGN(TestViewsDelegate); | 75 DISALLOW_COPY_AND_ASSIGN(TestViewsDelegate); |
76 }; | 76 }; |
77 | 77 |
78 } // namespace views | 78 } // namespace views |
79 | 79 |
80 #endif // UI_VIEWS_TEST_TEST_VIEWS_DELEGATE_H_ | 80 #endif // UI_VIEWS_TEST_TEST_VIEWS_DELEGATE_H_ |
OLD | NEW |