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

Side by Side Diff: services/ui/gles2/command_buffer_local_client.h

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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
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 COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_CLIENT_H_ 5 #ifndef SERVICES_UI_GLES2_COMMAND_BUFFER_LOCAL_CLIENT_H_
6 #define COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_CLIENT_H_ 6 #define SERVICES_UI_GLES2_COMMAND_BUFFER_LOCAL_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "ui/gfx/swap_result.h" 10 #include "ui/gfx/swap_result.h"
11 11
12 namespace base { 12 namespace base {
13 class TimeDelta; 13 class TimeDelta;
14 class TimeTicks; 14 class TimeTicks;
15 } 15 }
16 16
17 namespace mus { 17 namespace mus {
18 18
19 class CommandBufferLocalClient { 19 class CommandBufferLocalClient {
20 public: 20 public:
21 virtual void UpdateVSyncParameters(const base::TimeTicks& timebase, 21 virtual void UpdateVSyncParameters(const base::TimeTicks& timebase,
22 const base::TimeDelta& interval) = 0; 22 const base::TimeDelta& interval) = 0;
23 virtual void GpuCompletedSwapBuffers(gfx::SwapResult result) = 0; 23 virtual void GpuCompletedSwapBuffers(gfx::SwapResult result) = 0;
24 24
25 protected: 25 protected:
26 virtual ~CommandBufferLocalClient() {} 26 virtual ~CommandBufferLocalClient() {}
27 }; 27 };
28 28
29 } // namespace mus 29 } // namespace mus
30 30
31 #endif // COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_CLIENT_H_ 31 #endif // SERVICES_UI_GLES2_COMMAND_BUFFER_LOCAL_CLIENT_H_
OLDNEW
« no previous file with comments | « services/ui/gles2/command_buffer_local.cc ('k') | services/ui/gles2/command_buffer_task_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698