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

Unified Diff: extensions/browser/app_window/app_window_contents.cc

Issue 2553263002: Remove code to defer app window appearance until first paint. (Closed)
Patch Set: nit Created 4 years 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: extensions/browser/app_window/app_window_contents.cc
diff --git a/extensions/browser/app_window/app_window_contents.cc b/extensions/browser/app_window/app_window_contents.cc
index e40be766e08c687e8f59dc5cc29e4ce2e20b9f50..b09d7c94a9c6f41a46d89d455363e21ee3ec780d 100644
--- a/extensions/browser/app_window/app_window_contents.cc
+++ b/extensions/browser/app_window/app_window_contents.cc
@@ -82,14 +82,6 @@ void AppWindowContentsImpl::NativeWindowClosed() {
rvh->Send(new ExtensionMsg_AppWindowClosed(rvh->GetRoutingID()));
}
-void AppWindowContentsImpl::DispatchWindowShownForTests() const {
- base::ListValue args;
- content::RenderFrameHost* rfh = web_contents_->GetMainFrame();
- rfh->Send(new ExtensionMsg_MessageInvoke(rfh->GetRoutingID(),
- host_->extension_id(), "app.window",
- "appWindowShownForTests", args));
-}
-
void AppWindowContentsImpl::OnWindowReady() {
is_window_ready_ = true;
if (is_blocking_requests_) {
« no previous file with comments | « extensions/browser/app_window/app_window_contents.h ('k') | extensions/browser/app_window/test_app_window_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698