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 | 7 |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlapp.h> | 9 #include <atlapp.h> |
10 #include <atlcrack.h> | 10 #include <atlcrack.h> |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 161 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
162 | 162 |
163 // Implementation of RenderWidgetHostViewPort. | 163 // Implementation of RenderWidgetHostViewPort. |
164 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 164 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
165 const gfx::Rect& pos) OVERRIDE; | 165 const gfx::Rect& pos) OVERRIDE; |
166 virtual void InitAsFullscreen( | 166 virtual void InitAsFullscreen( |
167 RenderWidgetHostView* reference_host_view) OVERRIDE; | 167 RenderWidgetHostView* reference_host_view) OVERRIDE; |
168 virtual void WasShown() OVERRIDE; | 168 virtual void WasShown() OVERRIDE; |
169 virtual void WasHidden() OVERRIDE; | 169 virtual void WasHidden() OVERRIDE; |
170 virtual void MovePluginWindows( | 170 virtual void MovePluginWindows( |
171 const gfx::Point& scroll_offset, | 171 const gfx::Vector2d& scroll_offset, |
172 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; | 172 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; |
173 virtual void Focus() OVERRIDE; | 173 virtual void Focus() OVERRIDE; |
174 virtual void Blur() OVERRIDE; | 174 virtual void Blur() OVERRIDE; |
175 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; | 175 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; |
176 virtual void SetIsLoading(bool is_loading) OVERRIDE; | 176 virtual void SetIsLoading(bool is_loading) OVERRIDE; |
177 virtual void TextInputStateChanged( | 177 virtual void TextInputStateChanged( |
178 const ViewHostMsg_TextInputState_Params& params) OVERRIDE; | 178 const ViewHostMsg_TextInputState_Params& params) OVERRIDE; |
179 virtual void SelectionBoundsChanged( | 179 virtual void SelectionBoundsChanged( |
180 const gfx::Rect& start_rect, | 180 const gfx::Rect& start_rect, |
181 WebKit::WebTextDirection start_direction, | 181 WebKit::WebTextDirection start_direction, |
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
572 bool touch_events_enabled_; | 572 bool touch_events_enabled_; |
573 | 573 |
574 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 574 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
575 | 575 |
576 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 576 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
577 }; | 577 }; |
578 | 578 |
579 } // namespace content | 579 } // namespace content |
580 | 580 |
581 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 581 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
OLD | NEW |