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

Side by Side Diff: sky/engine/web/ChromeClientImpl.cpp

Issue 880713003: Rename scheduleAnimation() to scheduleVisualUpdate(). (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebase. Created 5 years, 11 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
« no previous file with comments | « sky/engine/web/ChromeClientImpl.h ('k') | sky/engine/web/WebViewImpl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 WebLocalFrameImpl* frame = WebLocalFrameImpl::fromFrame(localFrame); 202 WebLocalFrameImpl* frame = WebLocalFrameImpl::fromFrame(localFrame);
203 if (frame && frame->client()) { 203 if (frame && frame->client()) {
204 frame->client()->didAddMessageToConsole( 204 frame->client()->didAddMessageToConsole(
205 WebConsoleMessage(static_cast<WebConsoleMessage::Level>(level), mess age), 205 WebConsoleMessage(static_cast<WebConsoleMessage::Level>(level), mess age),
206 sourceID, 206 sourceID,
207 lineNumber, 207 lineNumber,
208 stackTrace); 208 stackTrace);
209 } 209 }
210 } 210 }
211 211
212 void ChromeClientImpl::scheduleAnimation() 212 void ChromeClientImpl::scheduleVisualUpdate()
213 { 213 {
214 m_webView->scheduleAnimation(); 214 m_webView->scheduleVisualUpdate();
215 } 215 }
216 216
217 IntRect ChromeClientImpl::rootViewToScreen(const IntRect& rect) const 217 IntRect ChromeClientImpl::rootViewToScreen(const IntRect& rect) const
218 { 218 {
219 IntRect screenRect(rect); 219 IntRect screenRect(rect);
220 220
221 if (m_webView->client()) { 221 if (m_webView->client()) {
222 WebRect windowRect = m_webView->client()->windowRect(); 222 WebRect windowRect = m_webView->client()->windowRect();
223 screenRect.move(windowRect.x, windowRect.y); 223 screenRect.move(windowRect.x, windowRect.y);
224 } 224 }
(...skipping 23 matching lines...) Expand all
248 String ChromeClientImpl::acceptLanguages() 248 String ChromeClientImpl::acceptLanguages()
249 { 249 {
250 return m_webView->client()->acceptLanguages(); 250 return m_webView->client()->acceptLanguages();
251 } 251 }
252 252
253 void ChromeClientImpl::willSetInputMethodState() 253 void ChromeClientImpl::willSetInputMethodState()
254 { 254 {
255 } 255 }
256 256
257 } // namespace blink 257 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/web/ChromeClientImpl.h ('k') | sky/engine/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698