OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 WEBKIT_GLUE_WEBVIEW_IMPL_H__ | 5 #ifndef WEBKIT_GLUE_WEBVIEW_IMPL_H__ |
6 #define WEBKIT_GLUE_WEBVIEW_IMPL_H__ | 6 #define WEBKIT_GLUE_WEBVIEW_IMPL_H__ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 virtual void SetTabKeyCyclesThroughElements(bool value); | 54 virtual void SetTabKeyCyclesThroughElements(bool value); |
55 virtual WebFrame* GetMainFrame(); | 55 virtual WebFrame* GetMainFrame(); |
56 virtual WebFrame* GetFocusedFrame(); | 56 virtual WebFrame* GetFocusedFrame(); |
57 virtual void SetFocusedFrame(WebFrame* frame); | 57 virtual void SetFocusedFrame(WebFrame* frame); |
58 virtual WebFrame* GetFrameWithName(const std::wstring& name); | 58 virtual WebFrame* GetFrameWithName(const std::wstring& name); |
59 virtual WebFrame* GetPreviousFrameBefore(WebFrame* frame, bool wrap); | 59 virtual WebFrame* GetPreviousFrameBefore(WebFrame* frame, bool wrap); |
60 virtual WebFrame* GetNextFrameAfter(WebFrame* frame, bool wrap); | 60 virtual WebFrame* GetNextFrameAfter(WebFrame* frame, bool wrap); |
61 virtual void Resize(const gfx::Size& new_size); | 61 virtual void Resize(const gfx::Size& new_size); |
62 virtual gfx::Size GetSize() { return size(); } | 62 virtual gfx::Size GetSize() { return size(); } |
63 virtual void Layout(); | 63 virtual void Layout(); |
64 virtual void Paint(gfx::PlatformCanvas* canvas, const gfx::Rect& rect); | 64 virtual void Paint(skia::PlatformCanvas* canvas, const gfx::Rect& rect); |
65 virtual bool HandleInputEvent(const WebInputEvent* input_event); | 65 virtual bool HandleInputEvent(const WebInputEvent* input_event); |
66 virtual void MouseCaptureLost(); | 66 virtual void MouseCaptureLost(); |
67 virtual void SetFocus(bool enable); | 67 virtual void SetFocus(bool enable); |
68 virtual void StoreFocusForFrame(WebFrame* frame); | 68 virtual void StoreFocusForFrame(WebFrame* frame); |
69 virtual bool ImeSetComposition(int string_type, | 69 virtual bool ImeSetComposition(int string_type, |
70 int cursor_position, | 70 int cursor_position, |
71 int target_start, | 71 int target_start, |
72 int target_end, | 72 int target_end, |
73 const std::wstring& ime_string); | 73 const std::wstring& ime_string); |
74 virtual bool ImeUpdateStatus(bool* enable_ime, | 74 virtual bool ImeUpdateStatus(bool* enable_ime, |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 return g_current_input_event; | 303 return g_current_input_event; |
304 } | 304 } |
305 private: | 305 private: |
306 static const WebInputEvent* g_current_input_event; | 306 static const WebInputEvent* g_current_input_event; |
307 | 307 |
308 DISALLOW_EVIL_CONSTRUCTORS(WebViewImpl); | 308 DISALLOW_EVIL_CONSTRUCTORS(WebViewImpl); |
309 }; | 309 }; |
310 | 310 |
311 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H__ | 311 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H__ |
312 | 312 |
OLD | NEW |