| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 virtual WebFrame* GetFrameWithName(const std::wstring& name); | 63 virtual WebFrame* GetFrameWithName(const std::wstring& name); |
| 64 virtual WebFrame* GetPreviousFrameBefore(WebFrame* frame, bool wrap); | 64 virtual WebFrame* GetPreviousFrameBefore(WebFrame* frame, bool wrap); |
| 65 virtual WebFrame* GetNextFrameAfter(WebFrame* frame, bool wrap); | 65 virtual WebFrame* GetNextFrameAfter(WebFrame* frame, bool wrap); |
| 66 virtual void Resize(const gfx::Size& new_size); | 66 virtual void Resize(const gfx::Size& new_size); |
| 67 virtual gfx::Size GetSize() { return size(); } | 67 virtual gfx::Size GetSize() { return size(); } |
| 68 virtual void Layout(); | 68 virtual void Layout(); |
| 69 virtual void Paint(skia::PlatformCanvas* canvas, const gfx::Rect& rect); | 69 virtual void Paint(skia::PlatformCanvas* canvas, const gfx::Rect& rect); |
| 70 virtual bool HandleInputEvent(const WebKit::WebInputEvent* input_event); | 70 virtual bool HandleInputEvent(const WebKit::WebInputEvent* input_event); |
| 71 virtual void MouseCaptureLost(); | 71 virtual void MouseCaptureLost(); |
| 72 virtual void SetFocus(bool enable); | 72 virtual void SetFocus(bool enable); |
| 73 virtual void ClearFocusedNode(); |
| 73 virtual void StoreFocusForFrame(WebFrame* frame); | 74 virtual void StoreFocusForFrame(WebFrame* frame); |
| 74 virtual bool ImeSetComposition(int string_type, | 75 virtual bool ImeSetComposition(int string_type, |
| 75 int cursor_position, | 76 int cursor_position, |
| 76 int target_start, | 77 int target_start, |
| 77 int target_end, | 78 int target_end, |
| 78 const std::wstring& ime_string); | 79 const std::wstring& ime_string); |
| 79 virtual bool ImeUpdateStatus(bool* enable_ime, | 80 virtual bool ImeUpdateStatus(bool* enable_ime, |
| 80 gfx::Rect* caret_rect); | 81 gfx::Rect* caret_rect); |
| 81 virtual void SetTextDirection(WebTextDirection direction); | 82 virtual void SetTextDirection(WebTextDirection direction); |
| 82 virtual void StopLoading(); | 83 virtual void StopLoading(); |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 static const WebKit::WebInputEvent* current_input_event() { | 351 static const WebKit::WebInputEvent* current_input_event() { |
| 351 return g_current_input_event; | 352 return g_current_input_event; |
| 352 } | 353 } |
| 353 private: | 354 private: |
| 354 static const WebKit::WebInputEvent* g_current_input_event; | 355 static const WebKit::WebInputEvent* g_current_input_event; |
| 355 | 356 |
| 356 DISALLOW_COPY_AND_ASSIGN(WebViewImpl); | 357 DISALLOW_COPY_AND_ASSIGN(WebViewImpl); |
| 357 }; | 358 }; |
| 358 | 359 |
| 359 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H_ | 360 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H_ |
| OLD | NEW |