Index: chrome/browser/chromeos/login/simple_web_view_dialog.h |
=================================================================== |
--- chrome/browser/chromeos/login/simple_web_view_dialog.h (revision 138673) |
+++ chrome/browser/chromeos/login/simple_web_view_dialog.h (working copy) |
@@ -11,6 +11,7 @@ |
#include "chrome/browser/command_updater.h" |
#include "chrome/browser/ui/toolbar/toolbar_model_delegate.h" |
#include "chrome/browser/ui/views/location_bar/location_bar_view.h" |
+#include "content/public/browser/page_navigator.h" |
#include "content/public/browser/web_contents_delegate.h" |
#include "googleurl/src/gurl.h" |
#include "ui/views/controls/button/image_button.h" |
@@ -40,6 +41,7 @@ |
public LocationBarView::Delegate, |
public ToolbarModelDelegate, |
public CommandUpdater::CommandUpdaterDelegate, |
+ public content::PageNavigator, |
public content::WebContentsDelegate { |
public: |
explicit SimpleWebViewDialog(Profile* profile); |
@@ -59,6 +61,10 @@ |
virtual void ButtonPressed(views::Button* sender, |
const views::Event& event) OVERRIDE; |
+ // Implements content::PageNavigator: |
+ virtual content::WebContents* OpenURL( |
+ const content::OpenURLParams& params) OVERRIDE; |
+ |
// Implements content::WebContentsDelegate: |
virtual void LoadingStateChanged(content::WebContents* source) OVERRIDE; |