| 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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 int target_end, | 209 int target_end, |
| 210 const std::wstring& ime_string) { | 210 const std::wstring& ime_string) { |
| 211 return false; | 211 return false; |
| 212 } | 212 } |
| 213 | 213 |
| 214 bool WebWidgetImpl::ImeUpdateStatus(bool* enable_ime, | 214 bool WebWidgetImpl::ImeUpdateStatus(bool* enable_ime, |
| 215 gfx::Rect* caret_rect) { | 215 gfx::Rect* caret_rect) { |
| 216 return false; | 216 return false; |
| 217 } | 217 } |
| 218 | 218 |
| 219 void WebWidgetImpl::SetTextDirection(WebTextDirection direction) { |
| 220 } |
| 221 |
| 219 //----------------------------------------------------------------------------- | 222 //----------------------------------------------------------------------------- |
| 220 // WebCore::HostWindow | 223 // WebCore::HostWindow |
| 221 | 224 |
| 222 void WebWidgetImpl::repaint(const WebCore::IntRect& paint_rect, | 225 void WebWidgetImpl::repaint(const WebCore::IntRect& paint_rect, |
| 223 bool content_changed, | 226 bool content_changed, |
| 224 bool immediate, | 227 bool immediate, |
| 225 bool repaint_content_only) { | 228 bool repaint_content_only) { |
| 226 // Ignore spurious calls. | 229 // Ignore spurious calls. |
| 227 if (!content_changed || paint_rect.isEmpty()) | 230 if (!content_changed || paint_rect.isEmpty()) |
| 228 return; | 231 return; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 void WebWidgetImpl::onScrollPositionChanged(Widget* widget) { | 291 void WebWidgetImpl::onScrollPositionChanged(Widget* widget) { |
| 289 } | 292 } |
| 290 | 293 |
| 291 bool WebWidgetImpl::isHidden() { | 294 bool WebWidgetImpl::isHidden() { |
| 292 if (!delegate_) | 295 if (!delegate_) |
| 293 return true; | 296 return true; |
| 294 | 297 |
| 295 return delegate_->IsHidden(); | 298 return delegate_->IsHidden(); |
| 296 } | 299 } |
| 297 #endif | 300 #endif |
| OLD | NEW |