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 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 // contents of the page overlay. It also provides an z-order number for | 485 // contents of the page overlay. It also provides an z-order number for |
486 // the page overlay. The z-order number defines the paint order the page | 486 // the page overlay. The z-order number defines the paint order the page |
487 // overlays. Page overlays with larger z-order number will be painted after | 487 // overlays. Page overlays with larger z-order number will be painted after |
488 // page overlays with smaller z-order number. That is, they appear above | 488 // page overlays with smaller z-order number. That is, they appear above |
489 // the page overlays with smaller z-order number. If two page overlays have | 489 // the page overlays with smaller z-order number. If two page overlays have |
490 // the same z-order number, the later added one will be on top. | 490 // the same z-order number, the later added one will be on top. |
491 virtual void addPageOverlay(WebPageOverlay*, int /*z-order*/) = 0; | 491 virtual void addPageOverlay(WebPageOverlay*, int /*z-order*/) = 0; |
492 virtual void removePageOverlay(WebPageOverlay*) = 0; | 492 virtual void removePageOverlay(WebPageOverlay*) = 0; |
493 | 493 |
494 | 494 |
| 495 // i18n ----------------------------------------------------------------- |
| 496 |
| 497 // Inform the WebView that the accept languages have changed. |
| 498 // If the WebView wants to get the accept languages value, it will have |
| 499 // to call the WebViewClient::acceptLanguages(). |
| 500 virtual void acceptLanguagesChanged() = 0; |
| 501 |
495 // Testing functionality for TestRunner --------------------------------- | 502 // Testing functionality for TestRunner --------------------------------- |
496 | 503 |
497 protected: | 504 protected: |
498 ~WebView() {} | 505 ~WebView() {} |
499 }; | 506 }; |
500 | 507 |
501 } // namespace blink | 508 } // namespace blink |
502 | 509 |
503 #endif | 510 #endif |
OLD | NEW |