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

Side by Side Diff: chrome/browser/ui/views/tabs/tab_drag_controller.h

Issue 628773002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[t-v]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
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_VIEWS_TABS_TAB_DRAG_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 203
204 typedef std::vector<TabDragData> DragData; 204 typedef std::vector<TabDragData> DragData;
205 205
206 // Sets |drag_data| from |tab|. This also registers for necessary 206 // Sets |drag_data| from |tab|. This also registers for necessary
207 // notifications and resets the delegate of the WebContents. 207 // notifications and resets the delegate of the WebContents.
208 void InitTabDragData(Tab* tab, TabDragData* drag_data); 208 void InitTabDragData(Tab* tab, TabDragData* drag_data);
209 209
210 // Overridden from content::NotificationObserver: 210 // Overridden from content::NotificationObserver:
211 virtual void Observe(int type, 211 virtual void Observe(int type,
212 const content::NotificationSource& source, 212 const content::NotificationSource& source,
213 const content::NotificationDetails& details) OVERRIDE; 213 const content::NotificationDetails& details) override;
214 214
215 // Overriden from views::WidgetObserver: 215 // Overriden from views::WidgetObserver:
216 virtual void OnWidgetBoundsChanged(views::Widget* widget, 216 virtual void OnWidgetBoundsChanged(views::Widget* widget,
217 const gfx::Rect& new_bounds) OVERRIDE; 217 const gfx::Rect& new_bounds) override;
218 218
219 // Overriden from TabStripModelObserver: 219 // Overriden from TabStripModelObserver:
220 virtual void TabStripEmpty() OVERRIDE; 220 virtual void TabStripEmpty() override;
221 221
222 // Initialize the offset used to calculate the position to create windows 222 // Initialize the offset used to calculate the position to create windows
223 // in |GetWindowCreatePoint|. This should only be invoked from |Init|. 223 // in |GetWindowCreatePoint|. This should only be invoked from |Init|.
224 void InitWindowCreatePoint(); 224 void InitWindowCreatePoint();
225 225
226 // Returns the point where a detached window should be created given the 226 // Returns the point where a detached window should be created given the
227 // current mouse position |origin|. 227 // current mouse position |origin|.
228 gfx::Point GetWindowCreatePoint(const gfx::Point& origin) const; 228 gfx::Point GetWindowCreatePoint(const gfx::Point& origin) const;
229 229
230 void UpdateDockInfo(const gfx::Point& point_in_screen); 230 void UpdateDockInfo(const gfx::Point& point_in_screen);
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 int attach_index_; 599 int attach_index_;
600 600
601 scoped_ptr<ui::EventHandler> escape_tracker_; 601 scoped_ptr<ui::EventHandler> escape_tracker_;
602 602
603 base::WeakPtrFactory<TabDragController> weak_factory_; 603 base::WeakPtrFactory<TabDragController> weak_factory_;
604 604
605 DISALLOW_COPY_AND_ASSIGN(TabDragController); 605 DISALLOW_COPY_AND_ASSIGN(TabDragController);
606 }; 606 };
607 607
608 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_H_ 608 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/tab.cc ('k') | chrome/browser/ui/views/tabs/tab_drag_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698