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 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(ui::TextInputType type, | 76 virtual void ImeUpdateTextInputState(ui::TextInputType type, |
77 bool can_compose_inline, | 77 bool can_compose_inline, |
78 const gfx::Rect& caret_rect) OVERRIDE; | 78 const gfx::Rect& caret_rect, |
| 79 const string16& surrounding_text, |
| 80 size_t focus, |
| 81 size_t anchor) OVERRIDE; |
79 virtual void ImeCancelComposition() OVERRIDE; | 82 virtual void ImeCancelComposition() OVERRIDE; |
80 virtual void DidUpdateBackingStore( | 83 virtual void DidUpdateBackingStore( |
81 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, | 84 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, |
82 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; | 85 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; |
83 virtual void RenderViewGone(base::TerminationStatus status, | 86 virtual void RenderViewGone(base::TerminationStatus status, |
84 int error_code) OVERRIDE; | 87 int error_code) OVERRIDE; |
85 virtual void Destroy() OVERRIDE; | 88 virtual void Destroy() OVERRIDE; |
86 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} | 89 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} |
87 virtual void SetTooltipText(const std::wstring& tooltip_text) OVERRIDE; | 90 virtual void SetTooltipText(const std::wstring& tooltip_text) OVERRIDE; |
88 virtual void SelectionChanged(const std::string& text, | 91 virtual void SelectionChanged(const std::string& text, |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 // menus and drags. | 270 // menus and drags. |
268 GdkEventButton* last_mouse_down_; | 271 GdkEventButton* last_mouse_down_; |
269 | 272 |
270 #if defined(OS_CHROMEOS) | 273 #if defined(OS_CHROMEOS) |
271 // Custimized tooltip window. | 274 // Custimized tooltip window. |
272 scoped_ptr<ui::TooltipWindowGtk> tooltip_window_; | 275 scoped_ptr<ui::TooltipWindowGtk> tooltip_window_; |
273 #endif // defined(OS_CHROMEOS) | 276 #endif // defined(OS_CHROMEOS) |
274 }; | 277 }; |
275 | 278 |
276 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 279 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
OLD | NEW |