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

Unified Diff: remoting/ios/ui/cursor_texture.h

Issue 475333004: Remove old Chromoting iOS client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « remoting/ios/key_map_us.h ('k') | remoting/ios/ui/cursor_texture.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/ios/ui/cursor_texture.h
diff --git a/remoting/ios/ui/cursor_texture.h b/remoting/ios/ui/cursor_texture.h
deleted file mode 100644
index 398a42467bae3440c41c9a0cf670cf479926ed91..0000000000000000000000000000000000000000
--- a/remoting/ios/ui/cursor_texture.h
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright 2014 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 REMOTING_IOS_UI_CURSOR_TEXTURE_H_
-#define REMOTING_IOS_UI_CURSOR_TEXTURE_H_
-
-#import <Foundation/Foundation.h>
-#import <GLKit/GLKit.h>
-
-#import "base/memory/scoped_ptr.h"
-
-#import "remoting/ios/utility.h"
-#include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
-#include "third_party/webrtc/modules/desktop_capture/mouse_cursor.h"
-
-@interface CursorTexture : NSObject {
- @private
- // GL name
- GLuint _textureId;
- webrtc::DesktopSize _textureSize;
- BOOL _needInitialize;
-
- // The current cursor
- scoped_ptr<webrtc::MouseCursor> _cursor;
-
- BOOL _needCursorRedraw;
-
- // Rectangle of the most recent cursor drawn to a GL Texture. On each
- // successive frame when a new cursor is available this region is cleared on
- // the GL Texture, so that the GL Texture is completely transparent again, and
- // the cursor is then redrawn.
- webrtc::DesktopRect _cursorDrawnToGL;
-}
-
-- (const webrtc::DesktopSize&)textureSize;
-
-- (void)setTextureSize:(const webrtc::DesktopSize&)size;
-
-- (const webrtc::MouseCursor&)cursor;
-
-- (void)setCursor:(webrtc::MouseCursor*)cursor;
-
-// bind this object to an effect's via the effects properties
-- (void)bindToEffect:(GLKEffectPropertyTexture*)effectProperty;
-
-// True if the cursor has changed in a way that requires it to be redrawn
-- (BOOL)needDrawAtPosition:(const webrtc::DesktopVector&)position;
-
-// needDrawAtPosition must be checked prior to calling drawWithMousePosition.
-// Draw mouse at the new position.
-- (void)drawWithMousePosition:(const webrtc::DesktopVector&)position;
-
-- (void)releaseTexture;
-
-@end
-
-#endif // REMOTING_IOS_UI_CURSOR_TEXTURE_H_
« no previous file with comments | « remoting/ios/key_map_us.h ('k') | remoting/ios/ui/cursor_texture.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698