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

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

Issue 27147: Linux: server side backing stores (Closed)
Patch Set: ... Created 11 years, 9 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
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 <vector> 8 #include <vector>
9 9
10 #include "base/gfx/native_widget_types.h" 10 #include "base/gfx/native_widget_types.h"
(...skipping 29 matching lines...) Expand all
40 void UpdateCursor(const WebCursor& cursor); 40 void UpdateCursor(const WebCursor& cursor);
41 void UpdateCursorIfOverSelf(); 41 void UpdateCursorIfOverSelf();
42 void SetIsLoading(bool is_loading); 42 void SetIsLoading(bool is_loading);
43 void IMEUpdateStatus(int control, const gfx::Rect& caret_rect); 43 void IMEUpdateStatus(int control, const gfx::Rect& caret_rect);
44 void DidPaintRect(const gfx::Rect& rect); 44 void DidPaintRect(const gfx::Rect& rect);
45 void DidScrollRect( 45 void DidScrollRect(
46 const gfx::Rect& rect, int dx, int dy); 46 const gfx::Rect& rect, int dx, int dy);
47 void RenderViewGone(); 47 void RenderViewGone();
48 void Destroy(); 48 void Destroy();
49 void SetTooltipText(const std::wstring& tooltip_text); 49 void SetTooltipText(const std::wstring& tooltip_text);
50 BackingStore* AllocBackingStore(const gfx::Size& size);
50 // --------------------------------------------------------------------------- 51 // ---------------------------------------------------------------------------
51 52
52 gfx::NativeView native_view() const { return view_; } 53 gfx::NativeView native_view() const { return view_; }
53 54
54 void Paint(const gfx::Rect&); 55 void Paint(const gfx::Rect&);
55 56
56 private: 57 private:
57 // The model object. 58 // The model object.
58 RenderWidgetHost *const host_; 59 RenderWidgetHost *const host_;
59 // The native UI widget. 60 // The native UI widget.
60 gfx::NativeView view_; 61 gfx::NativeView view_;
61 62
62 // The cursor for the page. This is passed up from the renderer. 63 // The cursor for the page. This is passed up from the renderer.
63 WebCursor current_cursor_; 64 WebCursor current_cursor_;
64 }; 65 };
65 66
66 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 67 #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