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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 161 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
162 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; | 162 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; |
163 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 163 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
164 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; | 164 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; |
165 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; | 165 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; |
166 virtual bool HasFocus() const OVERRIDE; | 166 virtual bool HasFocus() const OVERRIDE; |
167 virtual void Show() OVERRIDE; | 167 virtual void Show() OVERRIDE; |
168 virtual void Hide() OVERRIDE; | 168 virtual void Hide() OVERRIDE; |
169 virtual bool IsShowing() OVERRIDE; | 169 virtual bool IsShowing() OVERRIDE; |
170 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 170 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
171 virtual void UnhandledWheelEvent( | |
172 const WebKit::WebMouseWheelEvent& event) OVERRIDE; | |
173 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 171 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
174 virtual bool CopyFromCompositingSurface( | 172 virtual bool CopyFromCompositingSurface( |
175 const gfx::Size& size, | 173 const gfx::Size& size, |
176 skia::PlatformCanvas* output) OVERRIDE; | 174 skia::PlatformCanvas* output) OVERRIDE; |
177 | 175 |
178 // Implementation of RenderWidgetHostViewPort. | 176 // Implementation of RenderWidgetHostViewPort. |
179 virtual void InitAsPopup(content::RenderWidgetHostView* parent_host_view, | 177 virtual void InitAsPopup(content::RenderWidgetHostView* parent_host_view, |
180 const gfx::Rect& pos) OVERRIDE; | 178 const gfx::Rect& pos) OVERRIDE; |
181 virtual void InitAsFullscreen( | 179 virtual void InitAsFullscreen( |
182 content::RenderWidgetHostView* reference_host_view) OVERRIDE; | 180 content::RenderWidgetHostView* reference_host_view) OVERRIDE; |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
570 | 568 |
571 // Are touch events currently enabled? | 569 // Are touch events currently enabled? |
572 bool touch_events_enabled_; | 570 bool touch_events_enabled_; |
573 | 571 |
574 gfx::ScopedSysColorChangeListener sys_color_change_listener_; | 572 gfx::ScopedSysColorChangeListener sys_color_change_listener_; |
575 | 573 |
576 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 574 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
577 }; | 575 }; |
578 | 576 |
579 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 577 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
OLD | NEW |