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

Side by Side Diff: sky/engine/public/web/WebViewClient.h

Issue 880713003: Rename scheduleAnimation() to scheduleVisualUpdate(). (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebase. Created 5 years, 10 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/platform/HostWindow.h ('k') | sky/engine/web/ChromeClientImpl.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 * 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 struct WebSize; 61 struct WebSize;
62 62
63 class WebViewClient { 63 class WebViewClient {
64 public: 64 public:
65 virtual ServiceProvider& services() = 0; 65 virtual ServiceProvider& services() = 0;
66 66
67 // Initialize compositing for this widget. 67 // Initialize compositing for this widget.
68 virtual void initializeLayerTreeView() { BLINK_ASSERT_NOT_REACHED(); }; 68 virtual void initializeLayerTreeView() { BLINK_ASSERT_NOT_REACHED(); };
69 69
70 // Called when the page should pump a frame. 70 // Called when the page should pump a frame.
71 virtual void scheduleAnimation() { } 71 virtual void scheduleVisualUpdate() { }
72 72
73 // TODO(esprehn): Sky needs to implement these to control the mojo::View. 73 // TODO(esprehn): Sky needs to implement these to control the mojo::View.
74 74
75 // Called to get/set the position of the widget in screen coordinates. 75 // Called to get/set the position of the widget in screen coordinates.
76 virtual WebRect windowRect() { return WebRect(); } 76 virtual WebRect windowRect() { return WebRect(); }
77 virtual void setWindowRect(const WebRect&) { } 77 virtual void setWindowRect(const WebRect&) { }
78 78
79 // Called to get the position of the root window containing the widget 79 // Called to get the position of the root window containing the widget
80 // in screen coordinates. 80 // in screen coordinates.
81 virtual WebRect rootWindowRect() { return WebRect(); } 81 virtual WebRect rootWindowRect() { return WebRect(); }
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 return WebPageVisibilityStateVisible; 162 return WebPageVisibilityStateVisible;
163 } 163 }
164 164
165 protected: 165 protected:
166 ~WebViewClient() { } 166 ~WebViewClient() { }
167 }; 167 };
168 168
169 } // namespace blink 169 } // namespace blink
170 170
171 #endif // SKY_ENGINE_PUBLIC_WEB_WEBVIEWCLIENT_H_ 171 #endif // SKY_ENGINE_PUBLIC_WEB_WEBVIEWCLIENT_H_
OLDNEW
« no previous file with comments | « sky/engine/platform/HostWindow.h ('k') | sky/engine/web/ChromeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698