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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_cursor_loader_updater_chromeos.cc

Issue 2471033005: Adds DesktopWindowTreeHostMus (Closed)
Patch Set: fix Created 4 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
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ui/views/widget/desktop_aura/desktop_cursor_loader_updater.h"
6
7 #include "base/macros.h"
8 #include "base/memory/ptr_util.h"
9
10 namespace views {
11 namespace {
12
13 // Mus handles cursor, so this class need not do anything.
14 class DesktopCursorLoaderUpdaterChromeos : public DesktopCursorLoaderUpdater {
15 public:
16 DesktopCursorLoaderUpdaterChromeos() {}
17 ~DesktopCursorLoaderUpdaterChromeos() override {}
18
19 // DesktopCursorLoaderUpdater:
20 void OnCreate(float device_scale_factor, ui::CursorLoader* loader) override {}
21 void OnDisplayUpdated(const display::Display& display,
22 ui::CursorLoader* loader) override {}
23
24 private:
25 DISALLOW_COPY_AND_ASSIGN(DesktopCursorLoaderUpdaterChromeos);
26 };
27
28 } // namespace
29
30 // static
31 std::unique_ptr<DesktopCursorLoaderUpdater>
32 DesktopCursorLoaderUpdater::Create() {
33 std::unique_ptr<DesktopCursorLoaderUpdaterChromeos> loader =
34 base::MakeUnique<DesktopCursorLoaderUpdaterChromeos>();
35 return std::move(loader);
36 }
37
38 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698