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

Side by Side Diff: chrome/renderer/render_thread.cc

Issue 6625064: Move the common child process messages into their own file. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | content/common/child_process_messages.h » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/renderer/render_thread.h" 5 #include "chrome/renderer/render_thread.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after
666 IPC_MESSAGE_HANDLER(ViewMsg_PurgePluginListCache, 666 IPC_MESSAGE_HANDLER(ViewMsg_PurgePluginListCache,
667 OnPurgePluginListCache) 667 OnPurgePluginListCache)
668 IPC_MESSAGE_HANDLER(ViewMsg_Extension_UpdatePageActions, 668 IPC_MESSAGE_HANDLER(ViewMsg_Extension_UpdatePageActions,
669 OnPageActionsUpdated) 669 OnPageActionsUpdated)
670 IPC_MESSAGE_HANDLER(ViewMsg_Extension_SetAPIPermissions, 670 IPC_MESSAGE_HANDLER(ViewMsg_Extension_SetAPIPermissions,
671 OnExtensionSetAPIPermissions) 671 OnExtensionSetAPIPermissions)
672 IPC_MESSAGE_HANDLER(ViewMsg_Extension_SetHostPermissions, 672 IPC_MESSAGE_HANDLER(ViewMsg_Extension_SetHostPermissions,
673 OnExtensionSetHostPermissions) 673 OnExtensionSetHostPermissions)
674 IPC_MESSAGE_HANDLER(DOMStorageMsg_Event, 674 IPC_MESSAGE_HANDLER(DOMStorageMsg_Event,
675 OnDOMStorageEvent) 675 OnDOMStorageEvent)
676 #if defined(IPC_MESSAGE_LOG_ENABLED)
677 IPC_MESSAGE_HANDLER(ViewMsg_SetIPCLoggingEnabled,
678 OnSetIPCLoggingEnabled)
679 #endif
680 IPC_MESSAGE_HANDLER(ViewMsg_SpellChecker_Init, 676 IPC_MESSAGE_HANDLER(ViewMsg_SpellChecker_Init,
681 OnInitSpellChecker) 677 OnInitSpellChecker)
682 IPC_MESSAGE_HANDLER(ViewMsg_SpellChecker_WordAdded, 678 IPC_MESSAGE_HANDLER(ViewMsg_SpellChecker_WordAdded,
683 OnSpellCheckWordAdded) 679 OnSpellCheckWordAdded)
684 IPC_MESSAGE_HANDLER(ViewMsg_SpellChecker_EnableAutoSpellCorrect, 680 IPC_MESSAGE_HANDLER(ViewMsg_SpellChecker_EnableAutoSpellCorrect,
685 OnSpellCheckEnableAutoSpellCorrect) 681 OnSpellCheckEnableAutoSpellCorrect)
686 IPC_MESSAGE_HANDLER(ViewMsg_GpuChannelEstablished, OnGpuChannelEstablished) 682 IPC_MESSAGE_HANDLER(ViewMsg_GpuChannelEstablished, OnGpuChannelEstablished)
687 IPC_MESSAGE_HANDLER(ViewMsg_SetPhishingModel, OnSetPhishingModel) 683 IPC_MESSAGE_HANDLER(ViewMsg_SetPhishingModel, OnSetPhishingModel)
688 IPC_MESSAGE_UNHANDLED(handled = false) 684 IPC_MESSAGE_UNHANDLED(handled = false)
689 IPC_END_MESSAGE_MAP() 685 IPC_END_MESSAGE_MAP()
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
1167 } 1163 }
1168 1164
1169 return false; 1165 return false;
1170 } 1166 }
1171 1167
1172 void RenderThread::RegisterExtension(v8::Extension* extension, 1168 void RenderThread::RegisterExtension(v8::Extension* extension,
1173 bool restrict_to_extensions) { 1169 bool restrict_to_extensions) {
1174 WebScriptController::registerExtension(extension); 1170 WebScriptController::registerExtension(extension);
1175 v8_extensions_[extension->name()] = restrict_to_extensions; 1171 v8_extensions_[extension->name()] = restrict_to_extensions;
1176 } 1172 }
OLDNEW
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | content/common/child_process_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698