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

Side by Side Diff: ui/ozone/platform/cast/ozone_platform_cast.cc

Issue 2613493002: Fix namespace for src/ui/display/. (Closed)
Patch Set: Rebase. Created 3 years, 11 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 | « ui/ozone/demo/surfaceless_gl_renderer.cc ('k') | ui/ozone/platform/drm/common/drm_util.cc » ('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 4
5 #include "ui/ozone/platform/cast/ozone_platform_cast.h" 5 #include "ui/ozone/platform/cast/ozone_platform_cast.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 } 68 }
69 std::unique_ptr<SystemInputInjector> CreateSystemInputInjector() override { 69 std::unique_ptr<SystemInputInjector> CreateSystemInputInjector() override {
70 return nullptr; // no input injection support 70 return nullptr; // no input injection support
71 } 71 }
72 std::unique_ptr<PlatformWindow> CreatePlatformWindow( 72 std::unique_ptr<PlatformWindow> CreatePlatformWindow(
73 PlatformWindowDelegate* delegate, 73 PlatformWindowDelegate* delegate,
74 const gfx::Rect& bounds) override { 74 const gfx::Rect& bounds) override {
75 return base::WrapUnique<PlatformWindow>( 75 return base::WrapUnique<PlatformWindow>(
76 new PlatformWindowCast(delegate, bounds)); 76 new PlatformWindowCast(delegate, bounds));
77 } 77 }
78 std::unique_ptr<NativeDisplayDelegate> CreateNativeDisplayDelegate() 78 std::unique_ptr<display::NativeDisplayDelegate> CreateNativeDisplayDelegate()
79 override { 79 override {
80 NOTREACHED(); 80 NOTREACHED();
81 return nullptr; 81 return nullptr;
82 } 82 }
83 83
84 void InitializeUI() override { 84 void InitializeUI() override {
85 overlay_manager_.reset(new OverlayManagerCast()); 85 overlay_manager_.reset(new OverlayManagerCast());
86 cursor_factory_.reset(new CursorFactoryOzone()); 86 cursor_factory_.reset(new CursorFactoryOzone());
87 input_controller_ = CreateStubInputController(); 87 input_controller_ = CreateStubInputController();
88 gpu_platform_support_host_.reset(CreateStubGpuPlatformSupportHost()); 88 gpu_platform_support_host_.reset(CreateStubGpuPlatformSupportHost());
(...skipping 29 matching lines...) Expand all
118 118
119 OzonePlatform* CreateOzonePlatformCast() { 119 OzonePlatform* CreateOzonePlatformCast() {
120 const std::vector<std::string>& argv = 120 const std::vector<std::string>& argv =
121 base::CommandLine::ForCurrentProcess()->argv(); 121 base::CommandLine::ForCurrentProcess()->argv();
122 std::unique_ptr<chromecast::CastEglPlatform> platform( 122 std::unique_ptr<chromecast::CastEglPlatform> platform(
123 chromecast::CastEglPlatformShlib::Create(argv)); 123 chromecast::CastEglPlatformShlib::Create(argv));
124 return new OzonePlatformCast(std::move(platform)); 124 return new OzonePlatformCast(std::move(platform));
125 } 125 }
126 126
127 } // namespace ui 127 } // namespace ui
OLDNEW
« no previous file with comments | « ui/ozone/demo/surfaceless_gl_renderer.cc ('k') | ui/ozone/platform/drm/common/drm_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698