Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1342)

Side by Side Diff: webkit/glue/webwidget_impl.cc

Issue 42495: A tricky fix for Issue 1845 (Take 2).... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/webwidget_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « webkit/glue/webwidget_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698