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

Side by Side Diff: content/browser/renderer_host/image_transport_factory.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
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_BROWSER_RENDERER_HOST_IMAGE_TRANSPORT_FACTORY_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_IMAGE_TRANSPORT_FACTORY_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_IMAGE_TRANSPORT_FACTORY_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_IMAGE_TRANSPORT_FACTORY_H_
7 #pragma once
8 7
9 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
10 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
11 10
12 namespace content { 11 namespace content {
13 class GLHelper; 12 class GLHelper;
14 } 13 }
15 14
16 namespace gfx { 15 namespace gfx {
17 class Size; 16 class Size;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 // is shared with the compositor context, e.g. to create a texture in its 91 // is shared with the compositor context, e.g. to create a texture in its
93 // namespace. The caller gets ownership of the object. 92 // namespace. The caller gets ownership of the object.
94 // This will return NULL when using out-of-process (command buffer) contexts. 93 // This will return NULL when using out-of-process (command buffer) contexts.
95 virtual gfx::ScopedMakeCurrent* GetScopedMakeCurrent() = 0; 94 virtual gfx::ScopedMakeCurrent* GetScopedMakeCurrent() = 0;
96 95
97 virtual void AddObserver(ImageTransportFactoryObserver* observer) = 0; 96 virtual void AddObserver(ImageTransportFactoryObserver* observer) = 0;
98 virtual void RemoveObserver(ImageTransportFactoryObserver* observer) = 0; 97 virtual void RemoveObserver(ImageTransportFactoryObserver* observer) = 0;
99 }; 98 };
100 99
101 #endif // CONTENT_BROWSER_RENDERER_HOST_IMAGE_TRANSPORT_FACTORY_H_ 100 #endif // CONTENT_BROWSER_RENDERER_HOST_IMAGE_TRANSPORT_FACTORY_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/image_transport_client.h ('k') | content/browser/renderer_host/java/java_bridge_channel_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698