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

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

Issue 8186: Plumb the referrer throughout the OpenURL APIs.... (Closed) Base URL: svn://chrome-svn/chrome/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
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 #ifndef CHROME_BROWSER_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_
6 #define CHROME_BROWSER_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ 6 #define CHROME_BROWSER_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_
7 7
8 #include "base/gfx/rect.h" 8 #include "base/gfx/rect.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "chrome/browser/tab_contents_delegate.h" 10 #include "chrome/browser/tab_contents_delegate.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // The drag session was canceled (alt-tab during drag, escape ...) 73 // The drag session was canceled (alt-tab during drag, escape ...)
74 CANCELED, 74 CANCELED,
75 75
76 // The tab (NavigationController) was destroyed during the drag. 76 // The tab (NavigationController) was destroyed during the drag.
77 TAB_DESTROYED 77 TAB_DESTROYED
78 }; 78 };
79 79
80 // Overridden from TabContentsDelegate: 80 // Overridden from TabContentsDelegate:
81 virtual void OpenURLFromTab(TabContents* source, 81 virtual void OpenURLFromTab(TabContents* source,
82 const GURL& url, 82 const GURL& url,
83 const GURL& referrer,
83 WindowOpenDisposition disposition, 84 WindowOpenDisposition disposition,
84 PageTransition::Type transition); 85 PageTransition::Type transition);
85 virtual void NavigationStateChanged(const TabContents* source, 86 virtual void NavigationStateChanged(const TabContents* source,
86 unsigned changed_flags); 87 unsigned changed_flags);
87 virtual void ReplaceContents(TabContents* source, 88 virtual void ReplaceContents(TabContents* source,
88 TabContents* new_contents); 89 TabContents* new_contents);
89 virtual void AddNewContents(TabContents* source, 90 virtual void AddNewContents(TabContents* source,
90 TabContents* new_contents, 91 TabContents* new_contents,
91 WindowOpenDisposition disposition, 92 WindowOpenDisposition disposition,
92 const gfx::Rect& initial_pos, 93 const gfx::Rect& initial_pos,
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 277
277 // The horizontal position of the mouse cursor in screen coordinates at the 278 // The horizontal position of the mouse cursor in screen coordinates at the
278 // time of the last re-order event. 279 // time of the last re-order event.
279 int last_move_screen_x_; 280 int last_move_screen_x_;
280 281
281 DISALLOW_COPY_AND_ASSIGN(DraggedTabController); 282 DISALLOW_COPY_AND_ASSIGN(DraggedTabController);
282 }; 283 };
283 284
284 #endif // CHROME_BROWSER_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ 285 #endif // CHROME_BROWSER_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_
285 286
OLDNEW
« no previous file with comments | « chrome/browser/views/options/advanced_contents_view.cc ('k') | chrome/browser/views/tabs/dragged_tab_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698