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

Unified Diff: chrome/browser/ui/views/tabs/default_tab_drag_controller.cc

Issue 8949061: Move a bunch of methods from TabContents into the WebContents interface. This change either moves... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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
Index: chrome/browser/ui/views/tabs/default_tab_drag_controller.cc
===================================================================
--- chrome/browser/ui/views/tabs/default_tab_drag_controller.cc (revision 115435)
+++ chrome/browser/ui/views/tabs/default_tab_drag_controller.cc (working copy)
@@ -841,7 +841,7 @@
}
// Return the TabContents' to normalcy.
- source_dragged_contents()->tab_contents()->set_capturing_contents(false);
+ source_dragged_contents()->tab_contents()->SetCapturingContents(false);
// Inserting counts as a move. We don't want the tabs to jitter when the
// user moves the tab immediately after attaching it.
@@ -896,7 +896,7 @@
void DefaultTabDragController::Detach() {
// Prevent the TabContents' HWND from being hidden by any of the model
// operations performed during the drag.
- source_dragged_contents()->tab_contents()->set_capturing_contents(true);
+ source_dragged_contents()->tab_contents()->SetCapturingContents(true);
// Calculate the drag bounds.
std::vector<gfx::Rect> drag_bounds;

Powered by Google App Engine
This is Rietveld 408576698