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

Side by Side Diff: third_party/WebKit/public/web/WebWidgetClient.h

Issue 2157113002: Move didFocus from WebWidgetClient to WebViewClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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 | « third_party/WebKit/public/web/WebViewClient.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 /* 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 // Called when a call to WebWidget::animate is required 71 // Called when a call to WebWidget::animate is required
72 virtual void scheduleAnimation() { } 72 virtual void scheduleAnimation() { }
73 73
74 // Called immediately following the first compositor-driven (frame-generatin g) layout that 74 // Called immediately following the first compositor-driven (frame-generatin g) layout that
75 // happened after an interesting document lifecyle change (see WebMeaningful Layout for details.) 75 // happened after an interesting document lifecyle change (see WebMeaningful Layout for details.)
76 virtual void didMeaningfulLayout(WebMeaningfulLayout) {} 76 virtual void didMeaningfulLayout(WebMeaningfulLayout) {}
77 77
78 virtual void didFirstLayoutAfterFinishedParsing() { } 78 virtual void didFirstLayoutAfterFinishedParsing() { }
79 79
80 // Called when the widget acquires or loses focus, respectively.
81 virtual void didFocus() { }
82 virtual void didBlur() { }
83
84 // Called when the cursor for the widget changes. 80 // Called when the cursor for the widget changes.
85 virtual void didChangeCursor(const WebCursorInfo&) { } 81 virtual void didChangeCursor(const WebCursorInfo&) { }
86 82
87 // Called when the widget should be closed. WebWidget::close() should 83 // Called when the widget should be closed. WebWidget::close() should
88 // be called asynchronously as a result of this notification. 84 // be called asynchronously as a result of this notification.
89 virtual void closeWidgetSoon() { } 85 virtual void closeWidgetSoon() { }
90 86
91 // Called to show the widget according to the given policy. 87 // Called to show the widget according to the given policy.
92 virtual void show(WebNavigationPolicy) { } 88 virtual void show(WebNavigationPolicy) { }
93 89
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 // migration is completed. 180 // migration is completed.
185 virtual void convertWindowToViewport(WebFloatRect* rect) {} 181 virtual void convertWindowToViewport(WebFloatRect* rect) {}
186 182
187 protected: 183 protected:
188 ~WebWidgetClient() { } 184 ~WebWidgetClient() { }
189 }; 185 };
190 186
191 } // namespace blink 187 } // namespace blink
192 188
193 #endif 189 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebViewClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698