1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/renderer/ime_event_guard.h"
7 #include "content/renderer/render_widget.h"
11 ImeEventGuard::ImeEventGuard(RenderWidget
* widget
) : widget_(widget
) {
12 widget_
->StartHandlingImeEvent();
15 ImeEventGuard::~ImeEventGuard() {
16 widget_
->FinishHandlingImeEvent();
19 } // namespace content