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

Side by Side Diff: ui/aura/test/event_generator_delegate_aura.h

Issue 406413004: Cleanups for aura/test/event_generator.h (resolve TODOs) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix for added files Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // TODO(tapted): Rename this file event_generator_delegate_aura.h. 5 #ifndef UI_AURA_TEST_EVENT_GENERATOR_DELEGATE_AURA_H_
6 6 #define UI_AURA_TEST_EVENT_GENERATOR_DELEGATE_AURA_H_
7 #ifndef UI_AURA_TEST_EVENT_GENERATOR_H_
8 #define UI_AURA_TEST_EVENT_GENERATOR_H_
9 7
10 #include "ui/events/test/event_generator.h" 8 #include "ui/events/test/event_generator.h"
11 9
12 namespace aura { 10 namespace aura {
13 class Window; 11 class Window;
14 class WindowTreeHost; 12 class WindowTreeHost;
15 13
16 namespace client { 14 namespace client {
17 class ScreenPositionClient; 15 class ScreenPositionClient;
18 } 16 }
(...skipping 25 matching lines...) Expand all
44 gfx::Point* point) const OVERRIDE; 42 gfx::Point* point) const OVERRIDE;
45 virtual void ConvertPointToTarget(const ui::EventTarget* target, 43 virtual void ConvertPointToTarget(const ui::EventTarget* target,
46 gfx::Point* point) const OVERRIDE; 44 gfx::Point* point) const OVERRIDE;
47 virtual void ConvertPointFromHost(const ui::EventTarget* hosted_target, 45 virtual void ConvertPointFromHost(const ui::EventTarget* hosted_target,
48 gfx::Point* point) const OVERRIDE; 46 gfx::Point* point) const OVERRIDE;
49 47
50 private: 48 private:
51 DISALLOW_COPY_AND_ASSIGN(EventGeneratorDelegateAura); 49 DISALLOW_COPY_AND_ASSIGN(EventGeneratorDelegateAura);
52 }; 50 };
53 51
54 // Expose the EventGenerator from ui::test in the aura::test namespace.
55 // TODO(tapted): Remove this.
56 using ui::test::EventGenerator;
57
58 } // namespace test 52 } // namespace test
59 } // namespace aura 53 } // namespace aura
60 54
61 #endif // UI_AURA_TEST_EVENT_GENERATOR_H_ 55 #endif // UI_AURA_TEST_EVENT_GENERATOR_DELEGATE_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698