| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 virtual void MouseCaptureLost(); | 69 virtual void MouseCaptureLost(); |
| 70 virtual void SetFocus(bool enable); | 70 virtual void SetFocus(bool enable); |
| 71 virtual void StoreFocusForFrame(WebFrame* frame); | 71 virtual void StoreFocusForFrame(WebFrame* frame); |
| 72 virtual bool ImeSetComposition(int string_type, | 72 virtual bool ImeSetComposition(int string_type, |
| 73 int cursor_position, | 73 int cursor_position, |
| 74 int target_start, | 74 int target_start, |
| 75 int target_end, | 75 int target_end, |
| 76 const std::wstring& ime_string); | 76 const std::wstring& ime_string); |
| 77 virtual bool ImeUpdateStatus(bool* enable_ime, | 77 virtual bool ImeUpdateStatus(bool* enable_ime, |
| 78 gfx::Rect* caret_rect); | 78 gfx::Rect* caret_rect); |
| 79 virtual void SetTextDirection(WebTextDirection direction); |
| 79 virtual void StopLoading(); | 80 virtual void StopLoading(); |
| 80 virtual void SetBackForwardListSize(int size); | 81 virtual void SetBackForwardListSize(int size); |
| 81 virtual void RestoreFocus(); | 82 virtual void RestoreFocus(); |
| 82 virtual void SetInitialFocus(bool reverse); | 83 virtual void SetInitialFocus(bool reverse); |
| 83 virtual bool DownloadImage(int id, const GURL& image_url, int image_size); | 84 virtual bool DownloadImage(int id, const GURL& image_url, int image_size); |
| 84 virtual void SetPreferences(const WebPreferences& preferences); | 85 virtual void SetPreferences(const WebPreferences& preferences); |
| 85 virtual const WebPreferences& GetPreferences(); | 86 virtual const WebPreferences& GetPreferences(); |
| 86 virtual void SetPageEncoding(const std::wstring& encoding_name); | 87 virtual void SetPageEncoding(const std::wstring& encoding_name); |
| 87 virtual std::wstring GetMainFrameEncodingName(); | 88 virtual std::wstring GetMainFrameEncodingName(); |
| 88 virtual void ZoomIn(bool text_only); | 89 virtual void ZoomIn(bool text_only); |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 static const WebInputEvent* current_input_event() { | 341 static const WebInputEvent* current_input_event() { |
| 341 return g_current_input_event; | 342 return g_current_input_event; |
| 342 } | 343 } |
| 343 private: | 344 private: |
| 344 static const WebInputEvent* g_current_input_event; | 345 static const WebInputEvent* g_current_input_event; |
| 345 | 346 |
| 346 DISALLOW_COPY_AND_ASSIGN(WebViewImpl); | 347 DISALLOW_COPY_AND_ASSIGN(WebViewImpl); |
| 347 }; | 348 }; |
| 348 | 349 |
| 349 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H_ | 350 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H_ |
| OLD | NEW |