| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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, |
| 75 const void** node, | 75 const void** node, |
| 76 gfx::Rect* caret_rect); | 76 gfx::Rect* caret_rect); |
| 77 virtual void StopLoading(); | 77 virtual void StopLoading(); |
| 78 virtual void SetBackForwardListSize(int size); | 78 virtual void SetBackForwardListSize(int size); |
| 79 virtual void RestoreFocus(); | 79 virtual void RestoreFocus(); |
| 80 virtual void SetInitialFocus(bool reverse); | 80 virtual void SetInitialFocus(bool reverse); |
| 81 virtual bool FocusedFrameNeedsSpellchecking(); | |
| 82 virtual bool DownloadImage(int id, const GURL& image_url, int image_size); | 81 virtual bool DownloadImage(int id, const GURL& image_url, int image_size); |
| 83 virtual void SetPreferences(const WebPreferences& preferences); | 82 virtual void SetPreferences(const WebPreferences& preferences); |
| 84 virtual const WebPreferences& GetPreferences(); | 83 virtual const WebPreferences& GetPreferences(); |
| 85 virtual void SetPageEncoding(const std::wstring& encoding_name); | 84 virtual void SetPageEncoding(const std::wstring& encoding_name); |
| 86 virtual std::wstring GetMainFrameEncodingName(); | 85 virtual std::wstring GetMainFrameEncodingName(); |
| 87 virtual void ZoomIn(bool text_only); | 86 virtual void ZoomIn(bool text_only); |
| 88 virtual void ZoomOut(bool text_only); | 87 virtual void ZoomOut(bool text_only); |
| 89 virtual void ResetZoom(); | 88 virtual void ResetZoom(); |
| 90 virtual void CopyImageAt(int x, int y); | 89 virtual void CopyImageAt(int x, int y); |
| 91 virtual void InspectElement(int x, int y); | 90 virtual void InspectElement(int x, int y); |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 return g_current_input_event; | 310 return g_current_input_event; |
| 312 } | 311 } |
| 313 private: | 312 private: |
| 314 static const WebInputEvent* g_current_input_event; | 313 static const WebInputEvent* g_current_input_event; |
| 315 | 314 |
| 316 DISALLOW_EVIL_CONSTRUCTORS(WebViewImpl); | 315 DISALLOW_EVIL_CONSTRUCTORS(WebViewImpl); |
| 317 }; | 316 }; |
| 318 | 317 |
| 319 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H__ | 318 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H__ |
| 320 | 319 |
| OLD | NEW |