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

Side by Side Diff: extensions/browser/api/guest_view/guest_view_internal_api.h

Issue 622343002: replace OVERRIDE and FINAL with override and final in extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « extensions/browser/api/execute_code_function.h ('k') | extensions/browser/api/hid/hid_api.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 EXTENSIONS_BROWSER_API_GUEST_VIEW_GUEST_VIEW_INTERNAL_API_H_ 5 #ifndef EXTENSIONS_BROWSER_API_GUEST_VIEW_GUEST_VIEW_INTERNAL_API_H_
6 #define EXTENSIONS_BROWSER_API_GUEST_VIEW_GUEST_VIEW_INTERNAL_API_H_ 6 #define EXTENSIONS_BROWSER_API_GUEST_VIEW_GUEST_VIEW_INTERNAL_API_H_
7 7
8 #include "extensions/browser/extension_function.h" 8 #include "extensions/browser/extension_function.h"
9 9
10 namespace extensions { 10 namespace extensions {
11 11
12 class GuestViewInternalCreateGuestFunction : public AsyncExtensionFunction { 12 class GuestViewInternalCreateGuestFunction : public AsyncExtensionFunction {
13 public: 13 public:
14 DECLARE_EXTENSION_FUNCTION("guestViewInternal.createGuest", 14 DECLARE_EXTENSION_FUNCTION("guestViewInternal.createGuest",
15 GUESTVIEWINTERNAL_CREATEGUEST); 15 GUESTVIEWINTERNAL_CREATEGUEST);
16 GuestViewInternalCreateGuestFunction(); 16 GuestViewInternalCreateGuestFunction();
17 17
18 protected: 18 protected:
19 virtual ~GuestViewInternalCreateGuestFunction() {} 19 virtual ~GuestViewInternalCreateGuestFunction() {}
20 virtual bool RunAsync() OVERRIDE FINAL; 20 virtual bool RunAsync() override final;
21 21
22 private: 22 private:
23 void CreateGuestCallback(content::WebContents* guest_web_contents); 23 void CreateGuestCallback(content::WebContents* guest_web_contents);
24 DISALLOW_COPY_AND_ASSIGN(GuestViewInternalCreateGuestFunction); 24 DISALLOW_COPY_AND_ASSIGN(GuestViewInternalCreateGuestFunction);
25 }; 25 };
26 26
27 class GuestViewInternalDestroyGuestFunction : public AsyncExtensionFunction { 27 class GuestViewInternalDestroyGuestFunction : public AsyncExtensionFunction {
28 public: 28 public:
29 DECLARE_EXTENSION_FUNCTION("guestViewInternal.destroyGuest", 29 DECLARE_EXTENSION_FUNCTION("guestViewInternal.destroyGuest",
30 GUESTVIEWINTERNAL_DESTROYGUEST); 30 GUESTVIEWINTERNAL_DESTROYGUEST);
31 GuestViewInternalDestroyGuestFunction(); 31 GuestViewInternalDestroyGuestFunction();
32 32
33 protected: 33 protected:
34 virtual ~GuestViewInternalDestroyGuestFunction(); 34 virtual ~GuestViewInternalDestroyGuestFunction();
35 virtual bool RunAsync() OVERRIDE FINAL; 35 virtual bool RunAsync() override final;
36 36
37 private: 37 private:
38 void DestroyGuestCallback(content::WebContents* guest_web_contents); 38 void DestroyGuestCallback(content::WebContents* guest_web_contents);
39 DISALLOW_COPY_AND_ASSIGN(GuestViewInternalDestroyGuestFunction); 39 DISALLOW_COPY_AND_ASSIGN(GuestViewInternalDestroyGuestFunction);
40 }; 40 };
41 41
42 class GuestViewInternalSetAutoSizeFunction : public AsyncExtensionFunction { 42 class GuestViewInternalSetAutoSizeFunction : public AsyncExtensionFunction {
43 public: 43 public:
44 DECLARE_EXTENSION_FUNCTION("guestViewInternal.setAutoSize", 44 DECLARE_EXTENSION_FUNCTION("guestViewInternal.setAutoSize",
45 GUESTVIEWINTERNAL_SETAUTOSIZE); 45 GUESTVIEWINTERNAL_SETAUTOSIZE);
46 46
47 GuestViewInternalSetAutoSizeFunction(); 47 GuestViewInternalSetAutoSizeFunction();
48 48
49 protected: 49 protected:
50 virtual ~GuestViewInternalSetAutoSizeFunction(); 50 virtual ~GuestViewInternalSetAutoSizeFunction();
51 virtual bool RunAsync() OVERRIDE FINAL; 51 virtual bool RunAsync() override final;
52 52
53 private: 53 private:
54 DISALLOW_COPY_AND_ASSIGN(GuestViewInternalSetAutoSizeFunction); 54 DISALLOW_COPY_AND_ASSIGN(GuestViewInternalSetAutoSizeFunction);
55 }; 55 };
56 56
57 } // namespace extensions 57 } // namespace extensions
58 58
59 #endif // EXTENSIONS_BROWSER_API_GUEST_VIEW_GUEST_VIEW_INTERNAL_API_H_ 59 #endif // EXTENSIONS_BROWSER_API_GUEST_VIEW_GUEST_VIEW_INTERNAL_API_H_
OLDNEW
« no previous file with comments | « extensions/browser/api/execute_code_function.h ('k') | extensions/browser/api/hid/hid_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698