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

Unified Diff: athena/content/app_activity_proxy.cc

Issue 591693002: Creating PNG images from web content to be used by OverviewMode navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: athena/content/app_activity_proxy.cc
diff --git a/athena/content/app_activity_proxy.cc b/athena/content/app_activity_proxy.cc
index 60822d3df180d2ee7165f2b2ab3b8062b44aa62f..c046bea8c665b81d5715569c5967552b334423d9 100644
--- a/athena/content/app_activity_proxy.cc
+++ b/athena/content/app_activity_proxy.cc
@@ -60,7 +60,7 @@ aura::Window* AppActivityProxy::GetWindow() {
void AppActivityProxy::Init() {
DCHECK(replaced_activity_);
// Get the content proxy to present the content.
- content_proxy_ = replaced_activity_->GetContentProxy(GetWindow());
+ content_proxy_ = replaced_activity_->GetContentProxy();
WindowListProvider* window_list_provider =
WindowManager::GetInstance()->GetWindowListProvider();
window_list_provider->StackWindowBehindTo(GetWindow(),
@@ -98,7 +98,7 @@ views::Widget* AppActivityProxy::CreateWidget() {
return NULL;
}
-gfx::ImageSkia AppActivityProxy::GetOverviewModeImage() {
+scoped_ptr<gfx::Image> AppActivityProxy::GetOverviewModeImage() {
return content_proxy_->GetContentImage();
}

Powered by Google App Engine
This is Rietveld 408576698