Fix a couple bugs in the settings_page_header wrt breadcrumbs.
[chromium-blink-merge.git] / content / renderer / ime_event_guard.cc
blob9e4789d13382cd4e39330599cc82dd8b49aedac3
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"
9 namespace content {
11 ImeEventGuard::ImeEventGuard(RenderWidget* widget) : widget_(widget) {
12 widget_->StartHandlingImeEvent();
15 ImeEventGuard::~ImeEventGuard() {
16 widget_->FinishHandlingImeEvent();
19 } // namespace content