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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 virtual bool navigate(const TestNavigationEntry&, bool reload); | 128 virtual bool navigate(const TestNavigationEntry&, bool reload); |
129 | 129 |
130 // WebKit::WebPrerendererClient | 130 // WebKit::WebPrerendererClient |
131 virtual void willAddPrerender(WebKit::WebPrerender*) OVERRIDE; | 131 virtual void willAddPrerender(WebKit::WebPrerender*) OVERRIDE; |
132 | 132 |
133 // WebKit::WebViewClient | 133 // WebKit::WebViewClient |
134 virtual WebKit::WebView* createView(WebKit::WebFrame*, const WebKit::WebURLR
equest&, const WebKit::WebWindowFeatures&, const WebKit::WebString&, WebKit::Web
NavigationPolicy); | 134 virtual WebKit::WebView* createView(WebKit::WebFrame*, const WebKit::WebURLR
equest&, const WebKit::WebWindowFeatures&, const WebKit::WebString&, WebKit::Web
NavigationPolicy); |
135 virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType); | 135 virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType); |
136 virtual WebKit::WebWidget* createPopupMenu(const WebKit::WebPopupMenuInfo&); | 136 virtual WebKit::WebWidget* createPopupMenu(const WebKit::WebPopupMenuInfo&); |
137 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace(unsigned
quota); | 137 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace(unsigned
quota); |
| 138 virtual WebKit::WebColorChooser* createColorChooser(WebKit::WebColorChooserC
lient*, const WebKit::WebColor&) OVERRIDE; |
| 139 |
138 virtual void didAddMessageToConsole(const WebKit::WebConsoleMessage&, const
WebKit::WebString& sourceName, unsigned sourceLine); | 140 virtual void didAddMessageToConsole(const WebKit::WebConsoleMessage&, const
WebKit::WebString& sourceName, unsigned sourceLine); |
139 virtual void didStartLoading(); | 141 virtual void didStartLoading(); |
140 virtual void didStopLoading(); | 142 virtual void didStopLoading(); |
141 virtual bool shouldBeginEditing(const WebKit::WebRange&); | 143 virtual bool shouldBeginEditing(const WebKit::WebRange&); |
142 virtual bool shouldEndEditing(const WebKit::WebRange&); | 144 virtual bool shouldEndEditing(const WebKit::WebRange&); |
143 virtual bool shouldInsertNode(const WebKit::WebNode&, const WebKit::WebRange
&, WebKit::WebEditingAction); | 145 virtual bool shouldInsertNode(const WebKit::WebNode&, const WebKit::WebRange
&, WebKit::WebEditingAction); |
144 virtual bool shouldInsertText(const WebKit::WebString&, const WebKit::WebRan
ge&, WebKit::WebEditingAction); | 146 virtual bool shouldInsertText(const WebKit::WebString&, const WebKit::WebRan
ge&, WebKit::WebEditingAction); |
145 virtual bool shouldChangeSelectedRange(const WebKit::WebRange& from, const W
ebKit::WebRange& to, WebKit::WebTextAffinity, bool stillSelecting); | 147 virtual bool shouldChangeSelectedRange(const WebKit::WebRange& from, const W
ebKit::WebRange& to, WebKit::WebTextAffinity, bool stillSelecting); |
146 virtual bool shouldDeleteRange(const WebKit::WebRange&); | 148 virtual bool shouldDeleteRange(const WebKit::WebRange&); |
147 virtual bool shouldApplyStyle(const WebKit::WebString& style, const WebKit::
WebRange&); | 149 virtual bool shouldApplyStyle(const WebKit::WebString& style, const WebKit::
WebRange&); |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 OwnPtr<TestNavigationController> m_navigationController; | 281 OwnPtr<TestNavigationController> m_navigationController; |
280 | 282 |
281 WebTestRunner::WebTaskList m_taskList; | 283 WebTestRunner::WebTaskList m_taskList; |
282 Vector<WebKit::WebWidget*> m_popupmenus; | 284 Vector<WebKit::WebWidget*> m_popupmenus; |
283 | 285 |
284 OwnPtr<webkit_support::DRTLayerTreeViewClient> m_layerTreeViewClient; | 286 OwnPtr<webkit_support::DRTLayerTreeViewClient> m_layerTreeViewClient; |
285 OwnPtr<WebKit::WebLayerTreeView> m_layerTreeView; | 287 OwnPtr<WebKit::WebLayerTreeView> m_layerTreeView; |
286 }; | 288 }; |
287 | 289 |
288 #endif // WebViewHost_h | 290 #endif // WebViewHost_h |
OLD | NEW |