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

Side by Side Diff: mandoline/ui/aura/surface_context_factory.cc

Issue 1139123006: Fork the mojo shell interfaces used by Mandoline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 years, 7 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 #include "mandoline/ui/aura/surface_context_factory.h" 5 #include "mandoline/ui/aura/surface_context_factory.h"
6 6
7 #include "cc/output/output_surface.h" 7 #include "cc/output/output_surface.h"
8 #include "cc/resources/shared_bitmap_manager.h" 8 #include "cc/resources/shared_bitmap_manager.h"
9 #include "cc/surfaces/surface_id_allocator.h" 9 #include "cc/surfaces/surface_id_allocator.h"
10 #include "components/view_manager/public/cpp/view.h" 10 #include "components/view_manager/public/cpp/view.h"
11 #include "mojo/public/interfaces/application/shell.mojom.h" 11 #include "mojo/application/public/interfaces/shell.mojom.h"
12 #include "ui/compositor/reflector.h" 12 #include "ui/compositor/reflector.h"
13 #include "ui/gl/gl_bindings.h" 13 #include "ui/gl/gl_bindings.h"
14 14
15 namespace mandoline { 15 namespace mandoline {
16 namespace { 16 namespace {
17 17
18 class FakeReflector : public ui::Reflector { 18 class FakeReflector : public ui::Reflector {
19 public: 19 public:
20 FakeReflector() {} 20 FakeReflector() {}
21 ~FakeReflector() override {} 21 ~FakeReflector() override {}
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 return make_scoped_ptr( 92 return make_scoped_ptr(
93 new cc::SurfaceIdAllocator(next_surface_id_namespace_++)); 93 new cc::SurfaceIdAllocator(next_surface_id_namespace_++));
94 } 94 }
95 95
96 void SurfaceContextFactory::ResizeDisplay(ui::Compositor* compositor, 96 void SurfaceContextFactory::ResizeDisplay(ui::Compositor* compositor,
97 const gfx::Size& size) { 97 const gfx::Size& size) {
98 NOTIMPLEMENTED(); 98 NOTIMPLEMENTED();
99 } 99 }
100 100
101 } // namespace mandoline 101 } // namespace mandoline
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698