| 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 #include "config.h" | 5 #include "config.h" |
| 6 | 6 |
| 7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
| 8 | 8 |
| 9 MSVC_PUSH_WARNING_LEVEL(0); | 9 MSVC_PUSH_WARNING_LEVEL(0); |
| 10 #include "Cursor.h" | 10 #include "Cursor.h" |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 int target_end, | 195 int target_end, |
| 196 const std::wstring& ime_string) { | 196 const std::wstring& ime_string) { |
| 197 return false; | 197 return false; |
| 198 } | 198 } |
| 199 | 199 |
| 200 bool WebWidgetImpl::ImeUpdateStatus(bool* enable_ime, | 200 bool WebWidgetImpl::ImeUpdateStatus(bool* enable_ime, |
| 201 gfx::Rect* caret_rect) { | 201 gfx::Rect* caret_rect) { |
| 202 return false; | 202 return false; |
| 203 } | 203 } |
| 204 | 204 |
| 205 void WebWidgetImpl::SetTextDirection(WebTextDirection direction) { |
| 206 } |
| 207 |
| 205 //----------------------------------------------------------------------------- | 208 //----------------------------------------------------------------------------- |
| 206 // WebCore::HostWindow | 209 // WebCore::HostWindow |
| 207 | 210 |
| 208 void WebWidgetImpl::repaint(const WebCore::IntRect& paint_rect, | 211 void WebWidgetImpl::repaint(const WebCore::IntRect& paint_rect, |
| 209 bool content_changed, | 212 bool content_changed, |
| 210 bool immediate, | 213 bool immediate, |
| 211 bool repaint_content_only) { | 214 bool repaint_content_only) { |
| 212 // Ignore spurious calls. | 215 // Ignore spurious calls. |
| 213 if (!content_changed || paint_rect.isEmpty()) | 216 if (!content_changed || paint_rect.isEmpty()) |
| 214 return; | 217 return; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 void WebWidgetImpl::onScrollPositionChanged(Widget* widget) { | 277 void WebWidgetImpl::onScrollPositionChanged(Widget* widget) { |
| 275 } | 278 } |
| 276 | 279 |
| 277 bool WebWidgetImpl::isHidden() { | 280 bool WebWidgetImpl::isHidden() { |
| 278 if (!delegate_) | 281 if (!delegate_) |
| 279 return true; | 282 return true; |
| 280 | 283 |
| 281 return delegate_->IsHidden(); | 284 return delegate_->IsHidden(); |
| 282 } | 285 } |
| 283 #endif | 286 #endif |
| OLD | NEW |