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

Side by Side Diff: ui/ozone/platform/dri/dri_window_delegate_impl.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
« no previous file with comments | « ui/ozone/platform/dri/dri_window.h ('k') | ui/ozone/platform/dri/gbm_buffer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_OZONE_PLATFORM_DRI_DRI_WINDOW_DELEGATE_IMPL_H_ 5 #ifndef UI_OZONE_PLATFORM_DRI_DRI_WINDOW_DELEGATE_IMPL_H_
6 #define UI_OZONE_PLATFORM_DRI_DRI_WINDOW_DELEGATE_IMPL_H_ 6 #define UI_OZONE_PLATFORM_DRI_DRI_WINDOW_DELEGATE_IMPL_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 #include "ui/ozone/platform/dri/dri_window_delegate.h" 10 #include "ui/ozone/platform/dri/dri_window_delegate.h"
11 11
12 namespace gfx { 12 namespace gfx {
13 class Rect; 13 class Rect;
14 } // namespace gfx 14 } // namespace gfx
15 15
16 namespace ui { 16 namespace ui {
17 17
18 class HardwareDisplayController; 18 class HardwareDisplayController;
19 class ScreenManager; 19 class ScreenManager;
20 20
21 class DriWindowDelegateImpl : public DriWindowDelegate { 21 class DriWindowDelegateImpl : public DriWindowDelegate {
22 public: 22 public:
23 DriWindowDelegateImpl(gfx::AcceleratedWidget widget, 23 DriWindowDelegateImpl(gfx::AcceleratedWidget widget,
24 ScreenManager* screen_manager); 24 ScreenManager* screen_manager);
25 virtual ~DriWindowDelegateImpl(); 25 virtual ~DriWindowDelegateImpl();
26 26
27 // DriWindowDelegate: 27 // DriWindowDelegate:
28 virtual void Initialize() OVERRIDE; 28 virtual void Initialize() override;
29 virtual void Shutdown() OVERRIDE; 29 virtual void Shutdown() override;
30 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; 30 virtual gfx::AcceleratedWidget GetAcceleratedWidget() override;
31 virtual HardwareDisplayController* GetController() OVERRIDE; 31 virtual HardwareDisplayController* GetController() override;
32 virtual void OnBoundsChanged(const gfx::Rect& bounds) OVERRIDE; 32 virtual void OnBoundsChanged(const gfx::Rect& bounds) override;
33 33
34 private: 34 private:
35 gfx::AcceleratedWidget widget_; 35 gfx::AcceleratedWidget widget_;
36 36
37 ScreenManager* screen_manager_; // Not owned. 37 ScreenManager* screen_manager_; // Not owned.
38 38
39 base::WeakPtr<HardwareDisplayController> controller_; 39 base::WeakPtr<HardwareDisplayController> controller_;
40 40
41 DISALLOW_COPY_AND_ASSIGN(DriWindowDelegateImpl); 41 DISALLOW_COPY_AND_ASSIGN(DriWindowDelegateImpl);
42 }; 42 };
43 43
44 } // namespace ui 44 } // namespace ui
45 45
46 #endif // UI_OZONE_PLATFORM_DRI_DRI_WINDOW_DELEGATE_IMPL_H_ 46 #endif // UI_OZONE_PLATFORM_DRI_DRI_WINDOW_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/dri/dri_window.h ('k') | ui/ozone/platform/dri/gbm_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698