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

Side by Side Diff: chrome/test/base/view_event_test_platform_part_mac.cc

Issue 2645253002: DesktopAura: Track windows "owned" via the DesktopWindowTreeHost (Closed)
Patch Set: simpler Created 3 years, 10 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
(Empty)
1 // Copyright 2017 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 "chrome/test/base/view_event_test_platform_part.h"
6
7 namespace {
8
9 // ViewEventTestPlatformPart implementation for Views, but non-Aura.
10 class ViewEventTestPlatformPartDefault : public ViewEventTestPlatformPart {
11 public:
12 ViewEventTestPlatformPartDefault() {}
13 ~ViewEventTestPlatformPartDefault() override {}
14
15 // ViewEventTestPlatformPart:
16 gfx::NativeWindow GetContext() override { return nullptr; }
17
18 private:
19 DISALLOW_COPY_AND_ASSIGN(ViewEventTestPlatformPartDefault);
20 };
21
22 } // namespace
23
24 // static
25 ViewEventTestPlatformPart* ViewEventTestPlatformPart::Create(
26 ui::ContextFactory* context_factory,
27 ui::ContextFactoryPrivate* context_factory_private) {
28 return new ViewEventTestPlatformPartDefault();
29 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698