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

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

Issue 8202026: views: Some more layer change, and add/update some tests for layers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 2 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_WINDOW_DELEGATE_H_ 5 #ifndef UI_AURA_TEST_WINDOW_DELEGATE_H_
6 #define UI_AURA_TEST_WINDOW_DELEGATE_H_ 6 #define UI_AURA_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 "ui/aura/window_delegate.h" 10 #include "ui/aura/window_delegate.h"
(...skipping 16 matching lines...) Expand all
27 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; 27 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE;
28 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; 28 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE;
29 virtual bool OnMouseEvent(MouseEvent* event) OVERRIDE; 29 virtual bool OnMouseEvent(MouseEvent* event) OVERRIDE;
30 virtual bool ShouldActivate(MouseEvent* event) OVERRIDE; 30 virtual bool ShouldActivate(MouseEvent* event) OVERRIDE;
31 virtual void OnActivated() OVERRIDE; 31 virtual void OnActivated() OVERRIDE;
32 virtual void OnLostActive() OVERRIDE; 32 virtual void OnLostActive() OVERRIDE;
33 virtual void OnCaptureLost() OVERRIDE; 33 virtual void OnCaptureLost() OVERRIDE;
34 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 34 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
35 virtual void OnWindowDestroying() OVERRIDE; 35 virtual void OnWindowDestroying() OVERRIDE;
36 virtual void OnWindowDestroyed() OVERRIDE; 36 virtual void OnWindowDestroyed() OVERRIDE;
37 virtual void OnWindowVisibilityChanged(bool visible) OVERRIDE;
37 38
38 private: 39 private:
39 DISALLOW_COPY_AND_ASSIGN(TestWindowDelegate); 40 DISALLOW_COPY_AND_ASSIGN(TestWindowDelegate);
40 }; 41 };
41 42
42 } // namespace internal 43 } // namespace internal
43 } // namespace aura 44 } // namespace aura
44 #endif // UI_AURA_TEST_WINDOW_DELEGATE_H_ 45 #endif // UI_AURA_TEST_WINDOW_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698