| OLD | NEW |
| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 const gfx::Point& location) OVERRIDE; | 53 const gfx::Point& location) OVERRIDE; |
| 54 virtual bool CanFocus() OVERRIDE; | 54 virtual bool CanFocus() OVERRIDE; |
| 55 virtual void OnCaptureLost() OVERRIDE; | 55 virtual void OnCaptureLost() OVERRIDE; |
| 56 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | 56 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
| 57 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; | 57 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; |
| 58 virtual void OnWindowDestroying() OVERRIDE; | 58 virtual void OnWindowDestroying() OVERRIDE; |
| 59 virtual void OnWindowDestroyed() OVERRIDE; | 59 virtual void OnWindowDestroyed() OVERRIDE; |
| 60 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; | 60 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; |
| 61 virtual bool HasHitTestMask() const OVERRIDE; | 61 virtual bool HasHitTestMask() const OVERRIDE; |
| 62 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; | 62 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; |
| 63 virtual scoped_refptr<ui::Texture> CopyTexture() OVERRIDE; | 63 virtual void DidRecreateLayer(ui::Layer* old_layer, |
| 64 ui::Layer* new_layer) OVERRIDE; |
| 64 | 65 |
| 65 private: | 66 private: |
| 66 int window_component_; | 67 int window_component_; |
| 67 bool delete_on_destroyed_; | 68 bool delete_on_destroyed_; |
| 68 gfx::Size minimum_size_; | 69 gfx::Size minimum_size_; |
| 69 gfx::Size maximum_size_; | 70 gfx::Size maximum_size_; |
| 70 bool can_focus_; | 71 bool can_focus_; |
| 71 | 72 |
| 72 DISALLOW_COPY_AND_ASSIGN(TestWindowDelegate); | 73 DISALLOW_COPY_AND_ASSIGN(TestWindowDelegate); |
| 73 }; | 74 }; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 int key_press_count_; | 139 int key_press_count_; |
| 139 int key_release_count_; | 140 int key_release_count_; |
| 140 | 141 |
| 141 DISALLOW_COPY_AND_ASSIGN(EventCountDelegate); | 142 DISALLOW_COPY_AND_ASSIGN(EventCountDelegate); |
| 142 }; | 143 }; |
| 143 | 144 |
| 144 } // namespace test | 145 } // namespace test |
| 145 } // namespace aura | 146 } // namespace aura |
| 146 | 147 |
| 147 #endif // UI_AURA_TEST_TEST_WINDOW_DELEGATE_H_ | 148 #endif // UI_AURA_TEST_TEST_WINDOW_DELEGATE_H_ |
| OLD | NEW |