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

Side by Side Diff: cc/output/context_provider.h

Issue 12912006: Part 4 of cc/ directory shuffles: output (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 CC_CONTEXT_PROVIDER_H_ 5 #ifndef CC_OUTPUT_CONTEXT_PROVIDER_H_
6 #define CC_CONTEXT_PROVIDER_H_ 6 #define CC_OUTPUT_CONTEXT_PROVIDER_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 9
10 class GrContext; 10 class GrContext;
11 namespace WebKit { class WebGraphicsContext3D; } 11 namespace WebKit { class WebGraphicsContext3D; }
12 12
13 namespace cc { 13 namespace cc {
14 14
15 class ContextProvider : public base::RefCountedThreadSafe<ContextProvider> { 15 class ContextProvider : public base::RefCountedThreadSafe<ContextProvider> {
16 public: 16 public:
(...skipping 15 matching lines...) Expand all
32 // the context inside the provider is no longer valid. 32 // the context inside the provider is no longer valid.
33 virtual bool DestroyedOnMainThread() = 0; 33 virtual bool DestroyedOnMainThread() = 0;
34 34
35 protected: 35 protected:
36 friend class base::RefCountedThreadSafe<ContextProvider>; 36 friend class base::RefCountedThreadSafe<ContextProvider>;
37 virtual ~ContextProvider() {} 37 virtual ~ContextProvider() {}
38 }; 38 };
39 39
40 } // namespace cc 40 } // namespace cc
41 41
42 #endif // CC_CONTEXT_PROVIDER_H_ 42 #endif // CC_OUTPUT_CONTEXT_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698