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

Side by Side Diff: chrome/browser/renderer_host/render_message_filter.cc

Issue 6289009: [Mac] Implement the system dictionary popup by implementing NSTextInput methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Plumb selection rannge with ViewHostMsg_SelectionChanged Created 9 years, 11 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/browser/renderer_host/render_message_filter.h" 5 #include "chrome/browser/renderer_host/render_message_filter.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 OnClipboardIsFormatAvailable) 335 OnClipboardIsFormatAvailable)
336 IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_ClipboardReadText, 336 IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_ClipboardReadText,
337 OnClipboardReadText) 337 OnClipboardReadText)
338 IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_ClipboardReadAsciiText, 338 IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_ClipboardReadAsciiText,
339 OnClipboardReadAsciiText) 339 OnClipboardReadAsciiText)
340 IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_ClipboardReadHTML, 340 IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_ClipboardReadHTML,
341 OnClipboardReadHTML) 341 OnClipboardReadHTML)
342 #if defined(OS_MACOSX) 342 #if defined(OS_MACOSX)
343 IPC_MESSAGE_HANDLER(ViewHostMsg_ClipboardFindPboardWriteStringAsync, 343 IPC_MESSAGE_HANDLER(ViewHostMsg_ClipboardFindPboardWriteStringAsync,
344 OnClipboardFindPboardWriteString) 344 OnClipboardFindPboardWriteString)
345 IPC_MESSAGE_HANDLER(ViewHostMsg_GotCharacterIndexForPoint,
346 OnGotCharacterIndexForPoint)
347 IPC_MESSAGE_HANDLER(ViewHostMsg_GotFirstRectForRange,
348 OnGotFirstRectForRange)
349 IPC_MESSAGE_HANDLER(ViewHostMsg_GotStringForRange, OnGotStringFromRange)
345 #endif 350 #endif
346 IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_ClipboardReadAvailableTypes, 351 IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_ClipboardReadAvailableTypes,
347 OnClipboardReadAvailableTypes) 352 OnClipboardReadAvailableTypes)
348 IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_ClipboardReadData, 353 IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_ClipboardReadData,
349 OnClipboardReadData) 354 OnClipboardReadData)
350 IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_ClipboardReadFilenames, 355 IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_ClipboardReadFilenames,
351 OnClipboardReadFilenames) 356 OnClipboardReadFilenames)
352 IPC_MESSAGE_HANDLER(ViewHostMsg_CheckNotificationPermission, 357 IPC_MESSAGE_HANDLER(ViewHostMsg_CheckNotificationPermission,
353 OnCheckNotificationPermission) 358 OnCheckNotificationPermission)
354 IPC_MESSAGE_HANDLER(ViewHostMsg_RevealFolderInOS, OnRevealFolderInOS) 359 IPC_MESSAGE_HANDLER(ViewHostMsg_RevealFolderInOS, OnRevealFolderInOS)
(...skipping 1271 matching lines...) Expand 10 before | Expand all | Expand 10 after
1626 } 1631 }
1627 1632
1628 CookiesEnabledCompletion::~CookiesEnabledCompletion() {} 1633 CookiesEnabledCompletion::~CookiesEnabledCompletion() {}
1629 1634
1630 void CookiesEnabledCompletion::RunWithParams(const Tuple1<int>& params) { 1635 void CookiesEnabledCompletion::RunWithParams(const Tuple1<int>& params) {
1631 bool result = params.a != net::ERR_ACCESS_DENIED; 1636 bool result = params.a != net::ERR_ACCESS_DENIED;
1632 ViewHostMsg_CookiesEnabled::WriteReplyParams(reply_msg_, result); 1637 ViewHostMsg_CookiesEnabled::WriteReplyParams(reply_msg_, result);
1633 filter_->Send(reply_msg_); 1638 filter_->Send(reply_msg_);
1634 delete this; 1639 delete this;
1635 } 1640 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698