| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gdk/gdk.h> | 9 #include <gdk/gdk.h> |
| 10 | 10 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 | 51 |
| 52 // RenderWidgetHostView implementation. | 52 // RenderWidgetHostView implementation. |
| 53 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; | 53 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; |
| 54 virtual content::RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE; | 54 virtual content::RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE; |
| 55 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 55 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
| 56 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; | 56 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; |
| 57 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 57 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
| 58 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; | 58 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; |
| 59 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; | 59 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; |
| 60 virtual bool HasFocus() const OVERRIDE; | 60 virtual bool HasFocus() const OVERRIDE; |
| 61 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; |
| 61 virtual void Show() OVERRIDE; | 62 virtual void Show() OVERRIDE; |
| 62 virtual void Hide() OVERRIDE; | 63 virtual void Hide() OVERRIDE; |
| 63 virtual bool IsShowing() OVERRIDE; | 64 virtual bool IsShowing() OVERRIDE; |
| 64 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 65 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
| 65 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; | 66 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; |
| 66 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; | 67 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; |
| 67 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 68 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
| 68 | 69 |
| 69 // RenderWidgetHostViewPort implementation. | 70 // RenderWidgetHostViewPort implementation. |
| 70 virtual void InitAsPopup(content::RenderWidgetHostView* parent_host_view, | 71 virtual void InitAsPopup(content::RenderWidgetHostView* parent_host_view, |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 GdkEventButton* last_mouse_down_; | 308 GdkEventButton* last_mouse_down_; |
| 308 | 309 |
| 309 // Instance of accessibility information for the root of the AtkObject | 310 // Instance of accessibility information for the root of the AtkObject |
| 310 // tree representation of the WebKit render tree. | 311 // tree representation of the WebKit render tree. |
| 311 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; | 312 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; |
| 312 | 313 |
| 313 ui::GtkSignalRegistrar signals_; | 314 ui::GtkSignalRegistrar signals_; |
| 314 }; | 315 }; |
| 315 | 316 |
| 316 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 317 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
| OLD | NEW |