| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 virtual void Hide() OVERRIDE; | 65 virtual void Hide() OVERRIDE; |
| 66 virtual bool IsShowing() OVERRIDE; | 66 virtual bool IsShowing() OVERRIDE; |
| 67 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 67 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
| 68 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; | 68 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; |
| 69 #if !defined(TOOLKIT_VIEWS) | 69 #if !defined(TOOLKIT_VIEWS) |
| 70 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; | 70 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; |
| 71 #endif // !defined(TOOLKIT_VIEWS) | 71 #endif // !defined(TOOLKIT_VIEWS) |
| 72 virtual void UnhandledWheelEvent( | 72 virtual void UnhandledWheelEvent( |
| 73 const WebKit::WebMouseWheelEvent& event) OVERRIDE; | 73 const WebKit::WebMouseWheelEvent& event) OVERRIDE; |
| 74 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 74 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
| 75 virtual bool CopyFromCompositingSurface( |
| 76 const gfx::Size& size, |
| 77 skia::PlatformCanvas* output) OVERRIDE; |
| 75 | 78 |
| 76 // RenderWidgetHostViewPort implementation. | 79 // RenderWidgetHostViewPort implementation. |
| 77 virtual void InitAsPopup(content::RenderWidgetHostView* parent_host_view, | 80 virtual void InitAsPopup(content::RenderWidgetHostView* parent_host_view, |
| 78 const gfx::Rect& pos) OVERRIDE; | 81 const gfx::Rect& pos) OVERRIDE; |
| 79 virtual void InitAsFullscreen( | 82 virtual void InitAsFullscreen( |
| 80 content::RenderWidgetHostView* reference_host_view) OVERRIDE; | 83 content::RenderWidgetHostView* reference_host_view) OVERRIDE; |
| 81 virtual void DidBecomeSelected() OVERRIDE; | 84 virtual void DidBecomeSelected() OVERRIDE; |
| 82 virtual void WasHidden() OVERRIDE; | 85 virtual void WasHidden() OVERRIDE; |
| 83 virtual void MovePluginWindows( | 86 virtual void MovePluginWindows( |
| 84 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; | 87 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 | 296 |
| 294 #if defined(OS_CHROMEOS) | 297 #if defined(OS_CHROMEOS) |
| 295 // Custimized tooltip window. | 298 // Custimized tooltip window. |
| 296 scoped_ptr<ui::TooltipWindowGtk> tooltip_window_; | 299 scoped_ptr<ui::TooltipWindowGtk> tooltip_window_; |
| 297 #endif // defined(OS_CHROMEOS) | 300 #endif // defined(OS_CHROMEOS) |
| 298 | 301 |
| 299 ui::GtkSignalRegistrar signals_; | 302 ui::GtkSignalRegistrar signals_; |
| 300 }; | 303 }; |
| 301 | 304 |
| 302 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 305 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
| OLD | NEW |