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

Side by Side Diff: sky/engine/web/WebViewImpl.h

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.cpp ('k') | sky/engine/web/WebViewImpl.cpp » ('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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 156
157 // Indicates two things: 157 // Indicates two things:
158 // 1) This view may have a new layout now. 158 // 1) This view may have a new layout now.
159 // 2) Calling layout() is a no-op. 159 // 2) Calling layout() is a no-op.
160 // After calling WebWidget::layout(), expect to get this notification 160 // After calling WebWidget::layout(), expect to get this notification
161 // unless the view did not need a layout. 161 // unless the view did not need a layout.
162 void layoutUpdated(WebLocalFrameImpl*); 162 void layoutUpdated(WebLocalFrameImpl*);
163 163
164 void updateMainFrameLayoutSize(); 164 void updateMainFrameLayoutSize();
165 165
166 void scheduleAnimation(); 166 void scheduleVisualUpdate();
167 167
168 virtual void setVisibilityState(WebPageVisibilityState, bool) override; 168 virtual void setVisibilityState(WebPageVisibilityState, bool) override;
169 169
170 // Exposed for the purpose of overriding device metrics. 170 // Exposed for the purpose of overriding device metrics.
171 void sendResizeEventAndRepaint(); 171 void sendResizeEventAndRepaint();
172 172
173 WebSettingsImpl* settingsImpl(); 173 WebSettingsImpl* settingsImpl();
174 174
175 IntPoint clampOffsetAtScale(const IntPoint& offset, float scale); 175 IntPoint clampOffsetAtScale(const IntPoint& offset, float scale);
176 176
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 WebColor m_backgroundColorOverride; 263 WebColor m_backgroundColorOverride;
264 }; 264 };
265 265
266 // We have no ways to check if the specified WebView is an instance of 266 // We have no ways to check if the specified WebView is an instance of
267 // WebViewImpl because WebViewImpl is the only implementation of WebView. 267 // WebViewImpl because WebViewImpl is the only implementation of WebView.
268 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 268 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
269 269
270 } // namespace blink 270 } // namespace blink
271 271
272 #endif // SKY_ENGINE_WEB_WEBVIEWIMPL_H_ 272 #endif // SKY_ENGINE_WEB_WEBVIEWIMPL_H_
OLDNEW
« no previous file with comments | « sky/engine/web/ChromeClientImpl.cpp ('k') | sky/engine/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698