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

Unified Diff: chrome/browser/views/tabs/dragged_tab_controller.cc

Issue 5005: Reorganize the declarations to have some grouping and logical ordering in tab... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 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 | « chrome/browser/views/tab_contents_container_view.cc ('k') | chrome/browser/views/tabs/tab_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/tabs/dragged_tab_controller.cc
===================================================================
--- chrome/browser/views/tabs/dragged_tab_controller.cc (revision 2626)
+++ chrome/browser/views/tabs/dragged_tab_controller.cc (working copy)
@@ -463,7 +463,7 @@
original_delegate_ = NULL;
// Return the TabContents' to normalcy.
- dragged_contents_->DidCaptureContents();
+ dragged_contents_->set_capturing_contents(false);
// We need to ask the TabStrip we're attached to to ensure that the ideal
// bounds for all its tabs are correctly generated, because the calculation
@@ -497,7 +497,7 @@
void DraggedTabController::Detach() {
// Prevent the TabContents' HWND from being hidden by any of the model
// operations performed during the drag.
- dragged_contents_->WillCaptureContents();
+ dragged_contents_->set_capturing_contents(true);
// Update the Model.
TabStripModel* attached_model = attached_tabstrip_->model();
« no previous file with comments | « chrome/browser/views/tab_contents_container_view.cc ('k') | chrome/browser/views/tabs/tab_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698