| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 // IPC::Channel::Listener | 109 // IPC::Channel::Listener |
| 110 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 110 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
| 111 | 111 |
| 112 // IPC::Message::Sender | 112 // IPC::Message::Sender |
| 113 virtual bool Send(IPC::Message* msg) OVERRIDE; | 113 virtual bool Send(IPC::Message* msg) OVERRIDE; |
| 114 | 114 |
| 115 // WebKit::WebWidgetClient | 115 // WebKit::WebWidgetClient |
| 116 virtual void didInvalidateRect(const WebKit::WebRect&); | 116 virtual void didInvalidateRect(const WebKit::WebRect&); |
| 117 virtual void didScrollRect(int dx, int dy, const WebKit::WebRect& clipRect); | 117 virtual void didScrollRect(int dx, int dy, const WebKit::WebRect& clipRect); |
| 118 virtual void didAutoResize(const WebKit::WebSize& new_size); | 118 virtual void didAutoResize(const WebKit::WebSize& new_size); |
| 119 virtual void didActivateCompositor(int compositorIdentifier); | 119 virtual void didActivateCompositor(int input_handler_identifier); |
| 120 virtual void didDeactivateCompositor(); | 120 virtual void didDeactivateCompositor(); |
| 121 virtual void didCommitAndDrawCompositorFrame(); | 121 virtual void didCommitAndDrawCompositorFrame(); |
| 122 virtual void didCompleteSwapBuffers(); | 122 virtual void didCompleteSwapBuffers(); |
| 123 virtual void scheduleComposite(); | 123 virtual void scheduleComposite(); |
| 124 virtual void scheduleAnimation(); | 124 virtual void scheduleAnimation(); |
| 125 virtual void didFocus(); | 125 virtual void didFocus(); |
| 126 virtual void didBlur(); | 126 virtual void didBlur(); |
| 127 virtual void didChangeCursor(const WebKit::WebCursorInfo&); | 127 virtual void didChangeCursor(const WebKit::WebCursorInfo&); |
| 128 virtual void closeWidgetSoon(); | 128 virtual void closeWidgetSoon(); |
| 129 virtual void show(WebKit::WebNavigationPolicy); | 129 virtual void show(WebKit::WebNavigationPolicy); |
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 516 // Set to true if we should invert all pixels. | 516 // Set to true if we should invert all pixels. |
| 517 bool invert_; | 517 bool invert_; |
| 518 | 518 |
| 519 // The Skia paint object for inverting. | 519 // The Skia paint object for inverting. |
| 520 scoped_ptr<SkPaint> invert_paint_; | 520 scoped_ptr<SkPaint> invert_paint_; |
| 521 | 521 |
| 522 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 522 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 523 }; | 523 }; |
| 524 | 524 |
| 525 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 525 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |