Index: views/widget/root_view.h |
=================================================================== |
--- views/widget/root_view.h (revision 75182) |
+++ views/widget/root_view.h (working copy) |
@@ -122,14 +122,6 @@ |
// MouseWheel events are sent on the focus path. |
virtual bool ProcessMouseWheelEvent(const MouseWheelEvent& e); |
- // Starts a drag operation for the specified view. This blocks until done. |
- // If the view has not been deleted during the drag, OnDragDone is invoked |
- // on the view. |
- // NOTE: |view| may be null. |
- void StartDragForViewFromMouseEvent(View* view, |
- const OSExchangeData& data, |
- int operation); |
- |
#if defined(TOUCH_UI) && defined(UNIT_TEST) |
// For unit testing purposes, we use this method to set a mock |
// GestureManager |
@@ -138,13 +130,6 @@ |
// Focus --------------------------------------------------------------------- |
- // Make the provided view focused. Also make sure that our Widget is focused. |
- void FocusView(View* view); |
- |
- // Returns the View in this RootView hierarchy that has the focus, or NULL if |
- // no View currently has the focus. |
- View* GetFocusedView(); |
- |
// Set whether this root view should focus the corresponding hwnd |
// when an unprocessed mouse event occurs. |
void SetFocusOnMousePressed(bool f); |
@@ -225,11 +210,6 @@ |
// Updates the last_mouse_* fields from e. |
void SetMouseLocationAndFlags(const MouseEvent& e); |
- // Drag and drop ------------------------------------------------------------- |
- |
- // If a view is dragging, this returns it. Otherwise returns NULL. |
- View* GetDragView(); |
- |
////////////////////////////////////////////////////////////////////////////// |
// Tree operations ----------------------------------------------------------- |
@@ -325,10 +305,6 @@ |
// Tracks drag state for a view. |
View::DragInfo drag_info; |
- // Valid for the lifetime of StartDragForViewFromMouseEvent, indicates the |
- // view the drag started from. |
- View* drag_view_; |
- |
DISALLOW_IMPLICIT_CONSTRUCTORS(RootView); |
}; |
} // namespace views |