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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_drag_drop_client_win.h

Issue 623293004: replace OVERRIDE and FINAL with override and final in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WIN_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WIN_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WIN_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "ui/views/views_export.h" 10 #include "ui/views/views_export.h"
(...skipping 12 matching lines...) Expand all
23 DesktopDragDropClientWin(aura::Window* root_window, HWND window); 23 DesktopDragDropClientWin(aura::Window* root_window, HWND window);
24 virtual ~DesktopDragDropClientWin(); 24 virtual ~DesktopDragDropClientWin();
25 25
26 // Overridden from aura::client::DragDropClient: 26 // Overridden from aura::client::DragDropClient:
27 virtual int StartDragAndDrop( 27 virtual int StartDragAndDrop(
28 const ui::OSExchangeData& data, 28 const ui::OSExchangeData& data,
29 aura::Window* root_window, 29 aura::Window* root_window,
30 aura::Window* source_window, 30 aura::Window* source_window,
31 const gfx::Point& root_location, 31 const gfx::Point& root_location,
32 int operation, 32 int operation,
33 ui::DragDropTypes::DragEventSource source) OVERRIDE; 33 ui::DragDropTypes::DragEventSource source) override;
34 virtual void DragUpdate(aura::Window* target, 34 virtual void DragUpdate(aura::Window* target,
35 const ui::LocatedEvent& event) OVERRIDE; 35 const ui::LocatedEvent& event) override;
36 virtual void Drop(aura::Window* target, 36 virtual void Drop(aura::Window* target,
37 const ui::LocatedEvent& event) OVERRIDE; 37 const ui::LocatedEvent& event) override;
38 virtual void DragCancel() OVERRIDE; 38 virtual void DragCancel() override;
39 virtual bool IsDragDropInProgress() OVERRIDE; 39 virtual bool IsDragDropInProgress() override;
40 40
41 void OnNativeWidgetDestroying(HWND window); 41 void OnNativeWidgetDestroying(HWND window);
42 42
43 private: 43 private:
44 bool drag_drop_in_progress_; 44 bool drag_drop_in_progress_;
45 45
46 int drag_operation_; 46 int drag_operation_;
47 47
48 scoped_refptr<ui::DragSourceWin> drag_source_; 48 scoped_refptr<ui::DragSourceWin> drag_source_;
49 49
50 scoped_refptr<DesktopDropTargetWin> drop_target_; 50 scoped_refptr<DesktopDropTargetWin> drop_target_;
51 51
52 DISALLOW_COPY_AND_ASSIGN(DesktopDragDropClientWin); 52 DISALLOW_COPY_AND_ASSIGN(DesktopDragDropClientWin);
53 }; 53 };
54 54
55 } // namespace views 55 } // namespace views
56 56
57 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WIN_H_ 57 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698