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

Unified Diff: chrome/renderer/chrome_render_view_observer.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: unused include 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 side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/chrome_render_view_observer.h
diff --git a/chrome/renderer/chrome_render_view_observer.h b/chrome/renderer/chrome_render_view_observer.h
index 80247ff53f51bf8afbd4e3daec5cf0f44d136b7f..d5297c8ffaadf6a00ec47d52acac769cd7345a08 100644
--- a/chrome/renderer/chrome_render_view_observer.h
+++ b/chrome/renderer/chrome_render_view_observer.h
@@ -126,7 +126,6 @@ class ChromeRenderViewObserver : public content::RenderViewObserver,
const string16& jscript,
int id,
bool notify_result);
- void OnCaptureSnapshot();
void OnHandleMessageFromExternalHost(const std::string& message,
const std::string& origin,
const std::string& target);
@@ -150,10 +149,6 @@ class ChromeRenderViewObserver : public content::RenderViewObserver,
// maximum amount kMaxIndexChars will be placed into the given buffer.
void CaptureText(WebKit::WebFrame* frame, string16* contents);
- // Capture a snapshot of a view. This is used to allow an extension
- // to get a snapshot of a tab using chrome.tabs.captureVisibleTab().
- bool CaptureSnapshot(WebKit::WebView* view, SkBitmap* snapshot);
-
ExternalHostBindings* GetExternalHostBindings();
// Determines if a host is in the strict security host set.

Powered by Google App Engine
This is Rietveld 408576698