| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ | 5 #ifndef UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ |
| 6 #define UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ | 6 #define UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 virtual void SetFocusWhenShown(bool focus_when_shown) OVERRIDE; | 87 virtual void SetFocusWhenShown(bool focus_when_shown) OVERRIDE; |
| 88 virtual bool CopyAreaToSkCanvas(const gfx::Rect& source_bounds, | 88 virtual bool CopyAreaToSkCanvas(const gfx::Rect& source_bounds, |
| 89 const gfx::Point& dest_offset, | 89 const gfx::Point& dest_offset, |
| 90 SkCanvas* canvas) OVERRIDE; | 90 SkCanvas* canvas) OVERRIDE; |
| 91 virtual bool GrabSnapshot( | 91 virtual bool GrabSnapshot( |
| 92 const gfx::Rect& snapshot_bounds, | 92 const gfx::Rect& snapshot_bounds, |
| 93 std::vector<unsigned char>* png_representation) OVERRIDE; | 93 std::vector<unsigned char>* png_representation) OVERRIDE; |
| 94 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; | 94 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; |
| 95 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; | 95 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; |
| 96 virtual void PrepareForShutdown() OVERRIDE; | 96 virtual void PrepareForShutdown() OVERRIDE; |
| 97 virtual void SetIntProperty(const std::string& name, int value) OVERRIDE; |
| 97 | 98 |
| 98 RootWindowHostDelegate* delegate_; | 99 RootWindowHostDelegate* delegate_; |
| 99 IPC::Sender* host_; | 100 IPC::Sender* host_; |
| 100 scoped_ptr<ui::ViewProp> prop_; | 101 scoped_ptr<ui::ViewProp> prop_; |
| 101 | 102 |
| 102 DISALLOW_COPY_AND_ASSIGN(RemoteRootWindowHostWin); | 103 DISALLOW_COPY_AND_ASSIGN(RemoteRootWindowHostWin); |
| 103 }; | 104 }; |
| 104 | 105 |
| 105 } // namespace aura | 106 } // namespace aura |
| 106 | 107 |
| 107 #endif // UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ | 108 #endif // UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ |
| OLD | NEW |