OLD | NEW |
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 23 matching lines...) Expand all Loading... |
34 #include "../platform/WebPageVisibilityState.h" | 34 #include "../platform/WebPageVisibilityState.h" |
35 #include "../platform/WebString.h" | 35 #include "../platform/WebString.h" |
36 #include "WebAXEnums.h" | 36 #include "WebAXEnums.h" |
37 #include "WebFrame.h" | 37 #include "WebFrame.h" |
38 #include "WebPopupType.h" | 38 #include "WebPopupType.h" |
39 #include "WebTextDirection.h" | 39 #include "WebTextDirection.h" |
40 #include "WebWidgetClient.h" | 40 #include "WebWidgetClient.h" |
41 | 41 |
42 namespace blink { | 42 namespace blink { |
43 | 43 |
44 class WebAXObject; | |
45 class WebDateTimeChooserCompletion; | 44 class WebDateTimeChooserCompletion; |
46 class WebFileChooserCompletion; | 45 class WebFileChooserCompletion; |
47 class WebHitTestResult; | 46 class WebHitTestResult; |
48 class WebNode; | 47 class WebNode; |
49 class WebSpeechRecognizer; | 48 class WebSpeechRecognizer; |
50 class WebStorageNamespace; | 49 class WebStorageNamespace; |
51 class WebURL; | 50 class WebURL; |
52 class WebURLRequest; | 51 class WebURLRequest; |
53 class WebView; | 52 class WebView; |
54 class WebWidget; | 53 class WebWidget; |
55 struct WebDateTimeChooserParams; | 54 struct WebDateTimeChooserParams; |
56 struct WebPoint; | 55 struct WebPoint; |
57 struct WebPopupMenuInfo; | |
58 struct WebRect; | 56 struct WebRect; |
59 struct WebSize; | 57 struct WebSize; |
60 struct WebWindowFeatures; | 58 struct WebWindowFeatures; |
61 | 59 |
62 // Since a WebView is a WebWidget, a WebViewClient is a WebWidgetClient. | 60 // Since a WebView is a WebWidget, a WebViewClient is a WebWidgetClient. |
63 // Virtual inheritance allows an implementation of WebWidgetClient to be | 61 // Virtual inheritance allows an implementation of WebWidgetClient to be |
64 // easily reused as part of an implementation of WebViewClient. | 62 // easily reused as part of an implementation of WebViewClient. |
65 class WebViewClient : protected WebWidgetClient { | 63 class WebViewClient : protected WebWidgetClient { |
66 public: | 64 public: |
67 // Factory methods ----------------------------------------------------- | 65 // Factory methods ----------------------------------------------------- |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 void show(WebNavigationPolicy) override {} | 283 void show(WebNavigationPolicy) override {} |
286 virtual WebWidgetClient* widgetClient() { return this; } | 284 virtual WebWidgetClient* widgetClient() { return this; } |
287 | 285 |
288 protected: | 286 protected: |
289 ~WebViewClient() {} | 287 ~WebViewClient() {} |
290 }; | 288 }; |
291 | 289 |
292 } // namespace blink | 290 } // namespace blink |
293 | 291 |
294 #endif | 292 #endif |
OLD | NEW |