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

Side by Side Diff: components/mus/gles2/gpu_state.cc

Issue 1465143004: Converts focusmanager from delegate to observer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 5 years, 1 month 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 | « no previous file | components/mus/ws/BUILD.gn » ('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 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 //
5 4
6 #include "components/mus/gles2/gpu_state.h" 5 #include "components/mus/gles2/gpu_state.h"
7 6
8 #include "base/command_line.h" 7 #include "base/command_line.h"
9 #include "gpu/config/gpu_info_collector.h" 8 #include "gpu/config/gpu_info_collector.h"
10 #include "ui/gl/gl_implementation.h" 9 #include "ui/gl/gl_implementation.h"
11 10
12 namespace mus { 11 namespace mus {
13 12
14 GpuState::GpuState(bool hardware_rendering_available) 13 GpuState::GpuState(bool hardware_rendering_available)
(...skipping 20 matching lines...) Expand all
35 control_thread_.Start(); 34 control_thread_.Start();
36 } 35 }
37 36
38 GpuState::~GpuState() {} 37 GpuState::~GpuState() {}
39 38
40 void GpuState::StopControlThread() { 39 void GpuState::StopControlThread() {
41 control_thread_.Stop(); 40 control_thread_.Stop();
42 } 41 }
43 42
44 } // namespace mus 43 } // namespace mus
OLDNEW
« no previous file with comments | « no previous file | components/mus/ws/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698