| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/view.h" | 5 #include "views/view.h" |
| 6 | 6 |
| 7 #include <gtk/gtk.h> | 7 #include <gtk/gtk.h> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 | 10 |
| 11 namespace views { | 11 namespace views { |
| 12 | 12 |
| 13 FocusManager* View::GetFocusManager() { | |
| 14 NOTIMPLEMENTED(); | |
| 15 return NULL; | |
| 16 } | |
| 17 | |
| 18 void View::DoDrag(const MouseEvent& e, int press_x, int press_y) { | 13 void View::DoDrag(const MouseEvent& e, int press_x, int press_y) { |
| 19 NOTIMPLEMENTED(); | 14 NOTIMPLEMENTED(); |
| 20 } | 15 } |
| 21 | 16 |
| 22 ViewAccessibilityWrapper* View::GetViewAccessibilityWrapper() { | 17 ViewAccessibilityWrapper* View::GetViewAccessibilityWrapper() { |
| 23 NOTIMPLEMENTED(); | 18 NOTIMPLEMENTED(); |
| 24 return NULL; | 19 return NULL; |
| 25 } | 20 } |
| 26 | 21 |
| 27 void View::Focus() { | 22 void View::Focus() { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 43 drag_threshold = value; | 38 drag_threshold = value; |
| 44 return drag_threshold; | 39 return drag_threshold; |
| 45 } | 40 } |
| 46 | 41 |
| 47 int View::GetVerticalDragThreshold() { | 42 int View::GetVerticalDragThreshold() { |
| 48 // Vertical and horizontal drag threshold are the same in Gtk. | 43 // Vertical and horizontal drag threshold are the same in Gtk. |
| 49 return GetHorizontalDragThreshold(); | 44 return GetHorizontalDragThreshold(); |
| 50 } | 45 } |
| 51 | 46 |
| 52 } // namespace views | 47 } // namespace views |
| OLD | NEW |