| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010, 2011, 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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 // Autofill profile in the suggestions popup. If a unique ID is 0, then the | 353 // Autofill profile in the suggestions popup. If a unique ID is 0, then the |
| 354 // corresponding suggestion comes from Autocomplete rather than Autofill. | 354 // corresponding suggestion comes from Autocomplete rather than Autofill. |
| 355 // If a unique ID is negative, then the corresponding "suggestion" is | 355 // If a unique ID is negative, then the corresponding "suggestion" is |
| 356 // actually a user-facing warning, e.g. explaining why Autofill is | 356 // actually a user-facing warning, e.g. explaining why Autofill is |
| 357 // unavailable for the current form. | 357 // unavailable for the current form. |
| 358 virtual void applyAutofillSuggestions( | 358 virtual void applyAutofillSuggestions( |
| 359 const WebNode&, | 359 const WebNode&, |
| 360 const WebVector<WebString>& names, | 360 const WebVector<WebString>& names, |
| 361 const WebVector<WebString>& labels, | 361 const WebVector<WebString>& labels, |
| 362 const WebVector<WebString>& icons, | 362 const WebVector<WebString>& icons, |
| 363 const WebVector<int>& uniqueIDs, | 363 const WebVector<int>& itemIDs) = 0; |
| 364 int separatorIndex) = 0; | |
| 365 | 364 |
| 366 // Hides any popup (suggestions, selects...) that might be showing. | 365 // Hides any popup (suggestions, selects...) that might be showing. |
| 367 virtual void hidePopups() = 0; | 366 virtual void hidePopups() = 0; |
| 368 | 367 |
| 369 | 368 |
| 370 // Context menu -------------------------------------------------------- | 369 // Context menu -------------------------------------------------------- |
| 371 | 370 |
| 372 virtual void performCustomContextMenuAction(unsigned action) = 0; | 371 virtual void performCustomContextMenuAction(unsigned action) = 0; |
| 373 | 372 |
| 374 | 373 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 // Simulates a compositor lost context. | 458 // Simulates a compositor lost context. |
| 460 virtual void loseCompositorContext(int numTimes) = 0; | 459 virtual void loseCompositorContext(int numTimes) = 0; |
| 461 | 460 |
| 462 protected: | 461 protected: |
| 463 ~WebView() {} | 462 ~WebView() {} |
| 464 }; | 463 }; |
| 465 | 464 |
| 466 } // namespace WebKit | 465 } // namespace WebKit |
| 467 | 466 |
| 468 #endif | 467 #endif |
| OLD | NEW |