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

Side by Side Diff: ui/compositor/test/in_process_context_provider.h

Issue 1168943002: Remove ContextProvider::IsContextLost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: contextprovider: . Created 5 years, 6 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 | « mojo/cc/context_provider_mojo.cc ('k') | ui/compositor/test/in_process_context_provider.cc » ('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) 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 UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_PROVIDER_H_ 5 #ifndef UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_PROVIDER_H_
6 #define UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_PROVIDER_H_ 6 #define UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_PROVIDER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 // cc::ContextProvider: 53 // cc::ContextProvider:
54 bool BindToCurrentThread() override; 54 bool BindToCurrentThread() override;
55 Capabilities ContextCapabilities() override; 55 Capabilities ContextCapabilities() override;
56 gpu::gles2::GLES2Interface* ContextGL() override; 56 gpu::gles2::GLES2Interface* ContextGL() override;
57 gpu::ContextSupport* ContextSupport() override; 57 gpu::ContextSupport* ContextSupport() override;
58 class GrContext* GrContext() override; 58 class GrContext* GrContext() override;
59 void InvalidateGrContext(uint32_t state) override; 59 void InvalidateGrContext(uint32_t state) override;
60 void SetupLock() override; 60 void SetupLock() override;
61 base::Lock* GetLock() override; 61 base::Lock* GetLock() override;
62 bool IsContextLost() override;
63 void VerifyContexts() override; 62 void VerifyContexts() override;
64 void DeleteCachedResources() override; 63 void DeleteCachedResources() override;
65 bool DestroyedOnMainThread() override; 64 bool DestroyedOnMainThread() override;
66 void SetLostContextCallback( 65 void SetLostContextCallback(
67 const LostContextCallback& lost_context_callback) override; 66 const LostContextCallback& lost_context_callback) override;
68 void SetMemoryPolicyChangedCallback( 67 void SetMemoryPolicyChangedCallback(
69 const MemoryPolicyChangedCallback& memory_policy_changed_callback) 68 const MemoryPolicyChangedCallback& memory_policy_changed_callback)
70 override; 69 override;
71 70
72 void OnLostContext(); 71 void OnLostContext();
(...skipping 18 matching lines...) Expand all
91 bool destroyed_; 90 bool destroyed_;
92 91
93 base::Lock context_lock_; 92 base::Lock context_lock_;
94 93
95 DISALLOW_COPY_AND_ASSIGN(InProcessContextProvider); 94 DISALLOW_COPY_AND_ASSIGN(InProcessContextProvider);
96 }; 95 };
97 96
98 } // namespace ui 97 } // namespace ui
99 98
100 #endif // UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_PROVIDER_H_ 99 #endif // UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_PROVIDER_H_
OLDNEW
« no previous file with comments | « mojo/cc/context_provider_mojo.cc ('k') | ui/compositor/test/in_process_context_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698