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 #include "views/widget/widget.h" | 5 #include "views/widget/widget.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "views/widget/default_theme_provider.h" | 8 #include "views/widget/default_theme_provider.h" |
9 #include "views/widget/root_view.h" | 9 #include "views/widget/root_view.h" |
10 | 10 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 } | 91 } |
92 | 92 |
93 bool Widget::IsActive() const { | 93 bool Widget::IsActive() const { |
94 return false; | 94 return false; |
95 } | 95 } |
96 | 96 |
97 bool Widget::IsAccessibleWidget() const { | 97 bool Widget::IsAccessibleWidget() const { |
98 return false; | 98 return false; |
99 } | 99 } |
100 | 100 |
101 void Widget::GenerateMousePressedForView(View* view, const gfx::Point& point) { | |
102 } | |
103 | |
104 TooltipManager* Widget::GetTooltipManager() { | 101 TooltipManager* Widget::GetTooltipManager() { |
105 return NULL; | 102 return NULL; |
106 } | 103 } |
107 | 104 |
108 bool Widget::GetAccelerator(int cmd_id, ui::Accelerator* accelerator) { | 105 bool Widget::GetAccelerator(int cmd_id, ui::Accelerator* accelerator) { |
109 return false; | 106 return false; |
110 } | 107 } |
111 | 108 |
112 Window* Widget::GetWindow() { | 109 Window* Widget::GetWindow() { |
113 return NULL; | 110 return NULL; |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 } | 201 } |
205 | 202 |
206 View* Widget::GetFocusTraversableParentView() { | 203 View* Widget::GetFocusTraversableParentView() { |
207 // We are a proxy to the root view, so we should be bypassed when traversing | 204 // We are a proxy to the root view, so we should be bypassed when traversing |
208 // up and as a result this should not be called. | 205 // up and as a result this should not be called. |
209 NOTREACHED(); | 206 NOTREACHED(); |
210 return NULL; | 207 return NULL; |
211 } | 208 } |
212 | 209 |
213 } // namespace views | 210 } // namespace views |
OLD | NEW |