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

Side by Side Diff: content/common/swapped_out_messages.cc

Issue 1380573003: Remove 2-stage RenderWidget initialization (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix racy test Created 5 years, 2 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 #include "content/common/swapped_out_messages.h" 5 #include "content/common/swapped_out_messages.h"
6 6
7 #include "content/common/accessibility_messages.h" 7 #include "content/common/accessibility_messages.h"
8 #include "content/common/frame_messages.h" 8 #include "content/common/frame_messages.h"
9 #include "content/common/input_messages.h" 9 #include "content/common/input_messages.h"
10 #include "content/common/view_messages.h" 10 #include "content/common/view_messages.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // renderer state consistent in case we later return to the renderer. 73 // renderer state consistent in case we later return to the renderer.
74 // Note that synchronous messages that are not handled will receive an 74 // Note that synchronous messages that are not handled will receive an
75 // error reply instead, to avoid leaving the renderer in a stuck state. 75 // error reply instead, to avoid leaving the renderer in a stuck state.
76 switch (msg.type()) { 76 switch (msg.type()) {
77 // Sends an ACK. 77 // Sends an ACK.
78 case ViewHostMsg_ShowView::ID: 78 case ViewHostMsg_ShowView::ID:
79 // Sends an ACK. 79 // Sends an ACK.
80 case ViewHostMsg_ShowWidget::ID: 80 case ViewHostMsg_ShowWidget::ID:
81 // Sends an ACK. 81 // Sends an ACK.
82 case ViewHostMsg_ShowFullscreenWidget::ID: 82 case ViewHostMsg_ShowFullscreenWidget::ID:
83 // Updates browser state.
84 case ViewHostMsg_RenderViewReady::ID:
85 // Updates the previous navigation entry. 83 // Updates the previous navigation entry.
86 case ViewHostMsg_UpdateState::ID: 84 case ViewHostMsg_UpdateState::ID:
87 // Sends an ACK. 85 // Sends an ACK.
88 case ViewHostMsg_UpdateTargetURL::ID: 86 case ViewHostMsg_UpdateTargetURL::ID:
89 // We allow closing even if we are in the process of swapping out. 87 // We allow closing even if we are in the process of swapping out.
90 case ViewHostMsg_Close::ID: 88 case ViewHostMsg_Close::ID:
91 // Sends an ACK. 89 // Sends an ACK.
92 case ViewHostMsg_RequestMove::ID: 90 case ViewHostMsg_RequestMove::ID:
93 // Sends an ACK. 91 // Sends an ACK.
94 case AccessibilityHostMsg_Events::ID: 92 case AccessibilityHostMsg_Events::ID:
95 return true; 93 return true;
96 default: 94 default:
97 break; 95 break;
98 } 96 }
99 97
100 return false; 98 return false;
101 } 99 }
102 100
103 } // namespace content 101 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698