| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior
) OVERRIDE FINAL; | 80 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior
) OVERRIDE FINAL; |
| 81 virtual bool confirmComposition(const WebString& text) OVERRIDE FINAL; | 81 virtual bool confirmComposition(const WebString& text) OVERRIDE FINAL; |
| 82 virtual bool compositionRange(size_t* location, size_t* length) OVERRIDE FIN
AL; | 82 virtual bool compositionRange(size_t* location, size_t* length) OVERRIDE FIN
AL; |
| 83 virtual bool caretOrSelectionRange(size_t* location, size_t* length) OVERRID
E FINAL; | 83 virtual bool caretOrSelectionRange(size_t* location, size_t* length) OVERRID
E FINAL; |
| 84 virtual void setTextDirection(WebTextDirection) OVERRIDE FINAL; | 84 virtual void setTextDirection(WebTextDirection) OVERRIDE FINAL; |
| 85 virtual bool isAcceleratedCompositingActive() const OVERRIDE FINAL { return
false; } | 85 virtual bool isAcceleratedCompositingActive() const OVERRIDE FINAL { return
false; } |
| 86 virtual bool isPopupMenu() const OVERRIDE FINAL { return true; } | 86 virtual bool isPopupMenu() const OVERRIDE FINAL { return true; } |
| 87 virtual void willCloseLayerTreeView() OVERRIDE FINAL; | 87 virtual void willCloseLayerTreeView() OVERRIDE FINAL; |
| 88 | 88 |
| 89 // WebContentLayerClient | 89 // WebContentLayerClient |
| 90 virtual void paintContents(WebCanvas*, const WebRect& clip, bool canPaintLCD
Test, WebFloatRect& opaque, | 90 virtual void paintContents(WebCanvas*, const WebRect& clip, bool canPaintLCD
Test, WebFloatRect& opaque, WebContentLayerClient::GraphicsContextStatus = Graph
icsContextEnabled) OVERRIDE FINAL; |
| 91 WebContentLayerClient::GraphicsContextStatus = GraphicsContextEnabled) O
VERRIDE FINAL; | 91 virtual void paintContents(WebCanvas*, const WebRect& clip, bool canPaintLCD
Test, WebContentLayerClient::GraphicsContextStatus = GraphicsContextEnabled) OVE
RRIDE FINAL; |
| 92 | 92 |
| 93 // WebPopupMenuImpl | 93 // WebPopupMenuImpl |
| 94 void initialize(PopupContainer* widget, const WebRect& bounds); | 94 void initialize(PopupContainer* widget, const WebRect& bounds); |
| 95 | 95 |
| 96 WebWidgetClient* client() { return m_client; } | 96 WebWidgetClient* client() { return m_client; } |
| 97 | 97 |
| 98 void handleMouseMove(const WebMouseEvent&); | 98 void handleMouseMove(const WebMouseEvent&); |
| 99 void handleMouseLeave(const WebMouseEvent&); | 99 void handleMouseLeave(const WebMouseEvent&); |
| 100 void handleMouseDown(const WebMouseEvent&); | 100 void handleMouseDown(const WebMouseEvent&); |
| 101 void handleMouseUp(const WebMouseEvent&); | 101 void handleMouseUp(const WebMouseEvent&); |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 }; | 136 }; |
| 137 | 137 |
| 138 DEFINE_TYPE_CASTS(WebPopupMenuImpl, WebWidget, widget, widget->isPopupMenu(), wi
dget.isPopupMenu()); | 138 DEFINE_TYPE_CASTS(WebPopupMenuImpl, WebWidget, widget, widget->isPopupMenu(), wi
dget.isPopupMenu()); |
| 139 // WebPopupMenuImpl is the only implementation of PopupContainerClient, so | 139 // WebPopupMenuImpl is the only implementation of PopupContainerClient, so |
| 140 // no need for further checking. | 140 // no need for further checking. |
| 141 DEFINE_TYPE_CASTS(WebPopupMenuImpl, PopupContainerClient, client, true, true); | 141 DEFINE_TYPE_CASTS(WebPopupMenuImpl, PopupContainerClient, client, true, true); |
| 142 | 142 |
| 143 } // namespace blink | 143 } // namespace blink |
| 144 | 144 |
| 145 #endif | 145 #endif |
| OLD | NEW |