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

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

Issue 2542203004: blink: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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/WebWidget.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 30 matching lines...) Expand all
41 #include "public/platform/WebScreenInfo.h" 41 #include "public/platform/WebScreenInfo.h"
42 #include "public/web/WebMeaningfulLayout.h" 42 #include "public/web/WebMeaningfulLayout.h"
43 #include "public/web/WebTextDirection.h" 43 #include "public/web/WebTextDirection.h"
44 #include "public/web/WebTouchAction.h" 44 #include "public/web/WebTouchAction.h"
45 45
46 namespace blink { 46 namespace blink {
47 47
48 class WebDragData; 48 class WebDragData;
49 class WebGestureEvent; 49 class WebGestureEvent;
50 class WebImage; 50 class WebImage;
51 class WebLocalFrame;
52 class WebNode; 51 class WebNode;
53 class WebString; 52 class WebString;
54 class WebWidget; 53 class WebWidget;
55 struct WebCursorInfo; 54 struct WebCursorInfo;
56 struct WebFloatPoint; 55 struct WebFloatPoint;
57 struct WebFloatRect; 56 struct WebFloatRect;
58 struct WebFloatSize; 57 struct WebFloatSize;
59 struct WebSize;
60 58
61 class WebWidgetClient { 59 class WebWidgetClient {
62 public: 60 public:
63 // Called when a region of the WebWidget needs to be re-painted. 61 // Called when a region of the WebWidget needs to be re-painted.
64 virtual void didInvalidateRect(const WebRect&) {} 62 virtual void didInvalidateRect(const WebRect&) {}
65 63
66 // Attempt to initialize compositing for this widget. If this is successful, 64 // Attempt to initialize compositing for this widget. If this is successful,
67 // layerTreeView() will return a valid WebLayerTreeView. 65 // layerTreeView() will return a valid WebLayerTreeView.
68 virtual void initializeLayerTreeView() {} 66 virtual void initializeLayerTreeView() {}
69 67
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 const WebImage& dragImage, 191 const WebImage& dragImage,
194 const WebPoint& dragImageOffset) {} 192 const WebPoint& dragImageOffset) {}
195 193
196 protected: 194 protected:
197 ~WebWidgetClient() {} 195 ~WebWidgetClient() {}
198 }; 196 };
199 197
200 } // namespace blink 198 } // namespace blink
201 199
202 #endif 200 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebWidget.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698