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

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

Issue 8632022: Add OVERRIDE to chrome/browser/ui/gtk/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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) 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 WindowOpenDisposition disposition, 102 WindowOpenDisposition disposition,
103 const gfx::Rect& initial_pos, 103 const gfx::Rect& initial_pos,
104 bool user_gesture) OVERRIDE; 104 bool user_gesture) OVERRIDE;
105 virtual void LoadingStateChanged(TabContents* source) OVERRIDE; 105 virtual void LoadingStateChanged(TabContents* source) OVERRIDE;
106 virtual content::JavaScriptDialogCreator* 106 virtual content::JavaScriptDialogCreator*
107 GetJavaScriptDialogCreator() OVERRIDE; 107 GetJavaScriptDialogCreator() OVERRIDE;
108 108
109 // Overridden from content::NotificationObserver: 109 // Overridden from content::NotificationObserver:
110 virtual void Observe(int type, 110 virtual void Observe(int type,
111 const content::NotificationSource& source, 111 const content::NotificationSource& source,
112 const content::NotificationDetails& details); 112 const content::NotificationDetails& details) OVERRIDE;
113 113
114 // Returns the point where a detached window should be created given the 114 // Returns the point where a detached window should be created given the
115 // current mouse position. 115 // current mouse position.
116 gfx::Point GetWindowCreatePoint() const; 116 gfx::Point GetWindowCreatePoint() const;
117 117
118 // Move the DraggedTabView according to the current mouse screen position, 118 // Move the DraggedTabView according to the current mouse screen position,
119 // potentially updating the source and other TabStrips. 119 // potentially updating the source and other TabStrips.
120 void ContinueDragging(); 120 void ContinueDragging();
121 121
122 // Handles dragging tabs while the tabs are attached. 122 // Handles dragging tabs while the tabs are attached.
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 267
268 // Timer used to bring the window under the cursor to front. If the user 268 // 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 269 // stops moving the mouse for a brief time over a browser window, it is
270 // brought to front. 270 // brought to front.
271 base::OneShotTimer<DraggedTabControllerGtk> bring_to_front_timer_; 271 base::OneShotTimer<DraggedTabControllerGtk> bring_to_front_timer_;
272 272
273 DISALLOW_COPY_AND_ASSIGN(DraggedTabControllerGtk); 273 DISALLOW_COPY_AND_ASSIGN(DraggedTabControllerGtk);
274 }; 274 };
275 275
276 #endif // CHROME_BROWSER_UI_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_ 276 #endif // CHROME_BROWSER_UI_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/tab_contents_container_gtk.h ('k') | chrome/browser/ui/gtk/tabs/dragged_view_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698