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

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

Issue 12881005: Allow CopyFromBackingStore to fallback to copying from the renderer side if the accelerated surface… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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) 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 1054 matching lines...) Expand 10 before | Expand all | Expand 10 after
1065 void OnSelectPopupMenuItem(int selected_index); 1065 void OnSelectPopupMenuItem(int selected_index);
1066 void OnSetInLiveResize(bool in_live_resize); 1066 void OnSetInLiveResize(bool in_live_resize);
1067 void OnSetWindowVisibility(bool visible); 1067 void OnSetWindowVisibility(bool visible);
1068 void OnWindowFrameChanged(const gfx::Rect& window_frame, 1068 void OnWindowFrameChanged(const gfx::Rect& window_frame,
1069 const gfx::Rect& view_frame); 1069 const gfx::Rect& view_frame);
1070 #endif 1070 #endif
1071 1071
1072 void OnWindowSnapshotCompleted(const int snapshot_id, 1072 void OnWindowSnapshotCompleted(const int snapshot_id,
1073 const gfx::Size& size, const std::vector<unsigned char>& png); 1073 const gfx::Size& size, const std::vector<unsigned char>& png);
1074 1074
1075 void OnSnapshot(const gfx::Rect& src_subrect);
1075 1076
1076 // Adding a new message handler? Please add it in alphabetical order above 1077 // Adding a new message handler? Please add it in alphabetical order above
1077 // and put it in the same position in the .cc file. 1078 // and put it in the same position in the .cc file.
1078 1079
1079 // Misc private functions ---------------------------------------------------- 1080 // Misc private functions ----------------------------------------------------
1080 void ZoomFactorHelper(PageZoom zoom, int zoom_center_x, int zoom_center_y, 1081 void ZoomFactorHelper(PageZoom zoom, int zoom_center_x, int zoom_center_y,
1081 float scaling_increment); 1082 float scaling_increment);
1082 1083
1083 void AltErrorPageFinished(WebKit::WebFrame* frame, 1084 void AltErrorPageFinished(WebKit::WebFrame* frame,
1084 const WebKit::WebURLError& original_error, 1085 const WebKit::WebURLError& original_error,
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
1598 // use the Observer interface to filter IPC messages and receive frame change 1599 // use the Observer interface to filter IPC messages and receive frame change
1599 // notifications. 1600 // notifications.
1600 // --------------------------------------------------------------------------- 1601 // ---------------------------------------------------------------------------
1601 1602
1602 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1603 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1603 }; 1604 };
1604 1605
1605 } // namespace content 1606 } // namespace content
1606 1607
1607 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1608 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698