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

Side by Side Diff: content/browser/web_contents/web_contents_impl.cc

Issue 712723002: suppress link disambiguation popup when virtual keyboard requested (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix linux build Created 6 years, 1 month 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/web_contents/web_contents_impl.h" 5 #include "content/browser/web_contents/web_contents_impl.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/debug/trace_event.h" 10 #include "base/debug/trace_event.h"
(...skipping 1779 matching lines...) Expand 10 before | Expand all | Expand 10 after
1790 } 1790 }
1791 1791
1792 SessionStorageNamespaceMap WebContentsImpl::GetSessionStorageNamespaceMap() { 1792 SessionStorageNamespaceMap WebContentsImpl::GetSessionStorageNamespaceMap() {
1793 return controller_.GetSessionStorageNamespaceMap(); 1793 return controller_.GetSessionStorageNamespaceMap();
1794 } 1794 }
1795 1795
1796 FrameTree* WebContentsImpl::GetFrameTree() { 1796 FrameTree* WebContentsImpl::GetFrameTree() {
1797 return &frame_tree_; 1797 return &frame_tree_;
1798 } 1798 }
1799 1799
1800 void WebContentsImpl::SetIsVirtualKeyboardRequested(bool requested) {
1801 virtual_keyboard_requested_ = requested;
1802 }
1803
1804 bool WebContentsImpl::IsVirtualKeyboardRequested() {
1805 return virtual_keyboard_requested_;
1806 }
1807
1800 AccessibilityMode WebContentsImpl::GetAccessibilityMode() const { 1808 AccessibilityMode WebContentsImpl::GetAccessibilityMode() const {
1801 return accessibility_mode_; 1809 return accessibility_mode_;
1802 } 1810 }
1803 1811
1804 void WebContentsImpl::AccessibilityEventReceived( 1812 void WebContentsImpl::AccessibilityEventReceived(
1805 const std::vector<AXEventNotificationDetails>& details) { 1813 const std::vector<AXEventNotificationDetails>& details) {
1806 FOR_EACH_OBSERVER( 1814 FOR_EACH_OBSERVER(
1807 WebContentsObserver, observers_, AccessibilityEventReceived(details)); 1815 WebContentsObserver, observers_, AccessibilityEventReceived(details));
1808 } 1816 }
1809 1817
(...skipping 2534 matching lines...) Expand 10 before | Expand all | Expand 10 after
4344 node->render_manager()->ResumeResponseDeferredAtStart(); 4352 node->render_manager()->ResumeResponseDeferredAtStart();
4345 } 4353 }
4346 4354
4347 void WebContentsImpl::SetForceDisableOverscrollContent(bool force_disable) { 4355 void WebContentsImpl::SetForceDisableOverscrollContent(bool force_disable) {
4348 force_disable_overscroll_content_ = force_disable; 4356 force_disable_overscroll_content_ = force_disable;
4349 if (view_) 4357 if (view_)
4350 view_->SetOverscrollControllerEnabled(CanOverscrollContent()); 4358 view_->SetOverscrollControllerEnabled(CanOverscrollContent());
4351 } 4359 }
4352 4360
4353 } // namespace content 4361 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698