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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host.h

Issue 16488: Add a new resizer corner overlay. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 10 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/gfx/size.h" 10 #include "base/gfx/size.h"
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 // repaint. 198 // repaint.
199 void SystemThemeChanged(); 199 void SystemThemeChanged();
200 200
201 // Forwards the given message to the renderer. These are called by the view 201 // Forwards the given message to the renderer. These are called by the view
202 // when it has received a message. 202 // when it has received a message.
203 void ForwardMouseEvent(const WebMouseEvent& mouse_event); 203 void ForwardMouseEvent(const WebMouseEvent& mouse_event);
204 void ForwardWheelEvent(const WebMouseWheelEvent& wheel_event); 204 void ForwardWheelEvent(const WebMouseWheelEvent& wheel_event);
205 void ForwardKeyboardEvent(const WebKeyboardEvent& key_event); 205 void ForwardKeyboardEvent(const WebKeyboardEvent& key_event);
206 void ForwardInputEvent(const WebInputEvent& input_event, int event_size); 206 void ForwardInputEvent(const WebInputEvent& input_event, int event_size);
207 207
208 // This is for derived classes to give us access to the resizer rect.
209 // And to also expose it to the RenderWidgetHostView.
210 virtual gfx::Rect GetRootWindowResizerRect() const;
211
208 protected: 212 protected:
209 // Called when we receive a notification indicating that the renderer 213 // Called when we receive a notification indicating that the renderer
210 // process has gone. This will reset our state so that our state will be 214 // process has gone. This will reset our state so that our state will be
211 // consistent if a new renderer is created. 215 // consistent if a new renderer is created.
212 void RendererExited(); 216 void RendererExited();
213 217
214 // Called when we an InputEvent was not processed by the renderer. This is 218 // Called when we an InputEvent was not processed by the renderer. This is
215 // overridden by RenderView to send upwards to its delegate. 219 // overridden by RenderView to send upwards to its delegate.
216 virtual void UnhandledInputEvent(const WebInputEvent& event) {} 220 virtual void UnhandledInputEvent(const WebInputEvent& event) {}
217 221
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 bool view_being_painted_; 343 bool view_being_painted_;
340 344
341 // Used for UMA histogram logging to measure the time for a repaint view 345 // Used for UMA histogram logging to measure the time for a repaint view
342 // operation to finish. 346 // operation to finish.
343 base::TimeTicks repaint_start_time_; 347 base::TimeTicks repaint_start_time_;
344 348
345 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); 349 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost);
346 }; 350 };
347 351
348 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 352 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_view_host_delegate.h ('k') | chrome/browser/renderer_host/render_widget_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698