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

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

Issue 248313003: Remove Hack used in blink side for merging dependent chromium and blink patches. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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 | « no previous file | 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 virtual void didInvalidateRect(const WebRect&) { } 52 virtual void didInvalidateRect(const WebRect&) { }
53 53
54 // Called when a region of the WebWidget, given by clipRect, should be 54 // Called when a region of the WebWidget, given by clipRect, should be
55 // scrolled by the specified dx and dy amounts. 55 // scrolled by the specified dx and dy amounts.
56 virtual void didScrollRect(int dx, int dy, const WebRect& clipRect) { } 56 virtual void didScrollRect(int dx, int dy, const WebRect& clipRect) { }
57 57
58 // Called when the Widget has changed size as a result of an auto-resize. 58 // Called when the Widget has changed size as a result of an auto-resize.
59 virtual void didAutoResize(const WebSize& newSize) { } 59 virtual void didAutoResize(const WebSize& newSize) { }
60 60
61 // Called when the compositor is enabled or disabled. 61 // Called when the compositor is enabled or disabled.
62 // The parameter to didActivateCompositor() is meaningless.
63 // FIXME: The older definiton of didActivateCompositor (i.e with arguments)
64 // and all its corresponding call is to removed once the dependent chromium
65 // side patch https://codereview.chromium.org/137893025/ lands and all overr ides
66 // of older definition are removed from chromium side.
67 virtual void didActivateCompositor() { } 62 virtual void didActivateCompositor() { }
68 virtual void didActivateCompositor(int deprecated) { }
69 virtual void didDeactivateCompositor() { } 63 virtual void didDeactivateCompositor() { }
70 64
71 // Attempt to initialize compositing for this widget. If this is successful, 65 // Attempt to initialize compositing for this widget. If this is successful,
72 // layerTreeView() will return a valid WebLayerTreeView. 66 // layerTreeView() will return a valid WebLayerTreeView.
73 virtual void initializeLayerTreeView() { } 67 virtual void initializeLayerTreeView() { }
74 68
75 // Return a compositing view used for this widget. This is owned by the 69 // Return a compositing view used for this widget. This is owned by the
76 // WebWidgetClient. 70 // WebWidgetClient.
77 virtual WebLayerTreeView* layerTreeView() { return 0; } 71 virtual WebLayerTreeView* layerTreeView() { return 0; }
78 72
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 // modified by script, not by user input. 184 // modified by script, not by user input.
191 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } 185 virtual void didUpdateTextOfFocusedElementByNonUserInput() { }
192 186
193 protected: 187 protected:
194 ~WebWidgetClient() { } 188 ~WebWidgetClient() { }
195 }; 189 };
196 190
197 } // namespace blink 191 } // namespace blink
198 192
199 #endif 193 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698