OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // source code is governed by a BSD-style license that can be found in the | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_WRAPPER_H_ | 5 #ifndef VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_WRAPPER_H_ |
6 #define VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_WRAPPER_H_ | 6 #define VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_WRAPPER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 namespace views { | 9 namespace views { |
10 | 10 |
11 class NativeViewHost; | 11 class NativeViewHost; |
12 | 12 |
13 // An interface that implemented by an object that wraps a gfx::NativeView on | 13 // An interface that implemented by an object that wraps a gfx::NativeView on |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 virtual void SetFocus() = 0; | 57 virtual void SetFocus() = 0; |
58 | 58 |
59 // Creates a platform-specific instance of an object implementing this | 59 // Creates a platform-specific instance of an object implementing this |
60 // interface. | 60 // interface. |
61 static NativeViewHostWrapper* CreateWrapper(NativeViewHost* host); | 61 static NativeViewHostWrapper* CreateWrapper(NativeViewHost* host); |
62 }; | 62 }; |
63 | 63 |
64 } // namespace views | 64 } // namespace views |
65 | 65 |
66 #endif // VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_WRAPPER_H_ | 66 #endif // VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_WRAPPER_H_ |
OLD | NEW |