OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 6 #define CHROME_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 <map> | 10 #include <map> |
(...skipping 27 matching lines...) Expand all Loading... |
38 | 38 |
39 // RenderWidgetHostView implementation. | 39 // RenderWidgetHostView implementation. |
40 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 40 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
41 const gfx::Rect& pos); | 41 const gfx::Rect& pos); |
42 virtual RenderWidgetHost* GetRenderWidgetHost() const { return host_; } | 42 virtual RenderWidgetHost* GetRenderWidgetHost() const { return host_; } |
43 virtual void DidBecomeSelected(); | 43 virtual void DidBecomeSelected(); |
44 virtual void WasHidden(); | 44 virtual void WasHidden(); |
45 virtual void SetSize(const gfx::Size& size); | 45 virtual void SetSize(const gfx::Size& size); |
46 virtual gfx::NativeView GetNativeView(); | 46 virtual gfx::NativeView GetNativeView(); |
47 virtual void MovePluginWindows( | 47 virtual void MovePluginWindows( |
48 const std::vector<WebPluginGeometry>& plugin_window_moves); | 48 const std::vector<webkit_glue::WebPluginGeometry>& moves); |
49 virtual void Focus(); | 49 virtual void Focus(); |
50 virtual void Blur(); | 50 virtual void Blur(); |
51 virtual bool HasFocus(); | 51 virtual bool HasFocus(); |
52 virtual void Show(); | 52 virtual void Show(); |
53 virtual void Hide(); | 53 virtual void Hide(); |
54 virtual gfx::Rect GetViewBounds() const; | 54 virtual gfx::Rect GetViewBounds() const; |
55 virtual void UpdateCursor(const WebCursor& cursor); | 55 virtual void UpdateCursor(const WebCursor& cursor); |
56 virtual void SetIsLoading(bool is_loading); | 56 virtual void SetIsLoading(bool is_loading); |
57 virtual void IMEUpdateStatus(int control, const gfx::Rect& caret_rect); | 57 virtual void IMEUpdateStatus(int control, const gfx::Rect& caret_rect); |
58 virtual void DidPaintRect(const gfx::Rect& rect); | 58 virtual void DidPaintRect(const gfx::Rect& rect); |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 bool was_focused_before_grab_; | 124 bool was_focused_before_grab_; |
125 | 125 |
126 // A conveience wrapper object for GtkIMContext; | 126 // A conveience wrapper object for GtkIMContext; |
127 scoped_ptr<GtkIMContextWrapper> im_context_; | 127 scoped_ptr<GtkIMContextWrapper> im_context_; |
128 | 128 |
129 // Helper class that lets us allocate plugin containers and move them. | 129 // Helper class that lets us allocate plugin containers and move them. |
130 GtkPluginContainerManager plugin_container_manager_; | 130 GtkPluginContainerManager plugin_container_manager_; |
131 }; | 131 }; |
132 | 132 |
133 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 133 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
OLD | NEW |