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/common/swapped_out_messages.cc

Issue 1814863002: Make page popups work under OOPIF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disabled test on Mac Created 4 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 #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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 case FrameHostMsg_ForwardInputEvent::ID: 44 case FrameHostMsg_ForwardInputEvent::ID:
45 case FrameHostMsg_InitializeChildFrame::ID: 45 case FrameHostMsg_InitializeChildFrame::ID:
46 // The browser should always have an accurate mirror of the renderer's 46 // The browser should always have an accurate mirror of the renderer's
47 // notion of the current page id. 47 // notion of the current page id.
48 case FrameHostMsg_DidAssignPageId::ID: 48 case FrameHostMsg_DidAssignPageId::ID:
49 // A swapped-out frame's opener might be updated with window.open. 49 // A swapped-out frame's opener might be updated with window.open.
50 case FrameHostMsg_DidChangeOpener::ID: 50 case FrameHostMsg_DidChangeOpener::ID:
51 // Used in layout tests; handled in BlinkTestController. 51 // Used in layout tests; handled in BlinkTestController.
52 case ShellViewHostMsg_PrintMessage::ID: 52 case ShellViewHostMsg_PrintMessage::ID:
53 case ShellViewHostMsg_LayoutDumpFlagsChanged::ID: 53 case ShellViewHostMsg_LayoutDumpFlagsChanged::ID:
54 case ViewHostMsg_CreateWidget::ID:
54 return true; 55 return true;
55 default: 56 default:
56 break; 57 break;
57 } 58 }
58 59
59 // Check with the embedder as well. 60 // Check with the embedder as well.
60 ContentClient* client = GetContentClient(); 61 ContentClient* client = GetContentClient();
61 return client->CanSendWhileSwappedOut(msg); 62 return client->CanSendWhileSwappedOut(msg);
62 } 63 }
63 64
(...skipping 28 matching lines...) Expand all
92 case AccessibilityHostMsg_Events::ID: 93 case AccessibilityHostMsg_Events::ID:
93 return true; 94 return true;
94 default: 95 default:
95 break; 96 break;
96 } 97 }
97 98
98 return false; 99 return false;
99 } 100 }
100 101
101 } // namespace content 102 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/test/data/site_isolation/page-with-select.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698