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

Side by Side Diff: webkit/glue/webview_impl.cc

Issue 160565: Adds support for the os x spelling panel to chromium. Users can... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « webkit/glue/webview_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) 2007-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2007-2009 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 "config.h" 5 #include "config.h"
6 #include "build/build_config.h" 6 #include "build/build_config.h"
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 MSVC_PUSH_WARNING_LEVEL(0); 9 MSVC_PUSH_WARNING_LEVEL(0);
10 #include "CSSStyleSelector.h" 10 #include "CSSStyleSelector.h"
(...skipping 1912 matching lines...) Expand 10 before | Expand all | Expand 10 after
1923 1923
1924 return document->focusedNode(); 1924 return document->focusedNode();
1925 } 1925 }
1926 1926
1927 HitTestResult WebViewImpl::HitTestResultForWindowPos(const IntPoint& pos) { 1927 HitTestResult WebViewImpl::HitTestResultForWindowPos(const IntPoint& pos) {
1928 IntPoint doc_point( 1928 IntPoint doc_point(
1929 page_->mainFrame()->view()->windowToContents(pos)); 1929 page_->mainFrame()->view()->windowToContents(pos));
1930 return page_->mainFrame()->eventHandler()-> 1930 return page_->mainFrame()->eventHandler()->
1931 hitTestResultAtPoint(doc_point, false); 1931 hitTestResultAtPoint(doc_point, false);
1932 } 1932 }
1933
1934 void WebViewImpl::SetSpellingPanelVisibility(bool is_visible) {
1935 spelling_panel_is_visible_ = is_visible;
1936 }
1937
1938 bool WebViewImpl::GetSpellingPanelVisibility() {
1939 return spelling_panel_is_visible_;
1940 }
OLDNEW
« no previous file with comments | « webkit/glue/webview_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698