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

Side by Side Diff: content/gpu/gpu_child_thread.h

Issue 2664373002: android: Add debug url to throw uncaught exception (Closed)
Patch Set: fix missing os_android Created 3 years, 10 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/common/gpu_host_messages.h ('k') | content/gpu/gpu_child_thread.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) 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_GPU_GPU_CHILD_THREAD_H_ 5 #ifndef CONTENT_GPU_GPU_CHILD_THREAD_H_
6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_ 6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 109
110 // Message handlers. 110 // Message handlers.
111 void OnFinalize(); 111 void OnFinalize();
112 void OnCollectGraphicsInfo(); 112 void OnCollectGraphicsInfo();
113 void OnGetVideoMemoryUsageStats(); 113 void OnGetVideoMemoryUsageStats();
114 void OnSetVideoMemoryWindowCount(uint32_t window_count); 114 void OnSetVideoMemoryWindowCount(uint32_t window_count);
115 115
116 void OnClean(); 116 void OnClean();
117 void OnCrash(); 117 void OnCrash();
118 void OnHang(); 118 void OnHang();
119 #if defined(OS_ANDROID)
120 void OnJavaCrash();
121 #endif
119 void OnGpuSwitched(); 122 void OnGpuSwitched();
120 123
121 void OnEstablishChannel(const EstablishChannelParams& params); 124 void OnEstablishChannel(const EstablishChannelParams& params);
122 void OnCloseChannel(int32_t client_id); 125 void OnCloseChannel(int32_t client_id);
123 void OnLoadedShader(const std::string& shader); 126 void OnLoadedShader(const std::string& shader);
124 void OnDestroyGpuMemoryBuffer(gfx::GpuMemoryBufferId id, 127 void OnDestroyGpuMemoryBuffer(gfx::GpuMemoryBufferId id,
125 int client_id, 128 int client_id,
126 const gpu::SyncToken& sync_token); 129 const gpu::SyncToken& sync_token);
127 #if defined(OS_ANDROID) 130 #if defined(OS_ANDROID)
128 void OnWakeUpGpu(); 131 void OnWakeUpGpu();
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 AssociatedInterfaceRegistryImpl associated_interfaces_; 168 AssociatedInterfaceRegistryImpl associated_interfaces_;
166 std::unique_ptr<ui::GpuService> gpu_service_; 169 std::unique_ptr<ui::GpuService> gpu_service_;
167 mojo::AssociatedBinding<ui::mojom::GpuMain> gpu_main_binding_; 170 mojo::AssociatedBinding<ui::mojom::GpuMain> gpu_main_binding_;
168 171
169 DISALLOW_COPY_AND_ASSIGN(GpuChildThread); 172 DISALLOW_COPY_AND_ASSIGN(GpuChildThread);
170 }; 173 };
171 174
172 } // namespace content 175 } // namespace content
173 176
174 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_ 177 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_
OLDNEW
« no previous file with comments | « content/common/gpu_host_messages.h ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698