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

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

Issue 265044: Eliminate WebView::GetDelegate and replace RenderViewSet with a linked list o... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
« chrome/renderer/render_view.cc ('K') | « 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 1640 matching lines...) Expand 10 before | Expand all | Expand 10 after
1651 WebString WebViewImpl::inspectorSettings() const { 1651 WebString WebViewImpl::inspectorSettings() const {
1652 return inspector_settings_; 1652 return inspector_settings_;
1653 } 1653 }
1654 1654
1655 void WebViewImpl::setInspectorSettings(const WebString& settings) { 1655 void WebViewImpl::setInspectorSettings(const WebString& settings) {
1656 inspector_settings_ = settings; 1656 inspector_settings_ = settings;
1657 } 1657 }
1658 1658
1659 // WebView -------------------------------------------------------------------- 1659 // WebView --------------------------------------------------------------------
1660 1660
1661 WebViewDelegate* WebViewImpl::GetDelegate() {
1662 return delegate_;
1663 }
1664
1665 bool WebViewImpl::setDropEffect(bool accept) { 1661 bool WebViewImpl::setDropEffect(bool accept) {
1666 if (drag_target_dispatch_) { 1662 if (drag_target_dispatch_) {
1667 drop_effect_ = accept ? DROP_EFFECT_COPY : DROP_EFFECT_NONE; 1663 drop_effect_ = accept ? DROP_EFFECT_COPY : DROP_EFFECT_NONE;
1668 return true; 1664 return true;
1669 } else { 1665 } else {
1670 return false; 1666 return false;
1671 } 1667 }
1672 } 1668 }
1673 1669
1674 void WebViewImpl::AutofillSuggestionsForNode( 1670 void WebViewImpl::AutofillSuggestionsForNode(
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
1907 hitTestResultAtPoint(doc_point, false); 1903 hitTestResultAtPoint(doc_point, false);
1908 } 1904 }
1909 1905
1910 void WebViewImpl::setTabsToLinks(bool enable) { 1906 void WebViewImpl::setTabsToLinks(bool enable) {
1911 tabs_to_links_ = enable; 1907 tabs_to_links_ = enable;
1912 } 1908 }
1913 1909
1914 bool WebViewImpl::tabsToLinks() const { 1910 bool WebViewImpl::tabsToLinks() const {
1915 return tabs_to_links_; 1911 return tabs_to_links_;
1916 } 1912 }
OLDNEW
« chrome/renderer/render_view.cc ('K') | « webkit/glue/webview_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698