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

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

Issue 10441101: Revert 124453 - WebWidgetClient::screenInfo() no longer does a synchronous IPC. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: perged Created 8 years, 6 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 const content::RendererPreferences& renderer_prefs, 196 const content::RendererPreferences& renderer_prefs,
197 const webkit_glue::WebPreferences& webkit_prefs, 197 const webkit_glue::WebPreferences& webkit_prefs,
198 SharedRenderViewCounter* counter, 198 SharedRenderViewCounter* counter,
199 int32 routing_id, 199 int32 routing_id,
200 int32 surface_id, 200 int32 surface_id,
201 int64 session_storage_namespace_id, 201 int64 session_storage_namespace_id,
202 const string16& frame_name, 202 const string16& frame_name,
203 bool is_renderer_created, 203 bool is_renderer_created,
204 bool swapped_out, 204 bool swapped_out,
205 int32 next_page_id, 205 int32 next_page_id,
206 const WebKit::WebScreenInfo& screen_info,
207 content::GuestToEmbedderChannel* guest_to_embedder_channel, 206 content::GuestToEmbedderChannel* guest_to_embedder_channel,
208 AccessibilityMode accessibility_mode); 207 AccessibilityMode accessibility_mode);
209 208
210 // Returns the RenderViewImpl containing the given WebView. 209 // Returns the RenderViewImpl containing the given WebView.
211 CONTENT_EXPORT static RenderViewImpl* FromWebView(WebKit::WebView* webview); 210 CONTENT_EXPORT static RenderViewImpl* FromWebView(WebKit::WebView* webview);
212 211
213 // May return NULL when the view is closing. 212 // May return NULL when the view is closing.
214 CONTENT_EXPORT WebKit::WebView* webview() const; 213 CONTENT_EXPORT WebKit::WebView* webview() const;
215 214
216 // WebGraphicsContext3DSwapBuffersClient implementation. 215 // WebGraphicsContext3DSwapBuffersClient implementation.
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 const content::RendererPreferences& renderer_prefs, 785 const content::RendererPreferences& renderer_prefs,
787 const webkit_glue::WebPreferences& webkit_prefs, 786 const webkit_glue::WebPreferences& webkit_prefs,
788 SharedRenderViewCounter* counter, 787 SharedRenderViewCounter* counter,
789 int32 routing_id, 788 int32 routing_id,
790 int32 surface_id, 789 int32 surface_id,
791 int64 session_storage_namespace_id, 790 int64 session_storage_namespace_id,
792 const string16& frame_name, 791 const string16& frame_name,
793 bool is_renderer_created, 792 bool is_renderer_created,
794 bool swapped_out, 793 bool swapped_out,
795 int32 next_page_id, 794 int32 next_page_id,
796 const WebKit::WebScreenInfo& screen_info,
797 content::GuestToEmbedderChannel* guest_to_embedder_channel, 795 content::GuestToEmbedderChannel* guest_to_embedder_channel,
798 AccessibilityMode accessibility_mode); 796 AccessibilityMode accessibility_mode);
799 797
800 // Do not delete directly. This class is reference counted. 798 // Do not delete directly. This class is reference counted.
801 virtual ~RenderViewImpl(); 799 virtual ~RenderViewImpl();
802 800
803 void UpdateURL(WebKit::WebFrame* frame); 801 void UpdateURL(WebKit::WebFrame* frame);
804 void UpdateTitle(WebKit::WebFrame* frame, const string16& title, 802 void UpdateTitle(WebKit::WebFrame* frame, const string16& title,
805 WebKit::WebTextDirection title_direction); 803 WebKit::WebTextDirection title_direction);
806 void UpdateSessionHistory(WebKit::WebFrame* frame); 804 void UpdateSessionHistory(WebKit::WebFrame* frame);
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
1411 // bunch of stuff, you should probably create a helper class and put your 1409 // bunch of stuff, you should probably create a helper class and put your
1412 // data and methods on that to avoid bloating RenderView more. You can 1410 // data and methods on that to avoid bloating RenderView more. You can
1413 // use the Observer interface to filter IPC messages and receive frame change 1411 // use the Observer interface to filter IPC messages and receive frame change
1414 // notifications. 1412 // notifications.
1415 // --------------------------------------------------------------------------- 1413 // ---------------------------------------------------------------------------
1416 1414
1417 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1415 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1418 }; 1416 };
1419 1417
1420 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1418 #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