Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Side by Side Diff: content/renderer/render_widget.h

Issue 8704005: Add autoresize capability to chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor fix Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <vector> 9 #include <vector>
10 10
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 // IPC::Channel::Listener 98 // IPC::Channel::Listener
99 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 99 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
100 100
101 // IPC::Message::Sender 101 // IPC::Message::Sender
102 virtual bool Send(IPC::Message* msg) OVERRIDE; 102 virtual bool Send(IPC::Message* msg) OVERRIDE;
103 103
104 // WebKit::WebWidgetClient 104 // WebKit::WebWidgetClient
105 virtual void didInvalidateRect(const WebKit::WebRect&); 105 virtual void didInvalidateRect(const WebKit::WebRect&);
106 virtual void didScrollRect(int dx, int dy, const WebKit::WebRect& clipRect); 106 virtual void didScrollRect(int dx, int dy, const WebKit::WebRect& clipRect);
107 virtual void didAutoResize(const WebKit::WebSize& new_size);
107 virtual void didActivateCompositor(int compositorIdentifier); 108 virtual void didActivateCompositor(int compositorIdentifier);
108 virtual void didDeactivateCompositor(); 109 virtual void didDeactivateCompositor();
109 virtual void didCommitAndDrawCompositorFrame(); 110 virtual void didCommitAndDrawCompositorFrame();
110 virtual void didCompleteSwapBuffers(); 111 virtual void didCompleteSwapBuffers();
111 virtual void scheduleComposite(); 112 virtual void scheduleComposite();
112 virtual void scheduleAnimation(); 113 virtual void scheduleAnimation();
113 virtual void didFocus(); 114 virtual void didFocus();
114 virtual void didBlur(); 115 virtual void didBlur();
115 virtual void didChangeCursor(const WebKit::WebCursorInfo&); 116 virtual void didChangeCursor(const WebKit::WebCursorInfo&);
116 virtual void closeWidgetSoon(); 117 virtual void closeWidgetSoon();
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 bool animation_task_posted_; 468 bool animation_task_posted_;
468 bool invalidation_task_posted_; 469 bool invalidation_task_posted_;
469 470
470 bool has_disable_gpu_vsync_switch_; 471 bool has_disable_gpu_vsync_switch_;
471 base::TimeTicks last_do_deferred_update_time_; 472 base::TimeTicks last_do_deferred_update_time_;
472 473
473 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 474 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
474 }; 475 };
475 476
476 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 477 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698