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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.cc

Issue 1652483002: Browser Side Text Input State Tracking for OOPIF. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved the Test to web_view_interactive_browsertest.cc Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/renderer_host/render_widget_host_impl.h" 5 #include "content/browser/renderer_host/render_widget_host_impl.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 #include <set> 8 #include <set>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 1712 matching lines...) Expand 10 before | Expand all | Expand 10 after
1723 view_.get() ? content::GetScaleFactorForView(view_.get()) : 1.0f)); 1723 view_.get() ? content::GetScaleFactorForView(view_.get()) : 1.0f));
1724 } 1724 }
1725 touch_emulator_->Enable(config_type); 1725 touch_emulator_->Enable(config_type);
1726 } else { 1726 } else {
1727 if (touch_emulator_) 1727 if (touch_emulator_)
1728 touch_emulator_->Disable(); 1728 touch_emulator_->Disable();
1729 } 1729 }
1730 } 1730 }
1731 1731
1732 void RenderWidgetHostImpl::OnTextInputStateChanged( 1732 void RenderWidgetHostImpl::OnTextInputStateChanged(
1733 const ViewHostMsg_TextInputState_Params& params) { 1733 const TextInputState& params) {
1734 if (view_) 1734 if (view_)
1735 view_->TextInputStateChanged(params); 1735 view_->TextInputStateChanged(params);
1736 } 1736 }
1737 1737
1738 void RenderWidgetHostImpl::OnImeCompositionRangeChanged( 1738 void RenderWidgetHostImpl::OnImeCompositionRangeChanged(
1739 const gfx::Range& range, 1739 const gfx::Range& range,
1740 const std::vector<gfx::Rect>& character_bounds) { 1740 const std::vector<gfx::Rect>& character_bounds) {
1741 if (view_) 1741 if (view_)
1742 view_->ImeCompositionRangeChanged(range, character_bounds); 1742 view_->ImeCompositionRangeChanged(range, character_bounds);
1743 } 1743 }
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
2167 return delegate_ ? delegate_->GetRootBrowserAccessibilityManager() : NULL; 2167 return delegate_ ? delegate_->GetRootBrowserAccessibilityManager() : NULL;
2168 } 2168 }
2169 2169
2170 BrowserAccessibilityManager* 2170 BrowserAccessibilityManager*
2171 RenderWidgetHostImpl::GetOrCreateRootBrowserAccessibilityManager() { 2171 RenderWidgetHostImpl::GetOrCreateRootBrowserAccessibilityManager() {
2172 return delegate_ ? 2172 return delegate_ ?
2173 delegate_->GetOrCreateRootBrowserAccessibilityManager() : NULL; 2173 delegate_->GetOrCreateRootBrowserAccessibilityManager() : NULL;
2174 } 2174 }
2175 2175
2176 } // namespace content 2176 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698