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

Side by Side Diff: components/mus/surfaces/surfaces_context_provider.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "components/mus/surfaces/surfaces_context_provider.h" 5 #include "components/mus/surfaces/surfaces_context_provider.h"
6 6
7 #include <stddef.h>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
9 #include "base/synchronization/waitable_event.h" 11 #include "base/synchronization/waitable_event.h"
10 #include "components/mus/gles2/command_buffer_driver.h" 12 #include "components/mus/gles2/command_buffer_driver.h"
11 #include "components/mus/gles2/command_buffer_impl.h" 13 #include "components/mus/gles2/command_buffer_impl.h"
12 #include "components/mus/gles2/command_buffer_local.h" 14 #include "components/mus/gles2/command_buffer_local.h"
13 #include "components/mus/gles2/gpu_state.h" 15 #include "components/mus/gles2/gpu_state.h"
14 #include "components/mus/surfaces/surfaces_context_provider_delegate.h" 16 #include "components/mus/surfaces/surfaces_context_provider_delegate.h"
15 #include "gpu/command_buffer/client/gles2_cmd_helper.h" 17 #include "gpu/command_buffer/client/gles2_cmd_helper.h"
16 #include "gpu/command_buffer/client/gles2_implementation.h" 18 #include "gpu/command_buffer/client/gles2_implementation.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 int64_t interval) { 107 int64_t interval) {
106 if (delegate_) 108 if (delegate_)
107 delegate_->OnVSyncParametersUpdated(timebase, interval); 109 delegate_->OnVSyncParametersUpdated(timebase, interval);
108 } 110 }
109 111
110 void SurfacesContextProvider::DidLoseContext() { 112 void SurfacesContextProvider::DidLoseContext() {
111 lost_context_callback_.Run(); 113 lost_context_callback_.Run();
112 } 114 }
113 115
114 } // namespace mus 116 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/surfaces/surfaces_context_provider.h ('k') | components/mus/surfaces/surfaces_context_provider_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698