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

Side by Side Diff: ui/ozone/platform/cast/gpu_platform_support_cast.h

Issue 1322253003: ipc: Convert int types from basictypes.h to the ones from stdint.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 3 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 | « ipc/mojo/ipc_mojo_bootstrap.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_OZONE_PLATFORM_CAST_GPU_PLATFORM_SUPPORT_CAST_H_ 5 #ifndef UI_OZONE_PLATFORM_CAST_GPU_PLATFORM_SUPPORT_CAST_H_
6 #define UI_OZONE_PLATFORM_CAST_GPU_PLATFORM_SUPPORT_CAST_H_ 6 #define UI_OZONE_PLATFORM_CAST_GPU_PLATFORM_SUPPORT_CAST_H_
7 7
8 #include "base/macros.h"
8 #include "ui/ozone/public/gpu_platform_support.h" 9 #include "ui/ozone/public/gpu_platform_support.h"
9 10
10 namespace ui { 11 namespace ui {
11 12
12 class SurfaceFactoryCast; 13 class SurfaceFactoryCast;
13 14
14 // GpuPlatformSupport implementation for use with OzonePlatformCast. 15 // GpuPlatformSupport implementation for use with OzonePlatformCast.
15 class GpuPlatformSupportCast : public GpuPlatformSupport { 16 class GpuPlatformSupportCast : public GpuPlatformSupport {
16 public: 17 public:
17 explicit GpuPlatformSupportCast(SurfaceFactoryCast* parent) 18 explicit GpuPlatformSupportCast(SurfaceFactoryCast* parent)
18 : parent_(parent) {} 19 : parent_(parent) {}
19 20
20 // GpuPlatformSupport implementation: 21 // GpuPlatformSupport implementation:
21 void OnChannelEstablished(IPC::Sender* sender) override {} 22 void OnChannelEstablished(IPC::Sender* sender) override {}
22 bool OnMessageReceived(const IPC::Message& msg) override; 23 bool OnMessageReceived(const IPC::Message& msg) override;
23 IPC::MessageFilter* GetMessageFilter() override; 24 IPC::MessageFilter* GetMessageFilter() override;
24 25
25 private: 26 private:
26 SurfaceFactoryCast* parent_; 27 SurfaceFactoryCast* parent_;
27 28
28 DISALLOW_COPY_AND_ASSIGN(GpuPlatformSupportCast); 29 DISALLOW_COPY_AND_ASSIGN(GpuPlatformSupportCast);
29 }; 30 };
30 31
31 } // namespace ui 32 } // namespace ui
32 33
33 #endif // UI_OZONE_PLATFORM_CAST_GPU_PLATFORM_SUPPORT_CAST_H_ 34 #endif // UI_OZONE_PLATFORM_CAST_GPU_PLATFORM_SUPPORT_CAST_H_
OLDNEW
« no previous file with comments | « ipc/mojo/ipc_mojo_bootstrap.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698