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

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

Issue 9221014: aura: Gesture event plumbing (skeleton). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright Created 8 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 | Annotate | Revision Log
« no previous file with comments | « ui/aura/test/test_event_filter.cc ('k') | ui/aura/test/test_window_delegate.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 (c) 2011 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 #ifndef UI_AURA_TEST_TEST_WINDOW_DELEGATE_H_ 5 #ifndef UI_AURA_TEST_TEST_WINDOW_DELEGATE_H_
6 #define UI_AURA_TEST_TEST_WINDOW_DELEGATE_H_ 6 #define UI_AURA_TEST_TEST_WINDOW_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "third_party/skia/include/core/SkColor.h" 10 #include "third_party/skia/include/core/SkColor.h"
11 #include "ui/aura/window_delegate.h" 11 #include "ui/aura/window_delegate.h"
(...skipping 11 matching lines...) Expand all
23 virtual gfx::Size GetMinimumSize() const OVERRIDE; 23 virtual gfx::Size GetMinimumSize() const OVERRIDE;
24 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, 24 virtual void OnBoundsChanged(const gfx::Rect& old_bounds,
25 const gfx::Rect& new_bounds) OVERRIDE; 25 const gfx::Rect& new_bounds) OVERRIDE;
26 virtual void OnFocus() OVERRIDE; 26 virtual void OnFocus() OVERRIDE;
27 virtual void OnBlur() OVERRIDE; 27 virtual void OnBlur() OVERRIDE;
28 virtual bool OnKeyEvent(KeyEvent* event) OVERRIDE; 28 virtual bool OnKeyEvent(KeyEvent* event) OVERRIDE;
29 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; 29 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE;
30 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; 30 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE;
31 virtual bool OnMouseEvent(MouseEvent* event) OVERRIDE; 31 virtual bool OnMouseEvent(MouseEvent* event) OVERRIDE;
32 virtual ui::TouchStatus OnTouchEvent(TouchEvent* event) OVERRIDE; 32 virtual ui::TouchStatus OnTouchEvent(TouchEvent* event) OVERRIDE;
33 virtual ui::GestureStatus OnGestureEvent(GestureEvent* event) OVERRIDE;
33 virtual bool CanFocus() OVERRIDE; 34 virtual bool CanFocus() OVERRIDE;
34 virtual void OnCaptureLost() OVERRIDE; 35 virtual void OnCaptureLost() OVERRIDE;
35 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 36 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
36 virtual void OnWindowDestroying() OVERRIDE; 37 virtual void OnWindowDestroying() OVERRIDE;
37 virtual void OnWindowDestroyed() OVERRIDE; 38 virtual void OnWindowDestroyed() OVERRIDE;
38 virtual void OnWindowVisibilityChanged(bool visible) OVERRIDE; 39 virtual void OnWindowVisibilityChanged(bool visible) OVERRIDE;
39 40
40 private: 41 private:
41 DISALLOW_COPY_AND_ASSIGN(TestWindowDelegate); 42 DISALLOW_COPY_AND_ASSIGN(TestWindowDelegate);
42 }; 43 };
(...skipping 16 matching lines...) Expand all
59 SkColor color_; 60 SkColor color_;
60 ui::KeyboardCode last_key_code_; 61 ui::KeyboardCode last_key_code_;
61 62
62 DISALLOW_COPY_AND_ASSIGN(ColorTestWindowDelegate); 63 DISALLOW_COPY_AND_ASSIGN(ColorTestWindowDelegate);
63 }; 64 };
64 65
65 } // namespace test 66 } // namespace test
66 } // namespace aura 67 } // namespace aura
67 68
68 #endif // UI_AURA_TEST_TEST_WINDOW_DELEGATE_H_ 69 #endif // UI_AURA_TEST_TEST_WINDOW_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/aura/test/test_event_filter.cc ('k') | ui/aura/test/test_window_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698