OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 #include "public/platform/WebRect.h" | 45 #include "public/platform/WebRect.h" |
46 #include "public/platform/WebURLError.h" | 46 #include "public/platform/WebURLError.h" |
47 #include "public/platform/WebURLRequest.h" | 47 #include "public/platform/WebURLRequest.h" |
48 #include <map> | 48 #include <map> |
49 #include <memory> | 49 #include <memory> |
50 #include <string> | 50 #include <string> |
51 | 51 |
52 namespace WebKit { | 52 namespace WebKit { |
53 class WebAccessibilityObject; | 53 class WebAccessibilityObject; |
54 class WebCachedURLRequest; | 54 class WebCachedURLRequest; |
| 55 class WebColorChooser; |
| 56 class WebColorChooserClient; |
55 class WebDataSource; | 57 class WebDataSource; |
56 class WebDeviceOrientationClient; | 58 class WebDeviceOrientationClient; |
57 class WebDeviceOrientationClientMock; | 59 class WebDeviceOrientationClientMock; |
58 class WebDragData; | 60 class WebDragData; |
59 class WebFrame; | 61 class WebFrame; |
60 class WebGeolocationClient; | 62 class WebGeolocationClient; |
61 class WebGeolocationClientMock; | 63 class WebGeolocationClientMock; |
62 class WebImage; | 64 class WebImage; |
63 class WebMediaPlayer; | 65 class WebMediaPlayer; |
64 class WebMediaPlayerClient; | 66 class WebMediaPlayerClient; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 class WebUserMediaClientMock; | 100 class WebUserMediaClientMock; |
99 | 101 |
100 class WEBTESTRUNNER_EXPORT WebTestProxyBase { | 102 class WEBTESTRUNNER_EXPORT WebTestProxyBase { |
101 public: | 103 public: |
102 void setInterfaces(WebTestInterfaces*); | 104 void setInterfaces(WebTestInterfaces*); |
103 void setDelegate(WebTestDelegate*); | 105 void setDelegate(WebTestDelegate*); |
104 | 106 |
105 void reset(); | 107 void reset(); |
106 | 108 |
107 WebKit::WebSpellCheckClient *spellCheckClient() const; | 109 WebKit::WebSpellCheckClient *spellCheckClient() const; |
| 110 WebKit::WebColorChooser* createColorChooser(WebKit::WebColorChooserClient*)
const; |
108 | 111 |
109 std::string captureTree(bool debugRenderTree); | 112 std::string captureTree(bool debugRenderTree); |
110 SkCanvas* capturePixels(); | 113 SkCanvas* capturePixels(); |
111 | 114 |
112 void setLogConsoleOutput(bool enabled); | 115 void setLogConsoleOutput(bool enabled); |
113 | 116 |
114 // FIXME: Make this private again. | 117 // FIXME: Make this private again. |
115 void scheduleComposite(); | 118 void scheduleComposite(); |
116 | 119 |
117 #if WEBTESTRUNNER_IMPLEMENTATION | 120 #if WEBTESTRUNNER_IMPLEMENTATION |
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
595 { | 598 { |
596 if (WebTestProxyBase::willCheckAndDispatchMessageEvent(sourceFrame, targ
etFrame, target, event)) | 599 if (WebTestProxyBase::willCheckAndDispatchMessageEvent(sourceFrame, targ
etFrame, target, event)) |
597 return true; | 600 return true; |
598 return Base::willCheckAndDispatchMessageEvent(sourceFrame, targetFrame,
target, event); | 601 return Base::willCheckAndDispatchMessageEvent(sourceFrame, targetFrame,
target, event); |
599 } | 602 } |
600 }; | 603 }; |
601 | 604 |
602 } | 605 } |
603 | 606 |
604 #endif // WebTestProxy_h | 607 #endif // WebTestProxy_h |
OLD | NEW |