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

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

Issue 10798006: Implement WebCompositorOutputSurface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 8 years, 4 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 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 131
132 #if defined(OS_ANDROID) 132 #if defined(OS_ANDROID)
133 namespace webkit_media { 133 namespace webkit_media {
134 class WebMediaPlayerManagerAndroid; 134 class WebMediaPlayerManagerAndroid;
135 } 135 }
136 #endif 136 #endif
137 137
138 namespace WebKit { 138 namespace WebKit {
139 class WebApplicationCacheHost; 139 class WebApplicationCacheHost;
140 class WebApplicationCacheHostClient; 140 class WebApplicationCacheHostClient;
141 class WebCompositorOutputSurface;
141 class WebDOMMessageEvent; 142 class WebDOMMessageEvent;
142 class WebDataSource; 143 class WebDataSource;
143 class WebDragData; 144 class WebDragData;
144 class WebGeolocationClient; 145 class WebGeolocationClient;
145 class WebIconURL; 146 class WebIconURL;
146 class WebImage; 147 class WebImage;
147 class WebPeerConnection00Handler; 148 class WebPeerConnection00Handler;
148 class WebPeerConnection00HandlerClient; 149 class WebPeerConnection00HandlerClient;
149 class WebMediaPlayer; 150 class WebMediaPlayer;
150 class WebMediaPlayerClient; 151 class WebMediaPlayerClient;
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 const WebKit::WebURLRequest& request, 425 const WebKit::WebURLRequest& request,
425 const WebKit::WebWindowFeatures& features, 426 const WebKit::WebWindowFeatures& features,
426 const WebKit::WebString& frame_name, 427 const WebKit::WebString& frame_name,
427 WebKit::WebNavigationPolicy policy); 428 WebKit::WebNavigationPolicy policy);
428 virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType popup_type); 429 virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType popup_type);
429 virtual WebKit::WebExternalPopupMenu* createExternalPopupMenu( 430 virtual WebKit::WebExternalPopupMenu* createExternalPopupMenu(
430 const WebKit::WebPopupMenuInfo& popup_menu_info, 431 const WebKit::WebPopupMenuInfo& popup_menu_info,
431 WebKit::WebExternalPopupMenuClient* popup_menu_client); 432 WebKit::WebExternalPopupMenuClient* popup_menu_client);
432 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace( 433 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace(
433 unsigned quota); 434 unsigned quota);
434 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D( 435 virtual WebKit::WebCompositorOutputSurface* createOutputSurface() OVERRIDE;
435 const WebKit::WebGraphicsContext3D::Attributes& attributes);
436 virtual void didAddMessageToConsole( 436 virtual void didAddMessageToConsole(
437 const WebKit::WebConsoleMessage& message, 437 const WebKit::WebConsoleMessage& message,
438 const WebKit::WebString& source_name, 438 const WebKit::WebString& source_name,
439 unsigned source_line); 439 unsigned source_line);
440 virtual void printPage(WebKit::WebFrame* frame); 440 virtual void printPage(WebKit::WebFrame* frame);
441 virtual WebKit::WebNotificationPresenter* notificationPresenter(); 441 virtual WebKit::WebNotificationPresenter* notificationPresenter();
442 virtual bool enumerateChosenDirectory( 442 virtual bool enumerateChosenDirectory(
443 const WebKit::WebString& path, 443 const WebKit::WebString& path,
444 WebKit::WebFileChooserCompletion* chooser_completion); 444 WebKit::WebFileChooserCompletion* chooser_completion);
445 virtual void initializeHelperPluginWebFrame(WebKit::WebHelperPlugin*); 445 virtual void initializeHelperPluginWebFrame(WebKit::WebHelperPlugin*);
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
1029 void ZoomFactorHelper(content::PageZoom zoom, int zoom_center_x, 1029 void ZoomFactorHelper(content::PageZoom zoom, int zoom_center_x,
1030 int zoom_center_y, float scaling_increment); 1030 int zoom_center_y, float scaling_increment);
1031 1031
1032 void AltErrorPageFinished(WebKit::WebFrame* frame, 1032 void AltErrorPageFinished(WebKit::WebFrame* frame,
1033 const WebKit::WebURLError& original_error, 1033 const WebKit::WebURLError& original_error,
1034 const std::string& html); 1034 const std::string& html);
1035 1035
1036 // Check whether the preferred size has changed. 1036 // Check whether the preferred size has changed.
1037 void CheckPreferredSize(); 1037 void CheckPreferredSize();
1038 1038
1039 WebKit::WebGraphicsContext3D* CreateGraphicsContext3D(
1040 const WebKit::WebGraphicsContext3D::Attributes& attributes);
1041
1039 void EnsureMediaStreamImpl(); 1042 void EnsureMediaStreamImpl();
1040 1043
1041 // This callback is triggered when DownloadFavicon completes, either 1044 // This callback is triggered when DownloadFavicon completes, either
1042 // succesfully or with a failure. See DownloadFavicon for more 1045 // succesfully or with a failure. See DownloadFavicon for more
1043 // details. 1046 // details.
1044 void DidDownloadFavicon(webkit_glue::ImageResourceFetcher* fetcher, 1047 void DidDownloadFavicon(webkit_glue::ImageResourceFetcher* fetcher,
1045 const SkBitmap& image); 1048 const SkBitmap& image);
1046 1049
1047 // Requests to download a favicon image. When done, the RenderView is notified 1050 // Requests to download a favicon image. When done, the RenderView is notified
1048 // by way of DidDownloadFavicon. Returns true if the request was successfully 1051 // by way of DidDownloadFavicon. Returns true if the request was successfully
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
1440 // bunch of stuff, you should probably create a helper class and put your 1443 // bunch of stuff, you should probably create a helper class and put your
1441 // data and methods on that to avoid bloating RenderView more. You can 1444 // data and methods on that to avoid bloating RenderView more. You can
1442 // use the Observer interface to filter IPC messages and receive frame change 1445 // use the Observer interface to filter IPC messages and receive frame change
1443 // notifications. 1446 // notifications.
1444 // --------------------------------------------------------------------------- 1447 // ---------------------------------------------------------------------------
1445 1448
1446 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1449 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1447 }; 1450 };
1448 1451
1449 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1452 #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