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

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

Issue 39252: A tricky fix for Issue 1845.... (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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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