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

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

Issue 9194005: gpu: reference target surfaces through a globally unique surface id. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix more tests Created 8 years, 11 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 | « content/renderer/render_thread_impl.cc ('k') | content/renderer/render_view_impl.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 // responsible for creating this RenderView (corresponding to parent_hwnd). 169 // responsible for creating this RenderView (corresponding to parent_hwnd).
170 // |counter| is either a currently initialized counter, or NULL (in which case 170 // |counter| is either a currently initialized counter, or NULL (in which case
171 // we treat this RenderView as a top level window). 171 // we treat this RenderView as a top level window).
172 CONTENT_EXPORT static RenderViewImpl* Create( 172 CONTENT_EXPORT static RenderViewImpl* Create(
173 gfx::NativeViewId parent_hwnd, 173 gfx::NativeViewId parent_hwnd,
174 int32 opener_id, 174 int32 opener_id,
175 const content::RendererPreferences& renderer_prefs, 175 const content::RendererPreferences& renderer_prefs,
176 const WebPreferences& webkit_prefs, 176 const WebPreferences& webkit_prefs,
177 SharedRenderViewCounter* counter, 177 SharedRenderViewCounter* counter,
178 int32 routing_id, 178 int32 routing_id,
179 int32 surface_id,
179 int64 session_storage_namespace_id, 180 int64 session_storage_namespace_id,
180 const string16& frame_name, 181 const string16& frame_name,
181 int32 next_page_id); 182 int32 next_page_id);
182 183
183 // Returns the RenderViewImpl containing the given WebView. 184 // Returns the RenderViewImpl containing the given WebView.
184 CONTENT_EXPORT static RenderViewImpl* FromWebView(WebKit::WebView* webview); 185 CONTENT_EXPORT static RenderViewImpl* FromWebView(WebKit::WebView* webview);
185 186
186 // May return NULL when the view is closing. 187 // May return NULL when the view is closing.
187 CONTENT_EXPORT WebKit::WebView* webview() const; 188 CONTENT_EXPORT WebKit::WebView* webview() const;
188 189
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 HTTP_404, 686 HTTP_404,
686 CONNECTION_ERROR, 687 CONNECTION_ERROR,
687 }; 688 };
688 689
689 RenderViewImpl(gfx::NativeViewId parent_hwnd, 690 RenderViewImpl(gfx::NativeViewId parent_hwnd,
690 int32 opener_id, 691 int32 opener_id,
691 const content::RendererPreferences& renderer_prefs, 692 const content::RendererPreferences& renderer_prefs,
692 const WebPreferences& webkit_prefs, 693 const WebPreferences& webkit_prefs,
693 SharedRenderViewCounter* counter, 694 SharedRenderViewCounter* counter,
694 int32 routing_id, 695 int32 routing_id,
696 int32 surface_id,
695 int64 session_storage_namespace_id, 697 int64 session_storage_namespace_id,
696 const string16& frame_name, 698 const string16& frame_name,
697 int32 next_page_id); 699 int32 next_page_id);
698 700
699 // Do not delete directly. This class is reference counted. 701 // Do not delete directly. This class is reference counted.
700 virtual ~RenderViewImpl(); 702 virtual ~RenderViewImpl();
701 703
702 void UpdateURL(WebKit::WebFrame* frame); 704 void UpdateURL(WebKit::WebFrame* frame);
703 void UpdateTitle(WebKit::WebFrame* frame, const string16& title, 705 void UpdateTitle(WebKit::WebFrame* frame, const string16& title,
704 WebKit::WebTextDirection title_direction); 706 WebKit::WebTextDirection title_direction);
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
1242 // bunch of stuff, you should probably create a helper class and put your 1244 // bunch of stuff, you should probably create a helper class and put your
1243 // data and methods on that to avoid bloating RenderView more. You can 1245 // data and methods on that to avoid bloating RenderView more. You can
1244 // use the Observer interface to filter IPC messages and receive frame change 1246 // use the Observer interface to filter IPC messages and receive frame change
1245 // notifications. 1247 // notifications.
1246 // --------------------------------------------------------------------------- 1248 // ---------------------------------------------------------------------------
1247 1249
1248 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1250 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1249 }; 1251 };
1250 1252
1251 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1253 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698