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

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

Issue 234533002: Remove a bunch of TOOLKIT_GTK in content/ and gpu/, as well as NPAPI plugins on linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, skip changing browser_main_loop.cc because of presubmit issues, will follow up Created 6 years, 8 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 | Annotate | Revision Log
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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // Updates the previous navigation entry. 81 // Updates the previous navigation entry.
82 case ViewHostMsg_UpdateState::ID: 82 case ViewHostMsg_UpdateState::ID:
83 // Sends an ACK. 83 // Sends an ACK.
84 case ViewHostMsg_UpdateTargetURL::ID: 84 case ViewHostMsg_UpdateTargetURL::ID:
85 // We allow closing even if we are in the process of swapping out. 85 // We allow closing even if we are in the process of swapping out.
86 case ViewHostMsg_Close::ID: 86 case ViewHostMsg_Close::ID:
87 // Sends an ACK. 87 // Sends an ACK.
88 case ViewHostMsg_RequestMove::ID: 88 case ViewHostMsg_RequestMove::ID:
89 // Sends an ACK. 89 // Sends an ACK.
90 case AccessibilityHostMsg_Events::ID: 90 case AccessibilityHostMsg_Events::ID:
91 #if defined(USE_X11)
92 // Synchronous message when leaving a page with plugin. In this case,
93 // we want to destroy the plugin rather than return an error message.
94 case ViewHostMsg_DestroyPluginContainer::ID:
95 #endif
96 return true; 91 return true;
97 default: 92 default:
98 break; 93 break;
99 } 94 }
100 95
101 // Check with the embedder as well. 96 // Check with the embedder as well.
102 ContentClient* client = GetContentClient(); 97 ContentClient* client = GetContentClient();
103 return client->CanHandleWhileSwappedOut(msg); 98 return client->CanHandleWhileSwappedOut(msg);
104 } 99 }
105 100
106 } // namespace content 101 } // namespace content
OLDNEW
« no previous file with comments | « content/common/sandbox_linux/bpf_renderer_policy_linux.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698