| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; | 66 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; |
| 67 virtual void Focus() OVERRIDE; | 67 virtual void Focus() OVERRIDE; |
| 68 virtual void Blur() OVERRIDE; | 68 virtual void Blur() OVERRIDE; |
| 69 virtual bool HasFocus() OVERRIDE; | 69 virtual bool HasFocus() OVERRIDE; |
| 70 virtual void Show() OVERRIDE; | 70 virtual void Show() OVERRIDE; |
| 71 virtual void Hide() OVERRIDE; | 71 virtual void Hide() OVERRIDE; |
| 72 virtual bool IsShowing() OVERRIDE; | 72 virtual bool IsShowing() OVERRIDE; |
| 73 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 73 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
| 74 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; | 74 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; |
| 75 virtual void SetIsLoading(bool is_loading) OVERRIDE; | 75 virtual void SetIsLoading(bool is_loading) OVERRIDE; |
| 76 virtual void ImeUpdateTextInputState(WebKit::WebTextInputType type, | 76 virtual void ImeUpdateTextInputState(ui::TextInputType type, |
| 77 bool can_compose_inline, |
| 77 const gfx::Rect& caret_rect) OVERRIDE; | 78 const gfx::Rect& caret_rect) OVERRIDE; |
| 78 virtual void ImeCancelComposition() OVERRIDE; | 79 virtual void ImeCancelComposition() OVERRIDE; |
| 79 virtual void DidUpdateBackingStore( | 80 virtual void DidUpdateBackingStore( |
| 80 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, | 81 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, |
| 81 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; | 82 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; |
| 82 virtual void RenderViewGone(base::TerminationStatus status, | 83 virtual void RenderViewGone(base::TerminationStatus status, |
| 83 int error_code) OVERRIDE; | 84 int error_code) OVERRIDE; |
| 84 virtual void Destroy() OVERRIDE; | 85 virtual void Destroy() OVERRIDE; |
| 85 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} | 86 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} |
| 86 virtual void SetTooltipText(const std::wstring& tooltip_text) OVERRIDE; | 87 virtual void SetTooltipText(const std::wstring& tooltip_text) OVERRIDE; |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 // menus and drags. | 255 // menus and drags. |
| 255 GdkEventButton* last_mouse_down_; | 256 GdkEventButton* last_mouse_down_; |
| 256 | 257 |
| 257 #if defined(OS_CHROMEOS) | 258 #if defined(OS_CHROMEOS) |
| 258 // Custimized tooltip window. | 259 // Custimized tooltip window. |
| 259 scoped_ptr<views::TooltipWindowGtk> tooltip_window_; | 260 scoped_ptr<views::TooltipWindowGtk> tooltip_window_; |
| 260 #endif // defined(OS_CHROMEOS) | 261 #endif // defined(OS_CHROMEOS) |
| 261 }; | 262 }; |
| 262 | 263 |
| 263 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 264 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
| OLD | NEW |