| OLD | NEW |
| 1 // Copyright (c) 2006-2008 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_HWND_VIEW_H_ | 5 #ifndef VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_WIN_H_ |
| 6 #define VIEWS_CONTROLS_HWND_VIEW_H_ | 6 #define VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_WIN_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/logging.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" |
| 11 | 11 |
| 12 namespace views { | 12 namespace views { |
| 13 | 13 |
| 14 class NativeViewHost; | 14 class NativeViewHost; |
| 15 | 15 |
| 16 // A Windows implementation of NativeViewHostWrapper | 16 // A Windows implementation of NativeViewHostWrapper |
| 17 class NativeViewHostWin : public NativeViewHostWrapper { | 17 class NativeViewHostWin : public NativeViewHostWrapper { |
| 18 public: | 18 public: |
| 19 explicit NativeViewHostWin(NativeViewHost* host); | 19 explicit NativeViewHostWin(NativeViewHost* host); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 // Have we installed a region on the gfx::NativeView used to clip to only the | 38 // Have we installed a region on the gfx::NativeView used to clip to only the |
| 39 // visible portion of the gfx::NativeView ? | 39 // visible portion of the gfx::NativeView ? |
| 40 bool installed_clip_; | 40 bool installed_clip_; |
| 41 | 41 |
| 42 DISALLOW_COPY_AND_ASSIGN(NativeViewHostWin); | 42 DISALLOW_COPY_AND_ASSIGN(NativeViewHostWin); |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 } // namespace views | 45 } // namespace views |
| 46 | 46 |
| 47 #endif // VIEWS_CONTROLS_HWND_VIEW_H_ | 47 #endif // VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_WIN_H_ |
| OLD | NEW |