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

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

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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/host_shared_bitmap_manager_unittest.cc ('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>
9
8 #include <queue> 10 #include <queue>
9 #include <string> 11 #include <string>
10 12
11 #include "base/basictypes.h"
12 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
15 #include "base/time/time.h" 17 #include "base/time/time.h"
16 #include "build/build_config.h" 18 #include "build/build_config.h"
17 #include "content/child/child_thread_impl.h" 19 #include "content/child/child_thread_impl.h"
18 #include "content/common/gpu/gpu_channel.h" 20 #include "content/common/gpu/gpu_channel.h"
19 #include "content/common/gpu/gpu_channel_manager.h" 21 #include "content/common/gpu/gpu_channel_manager.h"
20 #include "content/common/gpu/gpu_config.h" 22 #include "content/common/gpu/gpu_config.h"
21 #include "content/common/gpu/x_util.h" 23 #include "content/common/gpu/x_util.h"
22 #include "content/common/process_control.mojom.h" 24 #include "content/common/process_control.mojom.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 bool Send(IPC::Message* msg) override; 70 bool Send(IPC::Message* msg) override;
69 bool OnControlMessageReceived(const IPC::Message& msg) override; 71 bool OnControlMessageReceived(const IPC::Message& msg) override;
70 bool OnMessageReceived(const IPC::Message& msg) override; 72 bool OnMessageReceived(const IPC::Message& msg) override;
71 73
72 private: 74 private:
73 // Message handlers. 75 // Message handlers.
74 void OnInitialize(); 76 void OnInitialize();
75 void OnFinalize(); 77 void OnFinalize();
76 void OnCollectGraphicsInfo(); 78 void OnCollectGraphicsInfo();
77 void OnGetVideoMemoryUsageStats(); 79 void OnGetVideoMemoryUsageStats();
78 void OnSetVideoMemoryWindowCount(uint32 window_count); 80 void OnSetVideoMemoryWindowCount(uint32_t window_count);
79 81
80 void OnClean(); 82 void OnClean();
81 void OnCrash(); 83 void OnCrash();
82 void OnHang(); 84 void OnHang();
83 void OnDisableWatchdog(); 85 void OnDisableWatchdog();
84 void OnGpuSwitched(); 86 void OnGpuSwitched();
85 87
86 void BindProcessControlRequest( 88 void BindProcessControlRequest(
87 mojo::InterfaceRequest<ProcessControl> request); 89 mojo::InterfaceRequest<ProcessControl> request);
88 90
(...skipping 30 matching lines...) Expand all
119 121
120 // Bindings to the ProcessControl impl. 122 // Bindings to the ProcessControl impl.
121 mojo::WeakBindingSet<ProcessControl> process_control_bindings_; 123 mojo::WeakBindingSet<ProcessControl> process_control_bindings_;
122 124
123 DISALLOW_COPY_AND_ASSIGN(GpuChildThread); 125 DISALLOW_COPY_AND_ASSIGN(GpuChildThread);
124 }; 126 };
125 127
126 } // namespace content 128 } // namespace content
127 129
128 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_ 130 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_
OLDNEW
« no previous file with comments | « content/common/host_shared_bitmap_manager_unittest.cc ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698