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

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

Issue 1715573002: Replicating LayoutDumpFlags across OOPIFs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@replicating-pixel-dump-flag
Patch Set: Removed unneeded include. 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
« no previous file with comments | « components/test_runner/web_test_runner.h ('k') | content/shell/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 // Input events propagate from parent to child. 43 // Input events propagate from parent to child.
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 return true; 54 return true;
54 default: 55 default:
55 break; 56 break;
56 } 57 }
57 58
58 // Check with the embedder as well. 59 // Check with the embedder as well.
59 ContentClient* client = GetContentClient(); 60 ContentClient* client = GetContentClient();
60 return client->CanSendWhileSwappedOut(msg); 61 return client->CanSendWhileSwappedOut(msg);
61 } 62 }
62 63
(...skipping 28 matching lines...) Expand all
91 case AccessibilityHostMsg_Events::ID: 92 case AccessibilityHostMsg_Events::ID:
92 return true; 93 return true;
93 default: 94 default:
94 break; 95 break;
95 } 96 }
96 97
97 return false; 98 return false;
98 } 99 }
99 100
100 } // namespace content 101 } // namespace content
OLDNEW
« no previous file with comments | « components/test_runner/web_test_runner.h ('k') | content/shell/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698