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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <atlbase.h> | 9 #include <atlbase.h> |
10 #include <atlapp.h> | 10 #include <atlapp.h> |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 | 158 |
159 // RenderWidgetHostView implementation. | 159 // RenderWidgetHostView implementation. |
160 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; | 160 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; |
161 virtual content::RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE; | 161 virtual content::RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE; |
162 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 162 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
163 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; | 163 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; |
164 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 164 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
165 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; | 165 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; |
166 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; | 166 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; |
167 virtual bool HasFocus() const OVERRIDE; | 167 virtual bool HasFocus() const OVERRIDE; |
| 168 virtual bool HasSurface() const OVERRIDE; |
168 virtual void Show() OVERRIDE; | 169 virtual void Show() OVERRIDE; |
169 virtual void Hide() OVERRIDE; | 170 virtual void Hide() OVERRIDE; |
170 virtual bool IsShowing() OVERRIDE; | 171 virtual bool IsShowing() OVERRIDE; |
171 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 172 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
172 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 173 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
173 | 174 |
174 // Implementation of RenderWidgetHostViewPort. | 175 // Implementation of RenderWidgetHostViewPort. |
175 virtual void InitAsPopup(content::RenderWidgetHostView* parent_host_view, | 176 virtual void InitAsPopup(content::RenderWidgetHostView* parent_host_view, |
176 const gfx::Rect& pos) OVERRIDE; | 177 const gfx::Rect& pos) OVERRIDE; |
177 virtual void InitAsFullscreen( | 178 virtual void InitAsFullscreen( |
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
574 | 575 |
575 // Are touch events currently enabled? | 576 // Are touch events currently enabled? |
576 bool touch_events_enabled_; | 577 bool touch_events_enabled_; |
577 | 578 |
578 gfx::ScopedSysColorChangeListener sys_color_change_listener_; | 579 gfx::ScopedSysColorChangeListener sys_color_change_listener_; |
579 | 580 |
580 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 581 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
581 }; | 582 }; |
582 | 583 |
583 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 584 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
OLD | NEW |