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

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

Issue 5978003: Make IPC::Channel::Listener:OnMessageReceived have a return value indicating ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 12 months 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
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | chrome/renderer/render_widget.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 CHROME_RENDERER_RENDER_WIDGET_H_ 5 #ifndef CHROME_RENDERER_RENDER_WIDGET_H_
6 #define CHROME_RENDERER_RENDER_WIDGET_H_ 6 #define CHROME_RENDERER_RENDER_WIDGET_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 return webwidget_; 85 return webwidget_;
86 } 86 }
87 87
88 gfx::NativeViewId host_window() const { 88 gfx::NativeViewId host_window() const {
89 return host_window_; 89 return host_window_;
90 } 90 }
91 91
92 bool has_focus() const { return has_focus_; } 92 bool has_focus() const { return has_focus_; }
93 93
94 // IPC::Channel::Listener 94 // IPC::Channel::Listener
95 virtual void OnMessageReceived(const IPC::Message& msg); 95 virtual bool OnMessageReceived(const IPC::Message& msg);
96 96
97 // IPC::Message::Sender 97 // IPC::Message::Sender
98 virtual bool Send(IPC::Message* msg); 98 virtual bool Send(IPC::Message* msg);
99 99
100 // WebKit::WebWidgetClient 100 // WebKit::WebWidgetClient
101 virtual void didInvalidateRect(const WebKit::WebRect&); 101 virtual void didInvalidateRect(const WebKit::WebRect&);
102 virtual void didScrollRect(int dx, int dy, const WebKit::WebRect& clipRect); 102 virtual void didScrollRect(int dx, int dy, const WebKit::WebRect& clipRect);
103 virtual void didActivateAcceleratedCompositing(bool active); 103 virtual void didActivateAcceleratedCompositing(bool active);
104 virtual void scheduleComposite(); 104 virtual void scheduleComposite();
105 virtual void didFocus(); 105 virtual void didFocus();
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 bool suppress_next_char_events_; 361 bool suppress_next_char_events_;
362 362
363 // Set to true if painting to the window is handled by the accelerated 363 // Set to true if painting to the window is handled by the accelerated
364 // compositor. 364 // compositor.
365 bool is_accelerated_compositing_active_; 365 bool is_accelerated_compositing_active_;
366 366
367 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 367 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
368 }; 368 };
369 369
370 #endif // CHROME_RENDERER_RENDER_WIDGET_H_ 370 #endif // CHROME_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | chrome/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698