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

Side by Side Diff: chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h

Issue 8772041: Remove deprecated TabContentsDelegate::OpenURLFromTab variant (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_UI_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // The drag session was canceled (alt-tab during drag, escape ...) 78 // The drag session was canceled (alt-tab during drag, escape ...)
79 CANCELED, 79 CANCELED,
80 80
81 // The tab (NavigationController) was destroyed during the drag. 81 // The tab (NavigationController) was destroyed during the drag.
82 TAB_DESTROYED 82 TAB_DESTROYED
83 }; 83 };
84 84
85 DraggedTabData InitDraggedTabData(TabGtk* tab); 85 DraggedTabData InitDraggedTabData(TabGtk* tab);
86 86
87 // Overridden from TabContentsDelegate: 87 // Overridden from TabContentsDelegate:
88 // Deprecated. Please use the two-arguments variant instead.
89 // TODO(adriansc): Remove this method once refactoring changed all call sites.
90 virtual TabContents* OpenURLFromTab(
91 TabContents* source,
92 const GURL& url,
93 const GURL& referrer,
94 WindowOpenDisposition disposition,
95 content::PageTransition transition) OVERRIDE;
96 virtual TabContents* OpenURLFromTab(TabContents* source, 88 virtual TabContents* OpenURLFromTab(TabContents* source,
97 const OpenURLParams& params) OVERRIDE; 89 const OpenURLParams& params) OVERRIDE;
98 virtual void NavigationStateChanged(const TabContents* source, 90 virtual void NavigationStateChanged(const TabContents* source,
99 unsigned changed_flags) OVERRIDE; 91 unsigned changed_flags) OVERRIDE;
100 virtual void AddNewContents(TabContents* source, 92 virtual void AddNewContents(TabContents* source,
101 TabContents* new_contents, 93 TabContents* new_contents,
102 WindowOpenDisposition disposition, 94 WindowOpenDisposition disposition,
103 const gfx::Rect& initial_pos, 95 const gfx::Rect& initial_pos,
104 bool user_gesture) OVERRIDE; 96 bool user_gesture) OVERRIDE;
105 virtual void LoadingStateChanged(TabContents* source) OVERRIDE; 97 virtual void LoadingStateChanged(TabContents* source) OVERRIDE;
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 259
268 // Timer used to bring the window under the cursor to front. If the user 260 // Timer used to bring the window under the cursor to front. If the user
269 // stops moving the mouse for a brief time over a browser window, it is 261 // stops moving the mouse for a brief time over a browser window, it is
270 // brought to front. 262 // brought to front.
271 base::OneShotTimer<DraggedTabControllerGtk> bring_to_front_timer_; 263 base::OneShotTimer<DraggedTabControllerGtk> bring_to_front_timer_;
272 264
273 DISALLOW_COPY_AND_ASSIGN(DraggedTabControllerGtk); 265 DISALLOW_COPY_AND_ASSIGN(DraggedTabControllerGtk);
274 }; 266 };
275 267
276 #endif // CHROME_BROWSER_UI_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_ 268 #endif // CHROME_BROWSER_UI_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/sad_tab_gtk.cc ('k') | chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698