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

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

Issue 23651003: Use Blink accessibility enums in Chromium (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 3 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
« no previous file with comments | « content/common/accessibility_notification.h ('k') | content/content_common.gypi » ('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/input_messages.h" 8 #include "content/common/input_messages.h"
9 #include "content/common/view_messages.h" 9 #include "content/common/view_messages.h"
10 #include "content/public/common/content_client.h" 10 #include "content/public/common/content_client.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 case ViewHostMsg_RenderViewReady::ID: 68 case ViewHostMsg_RenderViewReady::ID:
69 // Updates the previous navigation entry. 69 // Updates the previous navigation entry.
70 case ViewHostMsg_UpdateState::ID: 70 case ViewHostMsg_UpdateState::ID:
71 // Sends an ACK. 71 // Sends an ACK.
72 case ViewHostMsg_UpdateTargetURL::ID: 72 case ViewHostMsg_UpdateTargetURL::ID:
73 // We allow closing even if we are in the process of swapping out. 73 // We allow closing even if we are in the process of swapping out.
74 case ViewHostMsg_Close::ID: 74 case ViewHostMsg_Close::ID:
75 // Sends an ACK. 75 // Sends an ACK.
76 case ViewHostMsg_RequestMove::ID: 76 case ViewHostMsg_RequestMove::ID:
77 // Sends an ACK. 77 // Sends an ACK.
78 case AccessibilityHostMsg_Notifications::ID: 78 case AccessibilityHostMsg_Events::ID:
79 #if defined(USE_X11) 79 #if defined(USE_X11)
80 // Synchronous message when leaving a page with plugin. In this case, 80 // Synchronous message when leaving a page with plugin. In this case,
81 // we want to destroy the plugin rather than return an error message. 81 // we want to destroy the plugin rather than return an error message.
82 case ViewHostMsg_DestroyPluginContainer::ID: 82 case ViewHostMsg_DestroyPluginContainer::ID:
83 #endif 83 #endif
84 return true; 84 return true;
85 default: 85 default:
86 break; 86 break;
87 } 87 }
88 88
89 // Check with the embedder as well. 89 // Check with the embedder as well.
90 ContentClient* client = GetContentClient(); 90 ContentClient* client = GetContentClient();
91 return client->CanHandleWhileSwappedOut(msg); 91 return client->CanHandleWhileSwappedOut(msg);
92 } 92 }
93 93
94 } // namespace content 94 } // namespace content
OLDNEW
« no previous file with comments | « content/common/accessibility_notification.h ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698