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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 public: | 65 public: |
66 // WebWidget functions: | 66 // WebWidget functions: |
67 virtual void close() OVERRIDE FINAL; | 67 virtual void close() OVERRIDE FINAL; |
68 virtual WebSize size() OVERRIDE FINAL { return m_size; } | 68 virtual WebSize size() OVERRIDE FINAL { return m_size; } |
69 virtual void willStartLiveResize() OVERRIDE FINAL; | 69 virtual void willStartLiveResize() OVERRIDE FINAL; |
70 virtual void resize(const WebSize&) OVERRIDE FINAL; | 70 virtual void resize(const WebSize&) OVERRIDE FINAL; |
71 virtual void willEndLiveResize() OVERRIDE FINAL; | 71 virtual void willEndLiveResize() OVERRIDE FINAL; |
72 virtual void animate(double frameBeginTime) OVERRIDE FINAL; | 72 virtual void animate(double frameBeginTime) OVERRIDE FINAL; |
73 virtual void layout() OVERRIDE FINAL; | 73 virtual void layout() OVERRIDE FINAL; |
74 virtual void enterForceCompositingMode(bool enable) OVERRIDE FINAL; | 74 virtual void enterForceCompositingMode(bool enable) OVERRIDE FINAL; |
75 virtual void paint(WebCanvas*, const WebRect&, PaintOptions = ReadbackFromCo
mpositorIfAvailable) OVERRIDE FINAL; | 75 virtual void paint(WebCanvas*, const WebRect&) OVERRIDE FINAL; |
76 virtual void themeChanged() OVERRIDE FINAL; | 76 virtual void themeChanged() OVERRIDE FINAL; |
77 virtual bool handleInputEvent(const WebInputEvent&) OVERRIDE FINAL; | 77 virtual bool handleInputEvent(const WebInputEvent&) OVERRIDE FINAL; |
78 virtual void mouseCaptureLost() OVERRIDE FINAL; | 78 virtual void mouseCaptureLost() OVERRIDE FINAL; |
79 virtual void setFocus(bool enable) OVERRIDE FINAL; | 79 virtual void setFocus(bool enable) OVERRIDE FINAL; |
80 virtual bool setComposition( | 80 virtual bool setComposition( |
81 const WebString& text, | 81 const WebString& text, |
82 const WebVector<WebCompositionUnderline>& underlines, | 82 const WebVector<WebCompositionUnderline>& underlines, |
83 int selectionStart, int selectionEnd) OVERRIDE FINAL; | 83 int selectionStart, int selectionEnd) OVERRIDE FINAL; |
84 virtual bool confirmComposition() OVERRIDE FINAL; | 84 virtual bool confirmComposition() OVERRIDE FINAL; |
85 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior
) OVERRIDE FINAL; | 85 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior
) OVERRIDE FINAL; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 }; | 145 }; |
146 | 146 |
147 DEFINE_TYPE_CASTS(WebPopupMenuImpl, WebWidget, widget, widget->isPopupMenu(), wi
dget.isPopupMenu()); | 147 DEFINE_TYPE_CASTS(WebPopupMenuImpl, WebWidget, widget, widget->isPopupMenu(), wi
dget.isPopupMenu()); |
148 // WebPopupMenuImpl is the only implementation of FramelessScrollViewClient, so | 148 // WebPopupMenuImpl is the only implementation of FramelessScrollViewClient, so |
149 // no need for further checking. | 149 // no need for further checking. |
150 DEFINE_TYPE_CASTS(WebPopupMenuImpl, WebCore::FramelessScrollViewClient, client,
true, true); | 150 DEFINE_TYPE_CASTS(WebPopupMenuImpl, WebCore::FramelessScrollViewClient, client,
true, true); |
151 | 151 |
152 } // namespace blink | 152 } // namespace blink |
153 | 153 |
154 #endif | 154 #endif |
OLD | NEW |