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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 virtual void DidBecomeSelected() OVERRIDE; | 62 virtual void DidBecomeSelected() OVERRIDE; |
63 virtual void WasHidden() OVERRIDE; | 63 virtual void WasHidden() OVERRIDE; |
64 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 64 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
65 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; | 65 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; |
66 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 66 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
67 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; | 67 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; |
68 virtual void MovePluginWindows( | 68 virtual void MovePluginWindows( |
69 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; | 69 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; |
70 virtual void Focus() OVERRIDE; | 70 virtual void Focus() OVERRIDE; |
71 virtual void Blur() OVERRIDE; | 71 virtual void Blur() OVERRIDE; |
72 virtual bool HasFocus() OVERRIDE; | 72 virtual bool HasFocus() const OVERRIDE; |
73 virtual void Show() OVERRIDE; | 73 virtual void Show() OVERRIDE; |
74 virtual void Hide() OVERRIDE; | 74 virtual void Hide() OVERRIDE; |
75 virtual bool IsShowing() OVERRIDE; | 75 virtual bool IsShowing() OVERRIDE; |
76 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 76 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
77 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; | 77 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; |
78 virtual void SetIsLoading(bool is_loading) OVERRIDE; | 78 virtual void SetIsLoading(bool is_loading) OVERRIDE; |
79 virtual void TextInputStateChanged(ui::TextInputType type, | 79 virtual void TextInputStateChanged(ui::TextInputType type, |
80 bool can_compose_inline) OVERRIDE; | 80 bool can_compose_inline) OVERRIDE; |
81 virtual void ImeCancelComposition() OVERRIDE; | 81 virtual void ImeCancelComposition() OVERRIDE; |
82 virtual void DidUpdateBackingStore( | 82 virtual void DidUpdateBackingStore( |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 | 303 |
304 #if defined(OS_CHROMEOS) | 304 #if defined(OS_CHROMEOS) |
305 // Custimized tooltip window. | 305 // Custimized tooltip window. |
306 scoped_ptr<ui::TooltipWindowGtk> tooltip_window_; | 306 scoped_ptr<ui::TooltipWindowGtk> tooltip_window_; |
307 #endif // defined(OS_CHROMEOS) | 307 #endif // defined(OS_CHROMEOS) |
308 | 308 |
309 ui::GtkSignalRegistrar signals_; | 309 ui::GtkSignalRegistrar signals_; |
310 }; | 310 }; |
311 | 311 |
312 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 312 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
OLD | NEW |