OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gdk/gdk.h> | 9 #include <gdk/gdk.h> |
10 | 10 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 void InitAsChild(); | 49 void InitAsChild(); |
50 | 50 |
51 // RenderWidgetHostView implementation. | 51 // RenderWidgetHostView implementation. |
52 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 52 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
53 const gfx::Rect& pos); | 53 const gfx::Rect& pos); |
54 virtual void InitAsFullscreen(RenderWidgetHostView* parent_host_view); | 54 virtual void InitAsFullscreen(RenderWidgetHostView* parent_host_view); |
55 virtual RenderWidgetHost* GetRenderWidgetHost() const { return host_; } | 55 virtual RenderWidgetHost* GetRenderWidgetHost() const { return host_; } |
56 virtual void DidBecomeSelected(); | 56 virtual void DidBecomeSelected(); |
57 virtual void WasHidden(); | 57 virtual void WasHidden(); |
58 virtual void SetSize(const gfx::Size& size); | 58 virtual void SetSize(const gfx::Size& size); |
| 59 virtual void MoveTo(const gfx::Point& origin); |
59 virtual gfx::NativeView GetNativeView(); | 60 virtual gfx::NativeView GetNativeView(); |
60 virtual void MovePluginWindows( | 61 virtual void MovePluginWindows( |
61 const std::vector<webkit_glue::WebPluginGeometry>& moves); | 62 const std::vector<webkit_glue::WebPluginGeometry>& moves); |
62 virtual void Focus(); | 63 virtual void Focus(); |
63 virtual void Blur(); | 64 virtual void Blur(); |
64 virtual bool HasFocus(); | 65 virtual bool HasFocus(); |
65 virtual void Show(); | 66 virtual void Show(); |
66 virtual void Hide(); | 67 virtual void Hide(); |
67 virtual bool IsShowing(); | 68 virtual bool IsShowing(); |
68 virtual gfx::Rect GetViewBounds() const; | 69 virtual gfx::Rect GetViewBounds() const; |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 // indicate the top edge, positive the bottom. | 211 // indicate the top edge, positive the bottom. |
211 int dragged_at_vertical_edge_; | 212 int dragged_at_vertical_edge_; |
212 | 213 |
213 #if defined(OS_CHROMEOS) | 214 #if defined(OS_CHROMEOS) |
214 // Custimized tooltip window. | 215 // Custimized tooltip window. |
215 scoped_ptr<views::TooltipWindowGtk> tooltip_window_; | 216 scoped_ptr<views::TooltipWindowGtk> tooltip_window_; |
216 #endif // defined(OS_CHROMEOS) | 217 #endif // defined(OS_CHROMEOS) |
217 }; | 218 }; |
218 | 219 |
219 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 220 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
OLD | NEW |