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

Unified Diff: ppapi/shared_impl/ppb_instance_shared.cc

Issue 8824015: Revert 113290 - Rename the shared_impl resource files to give them more regular names. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/shared_impl/ppb_instance_shared.h ('k') | ppapi/shared_impl/ppb_memory_shared.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/ppb_instance_shared.cc
===================================================================
--- ppapi/shared_impl/ppb_instance_shared.cc (revision 113301)
+++ ppapi/shared_impl/ppb_instance_shared.cc (working copy)
@@ -1,31 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "ppapi/shared_impl/ppb_instance_shared.h"
-
-#include "ppapi/c/pp_errors.h"
-#include "ppapi/c/ppb_input_event.h"
-
-namespace ppapi {
-
-PPB_Instance_Shared::~PPB_Instance_Shared() {
-}
-
-int32_t PPB_Instance_Shared::ValidateRequestInputEvents(
- bool is_filtering,
- uint32_t event_classes) {
- // See if any bits are set we don't know about.
- if (event_classes &
- ~static_cast<uint32_t>(PP_INPUTEVENT_CLASS_MOUSE |
- PP_INPUTEVENT_CLASS_KEYBOARD |
- PP_INPUTEVENT_CLASS_WHEEL |
- PP_INPUTEVENT_CLASS_TOUCH |
- PP_INPUTEVENT_CLASS_IME))
- return PP_ERROR_NOTSUPPORTED;
-
- // Everything else is valid.
- return PP_OK;
-}
-
-} // namespace ppapi
« no previous file with comments | « ppapi/shared_impl/ppb_instance_shared.h ('k') | ppapi/shared_impl/ppb_memory_shared.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698