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

Side by Side Diff: ui/ozone/platform/dri/dri_window.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_WINDOW_H_ 5 #ifndef UI_OZONE_PLATFORM_DRI_DRI_WINDOW_H_
6 #define UI_OZONE_PLATFORM_DRI_DRI_WINDOW_H_ 6 #define UI_OZONE_PLATFORM_DRI_DRI_WINDOW_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "ui/events/platform/platform_event_dispatcher.h" 9 #include "ui/events/platform/platform_event_dispatcher.h"
10 #include "ui/gfx/geometry/rect.h" 10 #include "ui/gfx/geometry/rect.h"
(...skipping 15 matching lines...) Expand all
26 DriWindow(PlatformWindowDelegate* delegate, 26 DriWindow(PlatformWindowDelegate* delegate,
27 const gfx::Rect& bounds, 27 const gfx::Rect& bounds,
28 DriGpuPlatformSupportHost* sender, 28 DriGpuPlatformSupportHost* sender,
29 EventFactoryEvdev* event_factory, 29 EventFactoryEvdev* event_factory,
30 DriWindowManager* window_manager); 30 DriWindowManager* window_manager);
31 virtual ~DriWindow(); 31 virtual ~DriWindow();
32 32
33 void Initialize(); 33 void Initialize();
34 34
35 // PlatformWindow: 35 // PlatformWindow:
36 virtual void Show() OVERRIDE; 36 virtual void Show() override;
37 virtual void Hide() OVERRIDE; 37 virtual void Hide() override;
38 virtual void Close() OVERRIDE; 38 virtual void Close() override;
39 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 39 virtual void SetBounds(const gfx::Rect& bounds) override;
40 virtual gfx::Rect GetBounds() OVERRIDE; 40 virtual gfx::Rect GetBounds() override;
41 virtual void SetCapture() OVERRIDE; 41 virtual void SetCapture() override;
42 virtual void ReleaseCapture() OVERRIDE; 42 virtual void ReleaseCapture() override;
43 virtual void ToggleFullscreen() OVERRIDE; 43 virtual void ToggleFullscreen() override;
44 virtual void Maximize() OVERRIDE; 44 virtual void Maximize() override;
45 virtual void Minimize() OVERRIDE; 45 virtual void Minimize() override;
46 virtual void Restore() OVERRIDE; 46 virtual void Restore() override;
47 virtual void SetCursor(PlatformCursor cursor) OVERRIDE; 47 virtual void SetCursor(PlatformCursor cursor) override;
48 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; 48 virtual void MoveCursorTo(const gfx::Point& location) override;
49 49
50 // PlatformEventDispatcher: 50 // PlatformEventDispatcher:
51 virtual bool CanDispatchEvent(const PlatformEvent& event) OVERRIDE; 51 virtual bool CanDispatchEvent(const PlatformEvent& event) override;
52 virtual uint32_t DispatchEvent(const PlatformEvent& event) OVERRIDE; 52 virtual uint32_t DispatchEvent(const PlatformEvent& event) override;
53 53
54 // ChannelObserver: 54 // ChannelObserver:
55 virtual void OnChannelEstablished() OVERRIDE; 55 virtual void OnChannelEstablished() OVERRIDE;
56 virtual void OnChannelDestroyed() OVERRIDE; 56 virtual void OnChannelDestroyed() OVERRIDE;
57 57
58 private: 58 private:
59 PlatformWindowDelegate* delegate_; // Not owned. 59 PlatformWindowDelegate* delegate_; // Not owned.
60 DriGpuPlatformSupportHost* sender_; // Not owned. 60 DriGpuPlatformSupportHost* sender_; // Not owned.
61 EventFactoryEvdev* event_factory_; // Not owned. 61 EventFactoryEvdev* event_factory_; // Not owned.
62 DriWindowManager* window_manager_; // Not owned. 62 DriWindowManager* window_manager_; // Not owned.
63 63
64 gfx::Rect bounds_; 64 gfx::Rect bounds_;
65 gfx::AcceleratedWidget widget_; 65 gfx::AcceleratedWidget widget_;
66 66
67 DISALLOW_COPY_AND_ASSIGN(DriWindow); 67 DISALLOW_COPY_AND_ASSIGN(DriWindow);
68 }; 68 };
69 69
70 } // namespace ui 70 } // namespace ui
71 71
72 #endif // UI_OZONE_PLATFORM_DRI_DRI_WINDOW_H_ 72 #endif // UI_OZONE_PLATFORM_DRI_DRI_WINDOW_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/dri/dri_vsync_provider.h ('k') | ui/ozone/platform/dri/dri_window_delegate_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698