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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 virtual unsigned long CreateUniqueIdentifierForRequest() = 0; | 362 virtual unsigned long CreateUniqueIdentifierForRequest() = 0; |
363 | 363 |
364 // Developer tools ----------------------------------------------------- | 364 // Developer tools ----------------------------------------------------- |
365 | 365 |
366 // Enables device emulation as specified in params. | 366 // Enables device emulation as specified in params. |
367 virtual void EnableDeviceEmulation(const WebDeviceEmulationParams&) = 0; | 367 virtual void EnableDeviceEmulation(const WebDeviceEmulationParams&) = 0; |
368 | 368 |
369 // Cancel emulation started via |enableDeviceEmulation| call. | 369 // Cancel emulation started via |enableDeviceEmulation| call. |
370 virtual void DisableDeviceEmulation() = 0; | 370 virtual void DisableDeviceEmulation() = 0; |
371 | 371 |
372 | |
373 // Context menu -------------------------------------------------------- | 372 // Context menu -------------------------------------------------------- |
374 | 373 |
375 virtual void PerformCustomContextMenuAction(unsigned action) = 0; | 374 virtual void PerformCustomContextMenuAction(unsigned action) = 0; |
376 | 375 |
377 // Notify that context menu has been closed. | 376 // Notify that context menu has been closed. |
378 virtual void DidCloseContextMenu() = 0; | 377 virtual void DidCloseContextMenu() = 0; |
379 | 378 |
380 // Popup menu ---------------------------------------------------------- | 379 // Popup menu ---------------------------------------------------------- |
381 | 380 |
382 // Sets whether select popup menus should be rendered by the browser. | 381 // Sets whether select popup menus should be rendered by the browser. |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 // completed. | 473 // completed. |
475 WebWidget* GetWidget() { return this; } | 474 WebWidget* GetWidget() { return this; } |
476 | 475 |
477 protected: | 476 protected: |
478 ~WebView() {} | 477 ~WebView() {} |
479 }; | 478 }; |
480 | 479 |
481 } // namespace blink | 480 } // namespace blink |
482 | 481 |
483 #endif | 482 #endif |
OLD | NEW |