| Index: trunk/src/chrome/browser/ui/apps/chrome_shell_window_delegate.h
|
| ===================================================================
|
| --- trunk/src/chrome/browser/ui/apps/chrome_shell_window_delegate.h (revision 251093)
|
| +++ trunk/src/chrome/browser/ui/apps/chrome_shell_window_delegate.h (working copy)
|
| @@ -7,15 +7,12 @@
|
|
|
| #include "apps/shell_window.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "chrome/browser/profiles/profile.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/browser/web_contents_delegate.h"
|
| #include "ui/base/window_open_disposition.h"
|
| #include "ui/gfx/rect.h"
|
|
|
| -namespace content {
|
| -class BrowserContext;
|
| -}
|
| -
|
| class ShellWindowLinkDelegate : public content::WebContentsDelegate {
|
| public:
|
| ShellWindowLinkDelegate();
|
| @@ -43,10 +40,10 @@
|
| apps::ShellWindow* window,
|
| const apps::ShellWindow::CreateParams& params) OVERRIDE;
|
| virtual content::WebContents* OpenURLFromTab(
|
| - content::BrowserContext* context,
|
| + Profile* profile,
|
| content::WebContents* source,
|
| const content::OpenURLParams& params) OVERRIDE;
|
| - virtual void AddNewContents(content::BrowserContext* context,
|
| + virtual void AddNewContents(Profile* profile,
|
| content::WebContents* new_contents,
|
| WindowOpenDisposition disposition,
|
| const gfx::Rect& initial_pos,
|
|
|