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

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

Issue 10796106: aura: Rename OnWindowVisisbilityChanged() to OnWindowTargetVisibilityChanged(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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
« no previous file with comments | « ui/aura/demo/demo_main.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) 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 #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 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 28 matching lines...) Expand all
39 const gfx::Point& location) OVERRIDE; 39 const gfx::Point& location) OVERRIDE;
40 virtual bool OnMouseEvent(MouseEvent* event) OVERRIDE; 40 virtual bool OnMouseEvent(MouseEvent* event) OVERRIDE;
41 virtual ui::TouchStatus OnTouchEvent(TouchEvent* event) OVERRIDE; 41 virtual ui::TouchStatus OnTouchEvent(TouchEvent* event) OVERRIDE;
42 virtual ui::GestureStatus OnGestureEvent(GestureEvent* event) OVERRIDE; 42 virtual ui::GestureStatus OnGestureEvent(GestureEvent* event) OVERRIDE;
43 virtual bool CanFocus() OVERRIDE; 43 virtual bool CanFocus() OVERRIDE;
44 virtual void OnCaptureLost() OVERRIDE; 44 virtual void OnCaptureLost() OVERRIDE;
45 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 45 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
46 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 46 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
47 virtual void OnWindowDestroying() OVERRIDE; 47 virtual void OnWindowDestroying() OVERRIDE;
48 virtual void OnWindowDestroyed() OVERRIDE; 48 virtual void OnWindowDestroyed() OVERRIDE;
49 virtual void OnWindowVisibilityChanged(bool visible) OVERRIDE; 49 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE;
50 virtual bool HasHitTestMask() const OVERRIDE; 50 virtual bool HasHitTestMask() const OVERRIDE;
51 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; 51 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE;
52 52
53 private: 53 private:
54 int window_component_; 54 int window_component_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(TestWindowDelegate); 56 DISALLOW_COPY_AND_ASSIGN(TestWindowDelegate);
57 }; 57 };
58 58
59 // A simple WindowDelegate implementation for these tests. It owns itself 59 // A simple WindowDelegate implementation for these tests. It owns itself
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 int key_press_count_; 122 int key_press_count_;
123 int key_release_count_; 123 int key_release_count_;
124 124
125 DISALLOW_COPY_AND_ASSIGN(EventCountDelegate); 125 DISALLOW_COPY_AND_ASSIGN(EventCountDelegate);
126 }; 126 };
127 127
128 } // namespace test 128 } // namespace test
129 } // namespace aura 129 } // namespace aura
130 130
131 #endif // UI_AURA_TEST_TEST_WINDOW_DELEGATE_H_ 131 #endif // UI_AURA_TEST_TEST_WINDOW_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/aura/demo/demo_main.cc ('k') | ui/aura/test/test_window_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698