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

Side by Side Diff: chrome/browser/views/tabs/dragged_tab_controller.cc

Issue 10973: Test the feasibility of turning Chrome into a multi-process ActiveX control Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 12 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/views/tabs/dragged_tab_controller.h ('k') | chrome/browser/web_contents.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 <math.h> 5 #include <math.h>
6 6
7 #include "chrome/browser/views/tabs/dragged_tab_controller.h" 7 #include "chrome/browser/views/tabs/dragged_tab_controller.h"
8 8
9 #include "chrome/browser/browser_window.h" 9 #include "chrome/browser/browser_window.h"
10 #include "chrome/browser/frame_util.h" 10 #include "chrome/browser/frame_util.h"
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 void DraggedTabController::MoveContents(TabContents* source, 271 void DraggedTabController::MoveContents(TabContents* source,
272 const gfx::Rect& pos) { 272 const gfx::Rect& pos) {
273 // Theoretically could be called by a web page trying to move its 273 // Theoretically could be called by a web page trying to move its
274 // own window. Should be ignored since we're moving the window... 274 // own window. Should be ignored since we're moving the window...
275 } 275 }
276 276
277 bool DraggedTabController::IsPopup(TabContents* source) { 277 bool DraggedTabController::IsPopup(TabContents* source) {
278 return false; 278 return false;
279 } 279 }
280 280
281 bool DraggedTabController::IsEmbedded(TabContents* source) {
282 return false;
283 }
284
281 void DraggedTabController::ToolbarSizeChanged(TabContents* source, 285 void DraggedTabController::ToolbarSizeChanged(TabContents* source,
282 bool finished) { 286 bool finished) {
283 // Dragged tabs don't care about this. 287 // Dragged tabs don't care about this.
284 } 288 }
285 289
286 void DraggedTabController::URLStarredChanged(TabContents* source, 290 void DraggedTabController::URLStarredChanged(TabContents* source,
287 bool starred) { 291 bool starred) {
288 // Ignored. 292 // Ignored.
289 } 293 }
290 294
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
833 Tab* tab = GetTabMatchingDraggedContents(attached_tabstrip_); 837 Tab* tab = GetTabMatchingDraggedContents(attached_tabstrip_);
834 if (tab) 838 if (tab)
835 tab->SetVisible(true); 839 tab->SetVisible(true);
836 } 840 }
837 CleanUpHiddenFrame(); 841 CleanUpHiddenFrame();
838 842
839 if (!in_destructor_) 843 if (!in_destructor_)
840 source_tabstrip_->DestroyDragController(); 844 source_tabstrip_->DestroyDragController();
841 } 845 }
842 846
OLDNEW
« no previous file with comments | « chrome/browser/views/tabs/dragged_tab_controller.h ('k') | chrome/browser/web_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698