OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_VIEWS_H_ | 5 #ifndef VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_VIEWS_H_ |
6 #define VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_VIEWS_H_ | 6 #define VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_VIEWS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "views/controls/native/native_view_host_wrapper.h" | 10 #include "views/controls/native/native_view_host_wrapper.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 virtual void NativeViewAttached(); | 23 virtual void NativeViewAttached(); |
24 virtual void NativeViewDetaching(bool destroyed); | 24 virtual void NativeViewDetaching(bool destroyed); |
25 virtual void AddedToWidget(); | 25 virtual void AddedToWidget(); |
26 virtual void RemovedFromWidget(); | 26 virtual void RemovedFromWidget(); |
27 virtual void InstallClip(int x, int y, int w, int h); | 27 virtual void InstallClip(int x, int y, int w, int h); |
28 virtual bool HasInstalledClip(); | 28 virtual bool HasInstalledClip(); |
29 virtual void UninstallClip(); | 29 virtual void UninstallClip(); |
30 virtual void ShowWidget(int x, int y, int w, int h); | 30 virtual void ShowWidget(int x, int y, int w, int h); |
31 virtual void HideWidget(); | 31 virtual void HideWidget(); |
32 virtual void SetFocus(); | 32 virtual void SetFocus(); |
| 33 virtual gfx::NativeViewAccessible GetNativeViewAccessible(); |
33 | 34 |
34 private: | 35 private: |
35 // Our associated NativeViewHost. | 36 // Our associated NativeViewHost. |
36 NativeViewHost* host_; | 37 NativeViewHost* host_; |
37 | 38 |
38 // Have we installed a clip region? | 39 // Have we installed a clip region? |
39 bool installed_clip_; | 40 bool installed_clip_; |
40 | 41 |
41 DISALLOW_COPY_AND_ASSIGN(NativeViewHostViews); | 42 DISALLOW_COPY_AND_ASSIGN(NativeViewHostViews); |
42 }; | 43 }; |
43 | 44 |
44 } // namespace views | 45 } // namespace views |
45 | 46 |
46 #endif // VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_VIEWS_H_ | 47 #endif // VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_VIEWS_H_ |
OLD | NEW |