blob: 9e4789d13382cd4e39330599cc82dd8b49aedac3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright 2013 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 "content/renderer/ime_event_guard.h"
#include "content/renderer/render_widget.h"
namespace content {
ImeEventGuard::ImeEventGuard(RenderWidget* widget) : widget_(widget) {
widget_->StartHandlingImeEvent();
}
ImeEventGuard::~ImeEventGuard() {
widget_->FinishHandlingImeEvent();
}
} // namespace content
|