diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-03 16:33:45 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-03 16:33:45 +0000 |
commit | fc2b46bc8a826bbce32c0a1cfef6678aa7b0bb2b (patch) | |
tree | fc99a46723b215ce1dcb6e9d0d6a9c859a1317ae /ui/views/examples/webview_example.cc | |
parent | 08bb7500c4583bb641717819ade7af8e520e92cb (diff) | |
download | chromium_src-fc2b46bc8a826bbce32c0a1cfef6678aa7b0bb2b.zip chromium_src-fc2b46bc8a826bbce32c0a1cfef6678aa7b0bb2b.tar.gz chromium_src-fc2b46bc8a826bbce32c0a1cfef6678aa7b0bb2b.tar.bz2 |
Hide WebContentsView from Chrome. This also removes WebContentsViewPort.
TestWebContentsView goes away since it's not needed anymore
BUG=304341
R=avi@chromium.org, thestig@chromium.org
Review URL: https://codereview.chromium.org/262823006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268072 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/examples/webview_example.cc')
-rw-r--r-- | ui/views/examples/webview_example.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/views/examples/webview_example.cc b/ui/views/examples/webview_example.cc index 5a2d89d..feae6b9 100644 --- a/ui/views/examples/webview_example.cc +++ b/ui/views/examples/webview_example.cc @@ -6,7 +6,6 @@ #include "content/public/browser/browser_context.h" #include "content/public/browser/web_contents.h" -#include "content/public/browser/web_contents_view.h" #include "ui/views/controls/webview/webview.h" #include "ui/views/layout/fill_layout.h" @@ -28,7 +27,7 @@ void WebViewExample::CreateExampleView(View* container) { container->AddChildView(webview_); webview_->LoadInitialURL(GURL("http://www.google.com/")); - webview_->web_contents()->GetView()->Focus(); + webview_->web_contents()->Focus(); } } // namespace examples |