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

Side by Side Diff: content/plugin/webplugin_accelerated_surface_proxy_mac.h

Issue 630803002: Replace OVERRIDE and FINAL with override and final in content/plugin/[a-s]* (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 | « content/plugin/plugin_thread.cc ('k') | content/plugin/webplugin_delegate_stub.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_PLUGIN_WEBPLUGIN_ACCELERATED_SURFACE_PROXY_H_ 5 #ifndef CONTENT_PLUGIN_WEBPLUGIN_ACCELERATED_SURFACE_PROXY_H_
6 #define CONTENT_PLUGIN_WEBPLUGIN_ACCELERATED_SURFACE_PROXY_H_ 6 #define CONTENT_PLUGIN_WEBPLUGIN_ACCELERATED_SURFACE_PROXY_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "content/child/npapi/webplugin_accelerated_surface_mac.h" 9 #include "content/child/npapi/webplugin_accelerated_surface_mac.h"
10 #include "ui/gl/gpu_preference.h" 10 #include "ui/gl/gpu_preference.h"
(...skipping 10 matching lines...) Expand all
21 // Creates a new WebPluginAcceleratedSurfaceProxy that uses plugin_proxy 21 // Creates a new WebPluginAcceleratedSurfaceProxy that uses plugin_proxy
22 // to proxy calls. plugin_proxy must outlive this object. Returns NULL if 22 // to proxy calls. plugin_proxy must outlive this object. Returns NULL if
23 // initialization fails. 23 // initialization fails.
24 static WebPluginAcceleratedSurfaceProxy* Create( 24 static WebPluginAcceleratedSurfaceProxy* Create(
25 WebPluginProxy* plugin_proxy, 25 WebPluginProxy* plugin_proxy,
26 gfx::GpuPreference gpu_preference); 26 gfx::GpuPreference gpu_preference);
27 27
28 virtual ~WebPluginAcceleratedSurfaceProxy(); 28 virtual ~WebPluginAcceleratedSurfaceProxy();
29 29
30 // WebPluginAcceleratedSurface implementation. 30 // WebPluginAcceleratedSurface implementation.
31 virtual void SetSize(const gfx::Size& size) OVERRIDE; 31 virtual void SetSize(const gfx::Size& size) override;
32 virtual CGLContextObj context() OVERRIDE; 32 virtual CGLContextObj context() override;
33 virtual void StartDrawing() OVERRIDE; 33 virtual void StartDrawing() override;
34 virtual void EndDrawing() OVERRIDE; 34 virtual void EndDrawing() override;
35 35
36 private: 36 private:
37 WebPluginAcceleratedSurfaceProxy(WebPluginProxy* plugin_proxy, 37 WebPluginAcceleratedSurfaceProxy(WebPluginProxy* plugin_proxy,
38 AcceleratedSurface* surface); 38 AcceleratedSurface* surface);
39 39
40 WebPluginProxy* plugin_proxy_; // Weak ref. 40 WebPluginProxy* plugin_proxy_; // Weak ref.
41 AcceleratedSurface* surface_; 41 AcceleratedSurface* surface_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(WebPluginAcceleratedSurfaceProxy); 43 DISALLOW_COPY_AND_ASSIGN(WebPluginAcceleratedSurfaceProxy);
44 }; 44 };
45 45
46 } // namespace content 46 } // namespace content
47 47
48 #endif // CONTENT_PLUGIN_WEBPLUGIN_ACCELERATED_SURFACE_PROXY_H_ 48 #endif // CONTENT_PLUGIN_WEBPLUGIN_ACCELERATED_SURFACE_PROXY_H_
OLDNEW
« no previous file with comments | « content/plugin/plugin_thread.cc ('k') | content/plugin/webplugin_delegate_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698