Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Unified Diff: views/widget/root_view.h

Issue 6507028: Remove usages of RootView from View by moving relevant RootView API methods t... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/widget/native_widget_win.cc ('k') | views/widget/root_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « views/widget/native_widget_win.cc ('k') | views/widget/root_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698