OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 void InitAsChild(); | 53 void InitAsChild(); |
54 | 54 |
55 // RenderWidgetHostView implementation. | 55 // RenderWidgetHostView implementation. |
56 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 56 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
57 const gfx::Rect& pos); | 57 const gfx::Rect& pos); |
58 virtual void InitAsFullscreen(); | 58 virtual void InitAsFullscreen(); |
59 virtual RenderWidgetHost* GetRenderWidgetHost() const; | 59 virtual RenderWidgetHost* GetRenderWidgetHost() const; |
60 virtual void DidBecomeSelected(); | 60 virtual void DidBecomeSelected(); |
61 virtual void WasHidden(); | 61 virtual void WasHidden(); |
62 virtual void SetSize(const gfx::Size& size); | 62 virtual void SetSize(const gfx::Size& size); |
| 63 virtual void SetBounds(const gfx::Rect& rect); |
63 virtual gfx::NativeView GetNativeView(); | 64 virtual gfx::NativeView GetNativeView(); |
64 virtual void MovePluginWindows( | 65 virtual void MovePluginWindows( |
65 const std::vector<webkit::npapi::WebPluginGeometry>& moves); | 66 const std::vector<webkit::npapi::WebPluginGeometry>& moves); |
66 virtual void Focus(); | 67 virtual void Focus(); |
67 virtual void Blur(); | 68 virtual void Blur(); |
68 virtual bool HasFocus(); | 69 virtual bool HasFocus(); |
69 virtual void Show(); | 70 virtual void Show(); |
70 virtual void Hide(); | 71 virtual void Hide(); |
71 virtual bool IsShowing(); | 72 virtual bool IsShowing(); |
72 virtual gfx::Rect GetViewBounds() const; | 73 virtual gfx::Rect GetViewBounds() const; |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 | 236 |
236 bool accelerated_surface_acquired_; | 237 bool accelerated_surface_acquired_; |
237 | 238 |
238 #if defined(OS_CHROMEOS) | 239 #if defined(OS_CHROMEOS) |
239 // Custimized tooltip window. | 240 // Custimized tooltip window. |
240 scoped_ptr<views::TooltipWindowGtk> tooltip_window_; | 241 scoped_ptr<views::TooltipWindowGtk> tooltip_window_; |
241 #endif // defined(OS_CHROMEOS) | 242 #endif // defined(OS_CHROMEOS) |
242 }; | 243 }; |
243 | 244 |
244 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 245 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
OLD | NEW |