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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 explicit RenderWidgetHostViewGtk(RenderWidgetHost* widget); | 48 explicit RenderWidgetHostViewGtk(RenderWidgetHost* widget); |
49 ~RenderWidgetHostViewGtk(); | 49 ~RenderWidgetHostViewGtk(); |
50 | 50 |
51 // Initialize this object for use as a drawing area. | 51 // Initialize this object for use as a drawing area. |
52 void InitAsChild(); | 52 void InitAsChild(); |
53 | 53 |
54 // RenderWidgetHostView implementation. | 54 // RenderWidgetHostView implementation. |
55 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 55 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
56 const gfx::Rect& pos); | 56 const gfx::Rect& pos); |
57 virtual void InitAsFullscreen(RenderWidgetHostView* parent_host_view); | 57 virtual void InitAsFullscreen(RenderWidgetHostView* parent_host_view); |
58 virtual RenderWidgetHost* GetRenderWidgetHost() const { return host_; } | 58 virtual RenderWidgetHost* GetRenderWidgetHost() const; |
59 virtual void DidBecomeSelected(); | 59 virtual void DidBecomeSelected(); |
60 virtual void WasHidden(); | 60 virtual void WasHidden(); |
61 virtual void SetSize(const gfx::Size& size); | 61 virtual void SetSize(const gfx::Size& size); |
62 virtual gfx::NativeView GetNativeView(); | 62 virtual gfx::NativeView GetNativeView(); |
63 virtual void MovePluginWindows( | 63 virtual void MovePluginWindows( |
64 const std::vector<webkit_glue::WebPluginGeometry>& moves); | 64 const std::vector<webkit_glue::WebPluginGeometry>& moves); |
65 virtual void Focus(); | 65 virtual void Focus(); |
66 virtual void Blur(); | 66 virtual void Blur(); |
67 virtual bool HasFocus(); | 67 virtual bool HasFocus(); |
68 virtual void Show(); | 68 virtual void Show(); |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 // indicate the top edge, positive the bottom. | 223 // indicate the top edge, positive the bottom. |
224 int dragged_at_vertical_edge_; | 224 int dragged_at_vertical_edge_; |
225 | 225 |
226 #if defined(OS_CHROMEOS) | 226 #if defined(OS_CHROMEOS) |
227 // Custimized tooltip window. | 227 // Custimized tooltip window. |
228 scoped_ptr<views::TooltipWindowGtk> tooltip_window_; | 228 scoped_ptr<views::TooltipWindowGtk> tooltip_window_; |
229 #endif // defined(OS_CHROMEOS) | 229 #endif // defined(OS_CHROMEOS) |
230 }; | 230 }; |
231 | 231 |
232 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 232 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
OLD | NEW |