summaryrefslogtreecommitdiffstats
path: root/ipc
Commit message (Collapse)AuthorAgeFilesLines
* Correct bit-shift in IPC hash generation.dsinclair@chromium.org2013-07-261-1/+1
| | | | | | | | | | | | | | | | | | The actual bit shifting that happens does not match what is specified in the comment. With the current implementation we will shift the PID over 14 bits, this sets the top 22 bits with the bottom 22 bits of the PID. When then OR the count with 0x3fff giving us 14 bits which we shift over 8 bits. This will end up OR'ing 8 bits of the count with 8 bits of the PID. Instead, we shift the PID over 22 bits, giving is 10 bits of the PID and shift the 14 bits of the count over 8. There should be no OR'ing between the PID and the count. This then matches what is specified in the comments. BUG= Review URL: https://chromiumcodereview.appspot.com/20106002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213882 0039d316-1c4b-4281-b951-d872f2087c98
* Update include paths in ipc for base/process changes.rsesek@chromium.org2013-07-2414-12/+10
| | | | | | | | | BUG=242290 R=cpu@chromium.org Review URL: https://chromiumcodereview.appspot.com/19525007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213349 0039d316-1c4b-4281-b951-d872f2087c98
* Run local discovery code in utility process.vitalybuka@chromium.org2013-07-181-0/+1
| | | | | | | | BUG=245391 Review URL: https://chromiumcodereview.appspot.com/19284005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212447 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of the message_loop header in dbus/, device/, ↵avi@chromium.org2013-07-1711-11/+11
| | | | | | | | | | | | extensions/, google_apis/, gpu/, ipc/, jingle/. BUG=260807 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/19607005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212157 0039d316-1c4b-4281-b951-d872f2087c98
* Rename base::Delete to base::DeleteFilebrettw@chromium.org2013-07-161-1/+1
| | | | | | | | | | | Also renames DeleteAfterReboot to DeleteFileAfterReboot, and removes FileUtilProxy::RecursiveDelete which was never called. BUG= R=shess@chromium.org Review URL: https://codereview.chromium.org/18584011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211822 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ParamTraits::param_type for unsigned charjschuh@chromium.org2013-07-131-1/+1
| | | | | | | | | | | Minor bug in r211473. R=tsepez@chromium.org TBR=tsepez@chromium.org Review URL: https://chromiumcodereview.appspot.com/19023006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211546 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for marshalling unsigned char in IPC.tsepez@chromium.org2013-07-122-25/+50
| | | | | | | | | | | | | | | | | | | | Previously, we've supported unsigned short, but not unsigned char. There are a few places where folks are passing around color values that must be in the 0..255, and we can save both bytes written and avoid explicit range checks by the receiving method by using this rather than larger types. We support unsigned char only. Signed char is evil due to questionable signedness in the C specs. I've re-arranged the order of these specializatons so that they go in order of increasing size as they go down the page. R=jam@chromium.org BUG=259903 Review URL: https://chromiumcodereview.appspot.com/18068016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211473 0039d316-1c4b-4281-b951-d872f2087c98
* Move PathExists to base namespace.brettw@chromium.org2013-07-111-1/+1
| | | | | | | | | BUG= TBR=jam@chromium.org Review URL: https://codereview.chromium.org/18286004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211147 0039d316-1c4b-4281-b951-d872f2087c98
* Make utility process run in-process when running in single-process mode.jam@chromium.org2013-07-091-0/+3
| | | | | | | | | | | Remove the unit test/single process code path for SandboxedUnpacker as a first step. BUG=19192 R=asargent@chromium.org, scottmg@chromium.org Review URL: https://codereview.chromium.org/18119009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210620 0039d316-1c4b-4281-b951-d872f2087c98
* Define EncodedVideoSource and RtcCapturedEncodingVideoCapturer.hshi@chromium.org2013-07-021-1/+2
| | | | | | | | | | | | | | | | | | | | Defined the interfaces for EVS (EncodedVideoSource) and related IPC messages between renderer and browser processes for the purpose of encoded screen capture. Added RtcCapturedEncodingVideoCapturerFactory which implements the libjingle::WebRtcVideoEncoderFactory class, and the corresponding RtcCapturedEncodingVideoCapturer which implements the webrtc::VideoEncoder. Modify MediaStreamDependencyFactory and inject RtcCapturedEncodingVideoCaptureFactory in PeerConnectionFactory. For the time being, the factory will only be instantiated for Chrome OS and ARM. BUG=238515 TEST=trybot Review URL: https://chromiumcodereview.appspot.com/16320005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209760 0039d316-1c4b-4281-b951-d872f2087c98
* Generates the DTLS identity in browser process and returns it to the ↵jiayl@chromium.org2013-07-011-1/+2
| | | | | | | | | | | | | | | | | renderer process. This is the first part of implementing a persistent identity store for WebRTC in Chrome. It implements the IPC messages to request and return the DTLS identity and the identity generation in browser process. A persistent store based on SQLite DB will be implemented later. DTLSIdentityService: used in the renderer process to request a DTLS identity. It sends an IPC to the browser process and receives the reply containing the identity in a callback. DTLSIdentityServiceHost: listens for the IPC message from DTLSIdentityService and passes the request to DTLSIdentityStore. DTLSIdentityStore: created per RenerProcessHost. For now it always generates a new identity on a worker thread for each request, without any caching or persistent storage. BUG=https://code.google.com/p/webrtc/issues/detail?id=1864 Review URL: https://chromiumcodereview.appspot.com/15969025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209499 0039d316-1c4b-4281-b951-d872f2087c98
* Move file_util::Delete to the base namespacebrettw@chromium.org2013-07-011-1/+1
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/16950028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209475 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of time headers in courgette/, crypto/, dbus/, device/, ↵avi@chromium.org2013-06-284-4/+4
| | | | | | | | | | | | google_apis/, gpu/, ipc/, jingle/. BUG=254986 TEST=none TBR=ben@chromium.org Review URL: https://codereview.chromium.org/18156002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209149 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land 16025005 with tiny fix for statics perf issuecrogers@google.com2013-06-221-0/+1
| | | | | | | | | | | 16025005 had review from: palmer@chromium.org, piman@chromium.org, scherkus@chromium.org BUG=163795 TBR=scherkus@chromium.org Review URL: https://codereview.chromium.org/17288018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208003 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 207992: This looks like a reland of r207983, which was reverted insadrul@chromium.org2013-06-221-1/+0
| | | | | | | | | | r207989. But it looks more like an accidental commit. TBR=crogers@google.com Review URL: https://codereview.chromium.org/17176031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207996 0039d316-1c4b-4281-b951-d872f2087c98
* don't include iostream.hcrogers@google.com2013-06-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use ChildThread for main loop - fix Android build whitespace fix minor style fix last minute compile fixes address Antoine's comments minor changes to reflect latest Blink API -- address palmer comments last minute include order fix address last minute style nits stub out other OSes support Takashi's MIDIAccessor fix minor build err undo param traits changes get rid of param_traits - other minor style nits address scherkus comments use int64 for ParamTraits WIP fix white-space issues more style basically working some cleanup -- support for multiple clients forgot midi_manager.cc Get MIDI port information sent to renderer formatting fixes lots of cleanup - added RequestAccess and Send style more style only bother sending received messages to renderer if approval was asked early steps to granting permission to Blink some progress to sending port info to Blink send client_id when requesting access fix minor style issues in .gyp files fix context/browser DEPS fix include paths git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207992 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 207983 "Implement Web MIDI API back-end"crogers@google.com2013-06-221-1/+0
| | | | | | | | | | | | | | | | | | > Implement Web MIDI API back-end > > This involves browser-side support and IPC for sending and receiving > MIDI messages. Initially support for OSX is included. > > BUG=163795 > R=palmer@chromium.org, piman@chromium.org, scherkus@chromium.org > > Review URL: https://codereview.chromium.org/16025005 TBR=crogers@google.com Review URL: https://codereview.chromium.org/17334006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207989 0039d316-1c4b-4281-b951-d872f2087c98
* Implement Web MIDI API back-endcrogers@google.com2013-06-221-0/+1
| | | | | | | | | | | | This involves browser-side support and IPC for sending and receiving MIDI messages. Initially support for OSX is included. BUG=163795 R=palmer@chromium.org, piman@chromium.org, scherkus@chromium.org Review URL: https://codereview.chromium.org/16025005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207983 0039d316-1c4b-4281-b951-d872f2087c98
* Add base namespace to more values in sync and elsewhere.brettw@chromium.org2013-06-211-3/+3
| | | | | | | | | | This makes sync and net compile with no "using *Value". BUG= Review URL: https://codereview.chromium.org/17034006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207907 0039d316-1c4b-4281-b951-d872f2087c98
* Separate NaCl messages from the rest of chrome messages and create a new ↵yael.aharon@intel.com2013-06-181-0/+1
| | | | | | | | | | message filter. This is part of an effort to componentize NaCl code. BUG=244791 Review URL: https://chromiumcodereview.appspot.com/15906013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206855 0039d316-1c4b-4281-b951-d872f2087c98
* Make net and ipc explicitly use the base namespace for Values.brettw@chromium.org2013-06-132-43/+47
| | | | | | | | | | | They're currently relying on a using in values.h that we want to remove. I removed several usings in net for consistency. BUG= R=willchan@chromium.org Review URL: https://codereview.chromium.org/15662008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206187 0039d316-1c4b-4281-b951-d872f2087c98
* Move nullable_string16.h to the string subdirectory.avi@chromium.org2013-06-132-10/+12
| | | | | | | | | | BUG=247723 TEST=no change TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/16415016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206066 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 205889 "Revert 205775 "Revert 205772 "Revert "Revert 2054..."jochen@chromium.org2013-06-131-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Revert 205775 "Revert 205772 "Revert "Revert 205443 "headless wi..." > > > Revert 205772 "Revert "Revert 205443 "headless windows content_s..." > > > > > Revert "Revert 205443 "headless windows content_shell"" > > > > > > Also, add more verbose debug output to LOGFONT pickle code > > > > > > The NOTREACHED() is reached on WebKit Win7 (dbg) bots, but I cannot reproduce > > > locally, so I need more data from the bots > > > > > > I'll revert the CL once the Webkit Win Debug builder cycled once. > > > > > > BUG=248520 > > > TBR=jam@chromium.org > > > > > > Review URL: https://codereview.chromium.org/16309013 > > > > TBR=jochen@chromium.org > > > > Review URL: https://codereview.chromium.org/16034019 > > TBR=jochen@chromium.org > > Review URL: https://codereview.chromium.org/16817004 TBR=jochen@chromium.org Review URL: https://codereview.chromium.org/16941002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206029 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 205775 "Revert 205772 "Revert "Revert 205443 "headless wi..."jochen@chromium.org2013-06-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | > Revert 205772 "Revert "Revert 205443 "headless windows content_s..." > > > Revert "Revert 205443 "headless windows content_shell"" > > > > Also, add more verbose debug output to LOGFONT pickle code > > > > The NOTREACHED() is reached on WebKit Win7 (dbg) bots, but I cannot reproduce > > locally, so I need more data from the bots > > > > I'll revert the CL once the Webkit Win Debug builder cycled once. > > > > BUG=248520 > > TBR=jam@chromium.org > > > > Review URL: https://codereview.chromium.org/16309013 > > TBR=jochen@chromium.org > > Review URL: https://codereview.chromium.org/16034019 TBR=jochen@chromium.org Review URL: https://codereview.chromium.org/16817004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205889 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 205772 "Revert "Revert 205443 "headless windows content_s..."jochen@chromium.org2013-06-121-2/+0
| | | | | | | | | | | | | | | | | | | | | | > Revert "Revert 205443 "headless windows content_shell"" > > Also, add more verbose debug output to LOGFONT pickle code > > The NOTREACHED() is reached on WebKit Win7 (dbg) bots, but I cannot reproduce > locally, so I need more data from the bots > > I'll revert the CL once the Webkit Win Debug builder cycled once. > > BUG=248520 > TBR=jam@chromium.org > > Review URL: https://codereview.chromium.org/16309013 TBR=jochen@chromium.org Review URL: https://codereview.chromium.org/16034019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205775 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Revert 205443 "headless windows content_shell""jochen@chromium.org2013-06-121-0/+2
| | | | | | | | | | | | | | | | Also, add more verbose debug output to LOGFONT pickle code The NOTREACHED() is reached on WebKit Win7 (dbg) bots, but I cannot reproduce locally, so I need more data from the bots I'll revert the CL once the Webkit Win Debug builder cycled once. BUG=248520 TBR=jam@chromium.org Review URL: https://codereview.chromium.org/16309013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205772 0039d316-1c4b-4281-b951-d872f2087c98
* Rename base/hash_tables to base/containers/hash_tables.brettw@chromium.org2013-06-111-1/+1
| | | | | | | | | | | Remove forwarding header BUG= R=avi@chromium.org Review URL: https://codereview.chromium.org/16667019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205584 0039d316-1c4b-4281-b951-d872f2087c98
* Add IPC for new WebSocket impl.ricea@chromium.org2013-06-111-0/+1
| | | | | | | | | | Add a new set of IPCs for the new WebSocket implementation in chrome/net. BUG=241811 Review URL: https://chromiumcodereview.appspot.com/12730003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205570 0039d316-1c4b-4281-b951-d872f2087c98
* Call scoped_refptr<T>::get() rather than relying on implicit "operator T*"rsleevi@chromium.org2013-06-114-18/+33
| | | | | | | | | | | | | | | | | | | This upates calls to bound temporary objects to also use get(). While it has the same semantic equivalence to the existing code, this generally represents a dangerous pattern - indeed, part of the whole motivation for this change is to make this anti-pattern very visible to authors. This change simply updates all of the call sites, to allow the "operator T*" to be removed and preventing new instances. The existing instances will then be reviewed for "suspicious" changes and updated to use/pass scoped_refptr<T> rather than T*, as appropriate. BUG=110610 TBR=darin Review URL: https://codereview.chromium.org/15984016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205560 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of strings headers in ipc/, jingle/, media/.avi@chromium.org2013-06-118-15/+15
| | | | | | | | | | BUG=247723 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/16684003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205436 0039d316-1c4b-4281-b951-d872f2087c98
* Update includes of message_loop_proxy.brettw@chromium.org2013-06-102-2/+2
| | | | | | | | | | | This keeps the forwarding header, just updates all current callers. BUG= R=avi@chromium.org Review URL: https://codereview.chromium.org/16514006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205306 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of utf_string_conversions.h in google_apis/, gpu/, ↵avi@chromium.org2013-06-072-2/+2
| | | | | | | | | | | | ipc/, media/, ppapi/, printing/, remoting/, rlz/, skia/, sql/, sync/, third_party/, tools/, webkit/, win8/. BUG=none TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/15995038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204967 0039d316-1c4b-4281-b951-d872f2087c98
* Use native_client/src/public/ for IMC headersmcgrathr@chromium.org2013-06-052-6/+14
| | | | | | | | | | | | | The preferred way to get the header files for NaCl's IMC layer has changed. The NaClImcMsgIoVec and NaClImcMsgHdr structs now use the NaclAbi prefix. BUG= https://code.google.com/p/nativeclient/issues/detail?id=3464 TEST= R=dmichael@chromium.org, mseaborn@chromium.org Review URL: https://chromiumcodereview.appspot.com/15793014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204359 0039d316-1c4b-4281-b951-d872f2087c98
* Implement off-the-wire validation scheme for emum types.tsepez@chromium.org2013-06-048-35/+58
| | | | | | | | | | | | | This CL adds explicit IPC macros that can be used to ensure that the values being read off the wire are legitimate for the enum type. BUG=176110 R=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/15841011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203892 0039d316-1c4b-4281-b951-d872f2087c98
* Update ipc/ to use scoped_refptr<T>::get() rather than implicit "operator T*"rsleevi@chromium.org2013-06-016-11/+11
| | | | | | | | | | | Linux fixes BUG=110610 TBR=darin Review URL: https://chromiumcodereview.appspot.com/15703006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203562 0039d316-1c4b-4281-b951-d872f2087c98
* GetFileHandleForProcess should check for INVALID_HANDLE_VALUEjschuh@chromium.org2013-05-241-1/+2
| | | | | | | | | BUG=243339 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/16020004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202207 0039d316-1c4b-4281-b951-d872f2087c98
* Adds chrome.memoryBenchmarking.heapProfilerDump for the browser process.bulach@chromium.org2013-05-241-0/+1
| | | | | | | | | | | This function will be used in conjunction with --enable-memory-benchmarking switch in order to obtain TCMalloc's heap dumps. BUG=239836 Review URL: https://chromiumcodereview.appspot.com/15082004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202087 0039d316-1c4b-4281-b951-d872f2087c98
* Move child-common classes to content/common_childjamesr@chromium.org2013-05-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | We need a place to put code that is shared between child processes of different types but not used in the browser process. For instance, the NPObject bindings code is used in the plugin and renderer processes but depends on WebBindings which the browser shouldn't depend on. Some web platform features require shared code between renderer and worker processe. The WebKit image decoders are used by worker, renderer and utility processes. This creates a content/common_child directory for code shared by more than one child process type. content/common_child can depend on content/common and all content/ subdirs except for content/browser and content/common can depend on it. The java bridge code is (more than a) bit busted since it pulls the NPObject bindings in to the browser, but since this code is only intended for use on android single-process configurations I've just created DEPS exceptions for this bit of code. BUG=241606 Review URL: https://chromiumcodereview.appspot.com/15047014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201252 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: remove unmaintained SELinux code.phajdan.jr@chromium.org2013-05-171-5/+0
| | | | | | | | | | | | See https://groups.google.com/a/chromium.org/d/msg/chromium-dev/YpU7t2XaGRg/V9-diQZQQDwJ for discussion. BUG=none R=agl@chromium.org, jln@chromium.org Review URL: https://codereview.chromium.org/14771026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200838 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded base/file_util.h includes in chrome_frame, ↵thestig@chromium.org2013-05-162-2/+1
| | | | | | | | courgette, ipc, media, and net. Review URL: https://chromiumcodereview.appspot.com/14820034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200419 0039d316-1c4b-4281-b951-d872f2087c98
* Implement web speech synthesis.dmazzoni@chromium.org2013-05-031-0/+1
| | | | | | | | | | | | | | | | Refactors TtsController a bit so that it can be used both by Tts extensions and by web speech. Implements almost all of the features of the web speech API. Requires corresponding WebKit patch: https://bugs.webkit.org/show_bug.cgi?id=111695 BUG=171887 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/12589005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198060 0039d316-1c4b-4281-b951-d872f2087c98
* base: Remove ALLOW_THIS_IN_INITIALIZER_LIST macro.tfarina@chromium.org2013-05-011-1/+1
| | | | | | | | | | | | All the usages were fixed in past revisions and the remaining usages were fixed within this patch. BUG=234765 TBR=darin@chromium.org Review URL: https://codereview.chromium.org/14657004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197671 0039d316-1c4b-4281-b951-d872f2087c98
* Add kenrb as security team owner for ipc_message_start.h.kenrb@chromium.org2013-04-301-0/+1
| | | | | | Review URL: https://chromiumcodereview.appspot.com/14674005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197503 0039d316-1c4b-4281-b951-d872f2087c98
* ipc: Use base::MessageLoop.xhwang@chromium.org2013-04-3018-101/+101
| | | | | | | | | BUG=236029 R=agl@chromium.org Review URL: https://chromiumcodereview.appspot.com/14383024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197465 0039d316-1c4b-4281-b951-d872f2087c98
* Re-implement form validation message UI with native widgets. (Common and Mac)tkent@chromium.org2013-04-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The current form validation message UI with Shadow DOM has a lot of problems and some of them are unresolvable if we continue to use Shadow DOM. We should stop using Shadow DOM. This patch implements a platform-indepedent part of WebKit::WebValidationMessageClient, and the Mac part. - Introduce ValidationMessageAgent, which implements WebKit::WebValidationMessageClient and lives in a renderer process of the chrome module. It dispatches IPC messages to the browser process. ValidationMessageAgent is used only on Mac for now. - ValidationMessageFilter receives the IPC messages in the browser process, and instructs to show/hide validation message UI. - Add common interface to control validation message UI validation_message_bubble.h - Add skelton implementations for non-Mac and a real implementation for Mac validation_message_bubble_*.* BUG=90252,90958,92816,104829,106621,113352,115451,125330,143356,146212,155448,166981,231170 Review URL: https://chromiumcodereview.appspot.com/13160004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197226 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new pair of IPC categories for messages that need handling as input eventsjamesr@chromium.org2013-04-271-0/+1
| | | | | | | | | | | | | | | | | | | | The compositor thread input filtering mechanism adds the possibility of handling some IPCs in the render process main thread in a different order than they were sent from the browser process since it filters some messages from the IO thread. For the most part, this is OK since the exact order of different types of messages is not important but there are some input-related messages that do need to processed in order - for instance MouseCaptureLost (see crbug.com/231532). This adds a new IPC class, InputMsg, for messages that need input-like filtering and InputHostMsg for their ACKs. All messages of this class are routed through the compositor thread to preserve order. BUG=233365 Review URL: https://chromiumcodereview.appspot.com/14487003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196907 0039d316-1c4b-4281-b951-d872f2087c98
* ipc: Remove use of ALLOW_THIS_IN_INITIALIZER_LIST.scherkus@chromium.org2013-04-262-3/+3
| | | | | | | | | | It's no longer providing value as the MSVC warning is disabled during compilation. Refer to bug for details. BUG=234765 Review URL: https://chromiumcodereview.appspot.com/14261019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196807 0039d316-1c4b-4281-b951-d872f2087c98
* Adding WebRTC logging filter, handler and handler host.grunell@chromium.org2013-04-181-0/+1
| | | | | | | | | | | Updates to and usage of these will be added in coming CLs. BUG=229829 Review URL: https://chromiumcodereview.appspot.com/13119009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194861 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 193974 "Test extension reloading behavior."dmazzoni@chromium.org2013-04-121-3/+2
| | | | | | | | | | | | | | | | | | | | ExtensionServiceTest.ReloadExtension failed on Linux. > Test extension reloading behavior. > > By testing the actual interaction with renderer processes and the > notification system, I can expose the fact that we're starting a whole > extra process and loading the extension around 3 times. > > > BUG=178542 > > Review URL: https://chromiumcodereview.appspot.com/13533007 TBR=jyasskin@chromium.org Review URL: https://codereview.chromium.org/13844013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193986 0039d316-1c4b-4281-b951-d872f2087c98
* Test extension reloading behavior.jyasskin@chromium.org2013-04-121-2/+3
| | | | | | | | | | | | | By testing the actual interaction with renderer processes and the notification system, I can expose the fact that we're starting a whole extra process and loading the extension around 3 times. BUG=178542 Review URL: https://chromiumcodereview.appspot.com/13533007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193974 0039d316-1c4b-4281-b951-d872f2087c98