Skip to content

Commit

Permalink
Remove unused EmbedLiteViewThreadParent::mInTouchProcess
Browse files Browse the repository at this point in the history
  • Loading branch information
rojkov committed Mar 31, 2014
1 parent 1e71818 commit 8ce9ca6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions embedding/embedlite/embedthread/EmbedLiteViewThreadParent.cpp
Expand Up @@ -49,7 +49,6 @@ EmbedLiteViewThreadParent::EmbedLiteViewThreadParent(const uint32_t& id, const u
, mView(EmbedLiteApp::GetInstance()->GetViewByID(id))
, mViewAPIDestroyed(false)
, mCompositor(nullptr)
, mInTouchProcess(false)
, mUILoop(MessageLoop::current())
, mLastIMEState(0)
, mUploadTexture(0)
Expand Down Expand Up @@ -568,13 +567,6 @@ EmbedLiteViewThreadParent::ReceiveInputEvent(const InputData& aEvent)
mController->ReceiveInputEvent(aEvent, &guid);
if (aEvent.mInputType == MULTITOUCH_INPUT) {
const MultiTouchInput& multiTouchInput = aEvent.AsMultiTouchInput();
if (multiTouchInput.mType == MultiTouchInput::MULTITOUCH_START ||
multiTouchInput.mType == MultiTouchInput::MULTITOUCH_ENTER) {
mInTouchProcess = true;
} else if (multiTouchInput.mType == MultiTouchInput::MULTITOUCH_END ||
multiTouchInput.mType == MultiTouchInput::MULTITOUCH_LEAVE) {
mInTouchProcess = false;
}
LayoutDeviceIntPoint lpt;
MultiTouchInput translatedEvent(multiTouchInput.mType, multiTouchInput.mTime, multiTouchInput.modifiers);
for (uint32_t i = 0; i < multiTouchInput.mTouches.Length(); ++i) {
Expand Down
Expand Up @@ -151,7 +151,6 @@ class EmbedLiteViewThreadParent : public PEmbedLiteViewParent,

ScreenIntSize mViewSize;
gfxSize mGLViewPortSize;
bool mInTouchProcess;
MessageLoop* mUILoop;
int mLastIMEState;

Expand Down

0 comments on commit 8ce9ca6

Please sign in to comment.