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

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

Issue 10868116: Pass result of blockage across content API when new tab blocked. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include <set> 10 #include <set>
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 }; 82 };
83 83
84 DraggedTabData InitDraggedTabData(TabGtk* tab); 84 DraggedTabData InitDraggedTabData(TabGtk* tab);
85 85
86 // Overridden from content::WebContentsDelegate: 86 // Overridden from content::WebContentsDelegate:
87 virtual content::WebContents* OpenURLFromTab( 87 virtual content::WebContents* OpenURLFromTab(
88 content::WebContents* source, 88 content::WebContents* source,
89 const content::OpenURLParams& params) OVERRIDE; 89 const content::OpenURLParams& params) OVERRIDE;
90 virtual void NavigationStateChanged(const content::WebContents* source, 90 virtual void NavigationStateChanged(const content::WebContents* source,
91 unsigned changed_flags) OVERRIDE; 91 unsigned changed_flags) OVERRIDE;
92 virtual void AddNewContents(content::WebContents* source, 92 virtual bool AddNewContents(content::WebContents* source,
93 content::WebContents* new_contents, 93 content::WebContents* new_contents,
94 WindowOpenDisposition disposition, 94 WindowOpenDisposition disposition,
95 const gfx::Rect& initial_pos, 95 const gfx::Rect& initial_pos,
96 bool user_gesture) OVERRIDE; 96 bool user_gesture) OVERRIDE;
97 virtual void LoadingStateChanged(content::WebContents* source) OVERRIDE; 97 virtual void LoadingStateChanged(content::WebContents* source) OVERRIDE;
98 virtual content::JavaScriptDialogCreator* 98 virtual content::JavaScriptDialogCreator*
99 GetJavaScriptDialogCreator() OVERRIDE; 99 GetJavaScriptDialogCreator() OVERRIDE;
100 100
101 // Overridden from content::NotificationObserver: 101 // Overridden from content::NotificationObserver:
102 virtual void Observe(int type, 102 virtual void Observe(int type,
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 259
260 // 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
261 // 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
262 // brought to front. 262 // brought to front.
263 base::OneShotTimer<DraggedTabControllerGtk> bring_to_front_timer_; 263 base::OneShotTimer<DraggedTabControllerGtk> bring_to_front_timer_;
264 264
265 DISALLOW_COPY_AND_ASSIGN(DraggedTabControllerGtk); 265 DISALLOW_COPY_AND_ASSIGN(DraggedTabControllerGtk);
266 }; 266 };
267 267
268 #endif // CHROME_BROWSER_UI_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_ 268 #endif // CHROME_BROWSER_UI_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698