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

Side by Side Diff: webkit/api/src/WebViewImpl.cpp

Issue 350003: Flesh out more of ChromiumBridge.cpp eliminating all but two methods on... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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 | Annotate | Revision Log
« no previous file with comments | « webkit/api/src/WebPluginContainerImpl.cpp ('k') | webkit/glue/webkitclient_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after
751 Frame* WebViewImpl::focusedWebCoreFrame() 751 Frame* WebViewImpl::focusedWebCoreFrame()
752 { 752 {
753 return m_page.get() ? m_page->focusController()->focusedOrMainFrame() : 0; 753 return m_page.get() ? m_page->focusController()->focusedOrMainFrame() : 0;
754 } 754 }
755 755
756 WebViewImpl* WebViewImpl::fromPage(Page* page) 756 WebViewImpl* WebViewImpl::fromPage(Page* page)
757 { 757 {
758 if (!page) 758 if (!page)
759 return 0; 759 return 0;
760 760
761 return static_cast<ChromeClientImpl*>(page->chrome()->client())->webview(); 761 return static_cast<ChromeClientImpl*>(page->chrome()->client())->webView();
762 } 762 }
763 763
764 // WebWidget ------------------------------------------------------------------ 764 // WebWidget ------------------------------------------------------------------
765 765
766 void WebViewImpl::close() 766 void WebViewImpl::close()
767 { 767 {
768 RefPtr<WebFrameImpl> mainFrameImpl; 768 RefPtr<WebFrameImpl> mainFrameImpl;
769 769
770 if (m_page.get()) { 770 if (m_page.get()) {
771 // Initiate shutdown for the entire frameset. This will cause a lot of 771 // Initiate shutdown for the entire frameset. This will cause a lot of
(...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after
1758 { 1758 {
1759 m_tabsToLinks = enable; 1759 m_tabsToLinks = enable;
1760 } 1760 }
1761 1761
1762 bool WebViewImpl::tabsToLinks() const 1762 bool WebViewImpl::tabsToLinks() const
1763 { 1763 {
1764 return m_tabsToLinks; 1764 return m_tabsToLinks;
1765 } 1765 }
1766 1766
1767 } // namespace WebKit 1767 } // namespace WebKit
OLDNEW
« no previous file with comments | « webkit/api/src/WebPluginContainerImpl.cpp ('k') | webkit/glue/webkitclient_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698