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

Side by Side Diff: ui/views/controls/native/native_view_host_mac.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_VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_MAC_H_ 5 #ifndef UI_VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_MAC_H_
6 #define UI_VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_MAC_H_ 6 #define UI_VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_MAC_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/views/controls/native/native_view_host_wrapper.h" 9 #include "ui/views/controls/native/native_view_host_wrapper.h"
10 #include "ui/views/views_export.h" 10 #include "ui/views/views_export.h"
11 11
12 namespace views { 12 namespace views {
13 13
14 class NativeViewHost; 14 class NativeViewHost;
15 15
16 // Mac implementation of NativeViewHostWrapper. 16 // Mac implementation of NativeViewHostWrapper.
17 class VIEWS_EXPORT NativeViewHostMac : public NativeViewHostWrapper { 17 class VIEWS_EXPORT NativeViewHostMac : public NativeViewHostWrapper {
18 public: 18 public:
19 explicit NativeViewHostMac(NativeViewHost* host); 19 explicit NativeViewHostMac(NativeViewHost* host);
20 virtual ~NativeViewHostMac(); 20 virtual ~NativeViewHostMac();
21 21
22 // Overridden from NativeViewHostWrapper: 22 // Overridden from NativeViewHostWrapper:
23 virtual void AttachNativeView() OVERRIDE; 23 virtual void AttachNativeView() override;
24 virtual void NativeViewDetaching(bool destroyed) OVERRIDE; 24 virtual void NativeViewDetaching(bool destroyed) override;
25 virtual void AddedToWidget() OVERRIDE; 25 virtual void AddedToWidget() override;
26 virtual void RemovedFromWidget() OVERRIDE; 26 virtual void RemovedFromWidget() override;
27 virtual void InstallClip(int x, int y, int w, int h) OVERRIDE; 27 virtual void InstallClip(int x, int y, int w, int h) override;
28 virtual bool HasInstalledClip() OVERRIDE; 28 virtual bool HasInstalledClip() override;
29 virtual void UninstallClip() OVERRIDE; 29 virtual void UninstallClip() override;
30 virtual void ShowWidget(int x, int y, int w, int h) OVERRIDE; 30 virtual void ShowWidget(int x, int y, int w, int h) override;
31 virtual void HideWidget() OVERRIDE; 31 virtual void HideWidget() override;
32 virtual void SetFocus() OVERRIDE; 32 virtual void SetFocus() override;
33 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; 33 virtual gfx::NativeViewAccessible GetNativeViewAccessible() override;
34 virtual gfx::NativeCursor GetCursor(int x, int y) OVERRIDE; 34 virtual gfx::NativeCursor GetCursor(int x, int y) override;
35 35
36 private: 36 private:
37 // Our associated NativeViewHost. Owns this. 37 // Our associated NativeViewHost. Owns this.
38 NativeViewHost* host_; 38 NativeViewHost* host_;
39 39
40 DISALLOW_COPY_AND_ASSIGN(NativeViewHostMac); 40 DISALLOW_COPY_AND_ASSIGN(NativeViewHostMac);
41 }; 41 };
42 42
43 } // namespace views 43 } // namespace views
44 44
45 #endif // UI_VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_AURA_H_ 45 #endif // UI_VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_AURA_H_
OLDNEW
« no previous file with comments | « ui/views/controls/native/native_view_host_aura_unittest.cc ('k') | ui/views/controls/native/native_view_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698