| OLD | NEW |
| 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_VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_AURA_H_ | 5 #ifndef UI_VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_AURA_H_ |
| 6 #define UI_VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_AURA_H_ | 6 #define UI_VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_AURA_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "ui/aura/window_observer.h" | 10 #include "ui/aura/window_observer.h" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 virtual void UninstallClip() OVERRIDE; | 32 virtual void UninstallClip() OVERRIDE; |
| 33 virtual void ShowWidget(int x, int y, int w, int h) OVERRIDE; | 33 virtual void ShowWidget(int x, int y, int w, int h) OVERRIDE; |
| 34 virtual void HideWidget() OVERRIDE; | 34 virtual void HideWidget() OVERRIDE; |
| 35 virtual void SetFocus() OVERRIDE; | 35 virtual void SetFocus() OVERRIDE; |
| 36 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; | 36 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; |
| 37 virtual gfx::NativeCursor GetCursor(int x, int y) OVERRIDE; | 37 virtual gfx::NativeCursor GetCursor(int x, int y) OVERRIDE; |
| 38 | 38 |
| 39 private: | 39 private: |
| 40 // Overridden from aura::WindowObserver: | 40 // Overridden from aura::WindowObserver: |
| 41 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; | 41 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; |
| 42 virtual void OnWindowVisibilityChanged(aura::Window* window, |
| 43 bool is_visible) OVERRIDE; |
| 42 | 44 |
| 43 // Our associated NativeViewHost. | 45 // Our associated NativeViewHost. |
| 44 NativeViewHost* host_; | 46 NativeViewHost* host_; |
| 45 | 47 |
| 46 // Have we installed a clip region? | 48 // Have we installed a clip region? |
| 47 bool installed_clip_; | 49 bool installed_clip_; |
| 48 | 50 |
| 49 DISALLOW_COPY_AND_ASSIGN(NativeViewHostAura); | 51 DISALLOW_COPY_AND_ASSIGN(NativeViewHostAura); |
| 50 }; | 52 }; |
| 51 | 53 |
| 52 } // namespace views | 54 } // namespace views |
| 53 | 55 |
| 54 #endif // UI_VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_AURA_H_ | 56 #endif // UI_VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_AURA_H_ |
| OLD | NEW |