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

Unified Diff: content/renderer/pepper/pepper_instance_state_accessor.h

Issue 10815073: Refactoring of new IPC-only pepper implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/pepper/pepper_instance_state_accessor.h
diff --git a/content/renderer/pepper/pepper_instance_state_accessor.h b/content/renderer/pepper/pepper_instance_state_accessor.h
deleted file mode 100644
index 120640c6e09137d455cb58651bb55d2b1db5f8dd..0000000000000000000000000000000000000000
--- a/content/renderer/pepper/pepper_instance_state_accessor.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright (c) 2012 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.
-
-#ifndef CONTENT_RENDERER_PEPPER_PEPPER_INSTANCE_STATE_ACCESSOR_H_
-#define CONTENT_RENDERER_PEPPER_PEPPER_INSTANCE_STATE_ACCESSOR_H_
-
-#include "base/basictypes.h"
-#include "ppapi/c/pp_instance.h"
-
-namespace content {
-
-// This interface provides functions for querying instance state for resource
-// host implementations. It allows us to mock out some of these interactions
-// for testing, as well as limit the dependencies on the webkit layer.
-class PepperInstanceStateAccessor {
- public:
- virtual ~PepperInstanceStateAccessor() {}
-
- // Returns true if the given instance is valid for the host.
- virtual bool IsValidInstance(PP_Instance instance) = 0;
-
- // Returns true if the given instance is considered to be currently
- // processing a user gesture or the plugin module has the "override user
- // gesture" flag set (in which case it can always do things normally
- // restricted by user gestures). Returns false if the instance is invalid or
- // if there is no current user gesture.
- virtual bool HasUserGesture(PP_Instance instance) = 0;
-};
-
-} // namespace content
-
-#endif // CONTENT_RENDERER_PEPPER_PEPPER_INSTANCE_STATE_ACCESSOR_H_

Powered by Google App Engine
This is Rietveld 408576698