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

Side by Side Diff: ui/ozone/platform/dri/dri_gpu_platform_support.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 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_GPU_PLATFORM_SUPPORT_H_ 5 #ifndef UI_OZONE_PLATFORM_DRI_DRI_GPU_PLATFORM_SUPPORT_H_
6 #define UI_OZONE_PLATFORM_DRI_DRI_GPU_PLATFORM_SUPPORT_H_ 6 #define UI_OZONE_PLATFORM_DRI_DRI_GPU_PLATFORM_SUPPORT_H_
7 7
8 #include "base/containers/scoped_ptr_hash_map.h" 8 #include "base/containers/scoped_ptr_hash_map.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
(...skipping 22 matching lines...) Expand all
33 public: 33 public:
34 DriGpuPlatformSupport(DriSurfaceFactory* dri, 34 DriGpuPlatformSupport(DriSurfaceFactory* dri,
35 DriWindowDelegateManager* window_manager, 35 DriWindowDelegateManager* window_manager,
36 ScreenManager* screen_manager, 36 ScreenManager* screen_manager,
37 scoped_ptr<NativeDisplayDelegateDri> ndd); 37 scoped_ptr<NativeDisplayDelegateDri> ndd);
38 virtual ~DriGpuPlatformSupport(); 38 virtual ~DriGpuPlatformSupport();
39 39
40 void AddHandler(scoped_ptr<GpuPlatformSupport> handler); 40 void AddHandler(scoped_ptr<GpuPlatformSupport> handler);
41 41
42 // GpuPlatformSupport: 42 // GpuPlatformSupport:
43 virtual void OnChannelEstablished(IPC::Sender* sender) OVERRIDE; 43 virtual void OnChannelEstablished(IPC::Sender* sender) override;
44 44
45 // IPC::Listener: 45 // IPC::Listener:
46 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 46 virtual bool OnMessageReceived(const IPC::Message& message) override;
47 47
48 private: 48 private:
49 void OnCreateWindowDelegate(gfx::AcceleratedWidget widget); 49 void OnCreateWindowDelegate(gfx::AcceleratedWidget widget);
50 void OnDestroyWindowDelegate(gfx::AcceleratedWidget widget); 50 void OnDestroyWindowDelegate(gfx::AcceleratedWidget widget);
51 void OnWindowBoundsChanged(gfx::AcceleratedWidget widget, 51 void OnWindowBoundsChanged(gfx::AcceleratedWidget widget,
52 const gfx::Rect& bounds); 52 const gfx::Rect& bounds);
53 void OnCursorSet(gfx::AcceleratedWidget widget, 53 void OnCursorSet(gfx::AcceleratedWidget widget,
54 const std::vector<SkBitmap>& bitmaps, 54 const std::vector<SkBitmap>& bitmaps,
55 const gfx::Point& location, 55 const gfx::Point& location,
56 int frame_delay_ms); 56 int frame_delay_ms);
(...skipping 13 matching lines...) Expand all
70 DriWindowDelegateManager* window_manager_; // Not owned. 70 DriWindowDelegateManager* window_manager_; // Not owned.
71 ScreenManager* screen_manager_; // Not owned. 71 ScreenManager* screen_manager_; // Not owned.
72 72
73 scoped_ptr<NativeDisplayDelegateDri> ndd_; 73 scoped_ptr<NativeDisplayDelegateDri> ndd_;
74 ScopedVector<GpuPlatformSupport> handlers_; 74 ScopedVector<GpuPlatformSupport> handlers_;
75 }; 75 };
76 76
77 } // namespace ui 77 } // namespace ui
78 78
79 #endif // UI_OZONE_PLATFORM_DRI_DRI_GPU_PLATFORM_SUPPORT_H_ 79 #endif // UI_OZONE_PLATFORM_DRI_DRI_GPU_PLATFORM_SUPPORT_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/dri/dri_cursor.h ('k') | ui/ozone/platform/dri/dri_gpu_platform_support_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698