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

Side by Side Diff: ui/events/gesture_detection/gesture_configuration_aura.cc

Issue 684643003: Don't dllexport anonymous class GestureConfigurationAura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Created 6 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/events/gesture_detection/gesture_configuration.h" 5 #include "ui/events/gesture_detection/gesture_configuration.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "ui/events/event_switches.h" 8 #include "ui/events/event_switches.h"
9 9
10 namespace ui { 10 namespace ui {
11 namespace { 11 namespace {
12 12
13 class GESTURE_DETECTION_EXPORT GestureConfigurationAura 13 class GestureConfigurationAura : public GestureConfiguration {
14 : public GestureConfiguration {
15 public: 14 public:
16 ~GestureConfigurationAura() override { 15 ~GestureConfigurationAura() override {
17 } 16 }
18 17
19 static GestureConfigurationAura* GetInstance() { 18 static GestureConfigurationAura* GetInstance() {
20 return Singleton<GestureConfigurationAura>::get(); 19 return Singleton<GestureConfigurationAura>::get();
21 } 20 }
22 21
23 private: 22 private:
24 GestureConfigurationAura() : GestureConfiguration() { 23 GestureConfigurationAura() : GestureConfiguration() {
(...skipping 15 matching lines...) Expand all
40 }; 39 };
41 40
42 } // namespace 41 } // namespace
43 42
44 // Create a GestureConfigurationAura singleton instance when using aura. 43 // Create a GestureConfigurationAura singleton instance when using aura.
45 GestureConfiguration* GestureConfiguration::GetInstance() { 44 GestureConfiguration* GestureConfiguration::GetInstance() {
46 return GestureConfigurationAura::GetInstance(); 45 return GestureConfigurationAura::GetInstance();
47 } 46 }
48 47
49 } // namespace ui 48 } // namespace ui
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698