| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ |
| 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ | 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 // WebKit::WebWidgetClient | 115 // WebKit::WebWidgetClient |
| 116 virtual void willBeginCompositorFrame(); | 116 virtual void willBeginCompositorFrame(); |
| 117 virtual void didInvalidateRect(const WebKit::WebRect&); | 117 virtual void didInvalidateRect(const WebKit::WebRect&); |
| 118 virtual void didScrollRect(int dx, int dy, const WebKit::WebRect& clipRect); | 118 virtual void didScrollRect(int dx, int dy, const WebKit::WebRect& clipRect); |
| 119 virtual void didAutoResize(const WebKit::WebSize& new_size); | 119 virtual void didAutoResize(const WebKit::WebSize& new_size); |
| 120 virtual void didActivateCompositor(int input_handler_identifier); | 120 virtual void didActivateCompositor(int input_handler_identifier); |
| 121 virtual void didDeactivateCompositor(); | 121 virtual void didDeactivateCompositor(); |
| 122 virtual void didBecomeReadyForAdditionalInput(); | 122 virtual void didBecomeReadyForAdditionalInput(); |
| 123 virtual void didCommitAndDrawCompositorFrame(); | 123 virtual void didCommitAndDrawCompositorFrame(); |
| 124 virtual void didCompleteSwapBuffers(); | 124 virtual void didCompleteSwapBuffers(); |
| 125 #if defined(WEBWIDGETCLIENT_SCHEDULECOMPOSITE_RETURNS_BOOL) |
| 126 virtual bool scheduleComposite(); |
| 127 #else |
| 125 virtual void scheduleComposite(); | 128 virtual void scheduleComposite(); |
| 129 #endif |
| 126 virtual void scheduleAnimation(); | 130 virtual void scheduleAnimation(); |
| 127 virtual void didFocus(); | 131 virtual void didFocus(); |
| 128 virtual void didBlur(); | 132 virtual void didBlur(); |
| 129 virtual void didChangeCursor(const WebKit::WebCursorInfo&); | 133 virtual void didChangeCursor(const WebKit::WebCursorInfo&); |
| 130 virtual void closeWidgetSoon(); | 134 virtual void closeWidgetSoon(); |
| 131 virtual void show(WebKit::WebNavigationPolicy); | 135 virtual void show(WebKit::WebNavigationPolicy); |
| 132 virtual void runModal() {} | 136 virtual void runModal() {} |
| 133 virtual WebKit::WebRect windowRect(); | 137 virtual WebKit::WebRect windowRect(); |
| 134 virtual void setToolTipText(const WebKit::WebString& text, | 138 virtual void setToolTipText(const WebKit::WebString& text, |
| 135 WebKit::WebTextDirection hint); | 139 WebKit::WebTextDirection hint); |
| (...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 518 // Set to true if we should invert all pixels. | 522 // Set to true if we should invert all pixels. |
| 519 bool invert_; | 523 bool invert_; |
| 520 | 524 |
| 521 // The Skia paint object for inverting. | 525 // The Skia paint object for inverting. |
| 522 scoped_ptr<SkPaint> invert_paint_; | 526 scoped_ptr<SkPaint> invert_paint_; |
| 523 | 527 |
| 524 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 528 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 525 }; | 529 }; |
| 526 | 530 |
| 527 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 531 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |