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

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

Issue 506013: Combine ViewHostMsg_{Paint,Scroll}Rect into one IPC.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
7 7
8 #include <gdk/gdk.h> 8 #include <gdk/gdk.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 const std::vector<webkit_glue::WebPluginGeometry>& moves); 53 const std::vector<webkit_glue::WebPluginGeometry>& moves);
54 virtual void Focus(); 54 virtual void Focus();
55 virtual void Blur(); 55 virtual void Blur();
56 virtual bool HasFocus(); 56 virtual bool HasFocus();
57 virtual void Show(); 57 virtual void Show();
58 virtual void Hide(); 58 virtual void Hide();
59 virtual gfx::Rect GetViewBounds() const; 59 virtual gfx::Rect GetViewBounds() const;
60 virtual void UpdateCursor(const WebCursor& cursor); 60 virtual void UpdateCursor(const WebCursor& cursor);
61 virtual void SetIsLoading(bool is_loading); 61 virtual void SetIsLoading(bool is_loading);
62 virtual void IMEUpdateStatus(int control, const gfx::Rect& caret_rect); 62 virtual void IMEUpdateStatus(int control, const gfx::Rect& caret_rect);
63 virtual void DidPaintRect(const gfx::Rect& rect); 63 virtual void DidPaintBackingStoreRects(const std::vector<gfx::Rect>& rects);
64 virtual void DidScrollRect(const gfx::Rect& rect, int dx, int dy); 64 virtual void DidScrollBackingStoreRect(const gfx::Rect& rect, int dx, int dy);
65 virtual void RenderViewGone(); 65 virtual void RenderViewGone();
66 virtual void Destroy(); 66 virtual void Destroy();
67 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} 67 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {}
68 virtual void SetTooltipText(const std::wstring& tooltip_text); 68 virtual void SetTooltipText(const std::wstring& tooltip_text);
69 virtual void SelectionChanged(const std::string& text); 69 virtual void SelectionChanged(const std::string& text);
70 virtual void ShowingContextMenu(bool showing); 70 virtual void ShowingContextMenu(bool showing);
71 virtual BackingStore* AllocBackingStore(const gfx::Size& size); 71 virtual BackingStore* AllocBackingStore(const gfx::Size& size);
72 virtual void SetBackground(const SkBitmap& background); 72 virtual void SetBackground(const SkBitmap& background);
73 virtual void CreatePluginContainer(gfx::PluginWindowHandle id); 73 virtual void CreatePluginContainer(gfx::PluginWindowHandle id);
74 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id); 74 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id);
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 // Helper class that lets us allocate plugin containers and move them. 147 // Helper class that lets us allocate plugin containers and move them.
148 GtkPluginContainerManager plugin_container_manager_; 148 GtkPluginContainerManager plugin_container_manager_;
149 149
150 // The size that we want the renderer to be. We keep this in a separate 150 // The size that we want the renderer to be. We keep this in a separate
151 // variable because resizing in GTK+ is async. 151 // variable because resizing in GTK+ is async.
152 gfx::Size requested_size_; 152 gfx::Size requested_size_;
153 }; 153 };
154 154
155 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 155 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view.h ('k') | chrome/browser/renderer_host/render_widget_host_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698