| OLD | NEW | 
|---|
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 
| 2 // source code is governed by a BSD-style license that can be found in the | 2 // source code is governed by a BSD-style license that can be found in the | 
| 3 // LICENSE file. | 3 // 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 | 7 | 
| 8 namespace views { | 8 namespace views { | 
| 9 | 9 | 
| 10 class NativeViewHost; | 10 class NativeViewHost; | 
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 44   virtual void UninstallClip() = 0; | 44   virtual void UninstallClip() = 0; | 
| 45 | 45 | 
| 46   // Shows the gfx::NativeView at the specified position (relative to the parent | 46   // Shows the gfx::NativeView at the specified position (relative to the parent | 
| 47   // native view). | 47   // native view). | 
| 48   virtual void ShowWidget(int x, int y, int w, int h) = 0; | 48   virtual void ShowWidget(int x, int y, int w, int h) = 0; | 
| 49 | 49 | 
| 50   // Hides the gfx::NativeView. NOTE: this may be invoked when the native view | 50   // Hides the gfx::NativeView. NOTE: this may be invoked when the native view | 
| 51   // is already hidden. | 51   // is already hidden. | 
| 52   virtual void HideWidget() = 0; | 52   virtual void HideWidget() = 0; | 
| 53 | 53 | 
|  | 54   // Sets focus to the gfx::NativeView. | 
|  | 55   virtual void SetFocus() = 0; | 
|  | 56 | 
| 54   // Creates a platform-specific instance of an object implementing this | 57   // Creates a platform-specific instance of an object implementing this | 
| 55   // interface. | 58   // interface. | 
| 56   static NativeViewHostWrapper* CreateWrapper(NativeViewHost* host); | 59   static NativeViewHostWrapper* CreateWrapper(NativeViewHost* host); | 
| 57 }; | 60 }; | 
| 58 | 61 | 
| 59 }  // namespace views | 62 }  // namespace views | 
| 60 | 63 | 
| 61 #endif  // VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_WRAPPER_H_ | 64 #endif  // VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_WRAPPER_H_ | 
| OLD | NEW | 
|---|