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_GTK_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
7 | 7 |
8 #include <gdk/gdk.h> | 8 #include <gdk/gdk.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 67 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
68 | 68 |
69 // RenderWidgetHostViewPort implementation. | 69 // RenderWidgetHostViewPort implementation. |
70 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 70 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
71 const gfx::Rect& pos) OVERRIDE; | 71 const gfx::Rect& pos) OVERRIDE; |
72 virtual void InitAsFullscreen( | 72 virtual void InitAsFullscreen( |
73 RenderWidgetHostView* reference_host_view) OVERRIDE; | 73 RenderWidgetHostView* reference_host_view) OVERRIDE; |
74 virtual void WasShown() OVERRIDE; | 74 virtual void WasShown() OVERRIDE; |
75 virtual void WasHidden() OVERRIDE; | 75 virtual void WasHidden() OVERRIDE; |
76 virtual void MovePluginWindows( | 76 virtual void MovePluginWindows( |
| 77 const gfx::Point& scroll_offset, |
77 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; | 78 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; |
78 virtual void Focus() OVERRIDE; | 79 virtual void Focus() OVERRIDE; |
79 virtual void Blur() OVERRIDE; | 80 virtual void Blur() OVERRIDE; |
80 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; | 81 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; |
81 virtual void SetIsLoading(bool is_loading) OVERRIDE; | 82 virtual void SetIsLoading(bool is_loading) OVERRIDE; |
82 virtual void TextInputStateChanged( | 83 virtual void TextInputStateChanged( |
83 const ViewHostMsg_TextInputState_Params& params) OVERRIDE; | 84 const ViewHostMsg_TextInputState_Params& params) OVERRIDE; |
84 virtual void ImeCancelComposition() OVERRIDE; | 85 virtual void ImeCancelComposition() OVERRIDE; |
85 virtual void DidUpdateBackingStore( | 86 virtual void DidUpdateBackingStore( |
86 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, | 87 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 // Instance of accessibility information for the root of the AtkObject | 316 // Instance of accessibility information for the root of the AtkObject |
316 // tree representation of the WebKit render tree. | 317 // tree representation of the WebKit render tree. |
317 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; | 318 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; |
318 | 319 |
319 ui::GtkSignalRegistrar signals_; | 320 ui::GtkSignalRegistrar signals_; |
320 }; | 321 }; |
321 | 322 |
322 } // namespace content | 323 } // namespace content |
323 | 324 |
324 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 325 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
OLD | NEW |