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