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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior
) override final; | 73 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior
) override final; |
74 virtual bool confirmComposition(const WebString& text) override final; | 74 virtual bool confirmComposition(const WebString& text) override final; |
75 virtual bool compositionRange(size_t* location, size_t* length) override fin
al; | 75 virtual bool compositionRange(size_t* location, size_t* length) override fin
al; |
76 virtual bool caretOrSelectionRange(size_t* location, size_t* length) overrid
e final; | 76 virtual bool caretOrSelectionRange(size_t* location, size_t* length) overrid
e final; |
77 virtual void setTextDirection(WebTextDirection) override final; | 77 virtual void setTextDirection(WebTextDirection) override final; |
78 virtual bool isAcceleratedCompositingActive() const override final { return
false; } | 78 virtual bool isAcceleratedCompositingActive() const override final { return
false; } |
79 virtual bool isPopupMenu() const override final { return true; } | 79 virtual bool isPopupMenu() const override final { return true; } |
80 virtual void willCloseLayerTreeView() override final; | 80 virtual void willCloseLayerTreeView() override final; |
81 | 81 |
82 // WebContentLayerClient | 82 // WebContentLayerClient |
83 virtual void paintContents(WebCanvas*, const WebRect& clip, WebContentLayerC
lient::GraphicsContextStatus = GraphicsContextEnabled) override final; | 83 virtual void paintContents(WebCanvas*, const WebRect& clip, WebContentLayerC
lient::PaintingControlSetting = PaintDefaultBehavior) override final; |
84 virtual void paintContents(WebDisplayItemList*, const WebRect& clip, WebCont
entLayerClient::GraphicsContextStatus = GraphicsContextEnabled) override final {
} | 84 virtual void paintContents(WebDisplayItemList*, const WebRect& clip, WebCont
entLayerClient::PaintingControlSetting = PaintDefaultBehavior) override final {
} |
85 | 85 |
86 // WebPopupMenuImpl | 86 // WebPopupMenuImpl |
87 void initialize(PopupContainer* widget, const WebRect& bounds); | 87 void initialize(PopupContainer* widget, const WebRect& bounds); |
88 | 88 |
89 WebWidgetClient* client() { return m_client; } | 89 WebWidgetClient* client() { return m_client; } |
90 | 90 |
91 void handleMouseMove(const WebMouseEvent&); | 91 void handleMouseMove(const WebMouseEvent&); |
92 void handleMouseLeave(const WebMouseEvent&); | 92 void handleMouseLeave(const WebMouseEvent&); |
93 void handleMouseDown(const WebMouseEvent&); | 93 void handleMouseDown(const WebMouseEvent&); |
94 void handleMouseUp(const WebMouseEvent&); | 94 void handleMouseUp(const WebMouseEvent&); |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 }; | 128 }; |
129 | 129 |
130 DEFINE_TYPE_CASTS(WebPopupMenuImpl, WebWidget, widget, widget->isPopupMenu(), wi
dget.isPopupMenu()); | 130 DEFINE_TYPE_CASTS(WebPopupMenuImpl, WebWidget, widget, widget->isPopupMenu(), wi
dget.isPopupMenu()); |
131 // WebPopupMenuImpl is the only implementation of PopupContainerClient, so | 131 // WebPopupMenuImpl is the only implementation of PopupContainerClient, so |
132 // no need for further checking. | 132 // no need for further checking. |
133 DEFINE_TYPE_CASTS(WebPopupMenuImpl, PopupContainerClient, client, true, true); | 133 DEFINE_TYPE_CASTS(WebPopupMenuImpl, PopupContainerClient, client, true, true); |
134 | 134 |
135 } // namespace blink | 135 } // namespace blink |
136 | 136 |
137 #endif | 137 #endif |
OLD | NEW |