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

Side by Side Diff: apps/app_window_contents.h

Issue 23847004: "Redirecting URLs to Packaged Apps" implementation: revised (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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
« no previous file with comments | « no previous file | apps/app_window_contents.cc » ('j') | apps/app_window_contents.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CHROME_BROWSER_EXTENSIONS_APP_WINDOW_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_APP_WINDOW_CONTENTS_H_
6 #define CHROME_BROWSER_EXTENSIONS_APP_WINDOW_CONTENTS_H_ 6 #define CHROME_BROWSER_EXTENSIONS_APP_WINDOW_CONTENTS_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "apps/shell_window.h" 10 #include "apps/shell_window.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 54 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
55 55
56 // ExtensionFunctionDispatcher::Delegate 56 // ExtensionFunctionDispatcher::Delegate
57 virtual extensions::WindowController* GetExtensionWindowController() const 57 virtual extensions::WindowController* GetExtensionWindowController() const
58 OVERRIDE; 58 OVERRIDE;
59 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE; 59 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE;
60 60
61 void OnRequest(const ExtensionHostMsg_Request_Params& params); 61 void OnRequest(const ExtensionHostMsg_Request_Params& params);
62 void UpdateDraggableRegions( 62 void UpdateDraggableRegions(
63 const std::vector<extensions::DraggableRegion>& regions); 63 const std::vector<extensions::DraggableRegion>& regions);
64 void LaunchAppWithUrl(const GURL& url, const GURL& referrer_url) const;
64 void SuspendRenderViewHost(content::RenderViewHost* rvh); 65 void SuspendRenderViewHost(content::RenderViewHost* rvh);
65 66
66 ShellWindow* host_; // This class is owned by |host_| 67 ShellWindow* host_; // This class is owned by |host_|
67 GURL url_; 68 GURL url_;
68 content::NotificationRegistrar registrar_; 69 content::NotificationRegistrar registrar_;
69 scoped_ptr<content::WebContents> web_contents_; 70 scoped_ptr<content::WebContents> web_contents_;
70 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; 71 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_;
71 72
72 DISALLOW_COPY_AND_ASSIGN(AppWindowContents); 73 DISALLOW_COPY_AND_ASSIGN(AppWindowContents);
73 }; 74 };
74 75
75 } // namespace apps 76 } // namespace apps
76 77
77 #endif // CHROME_BROWSER_EXTENSIONS_APP_WINDOW_CONTENTS_H_ 78 #endif // CHROME_BROWSER_EXTENSIONS_APP_WINDOW_CONTENTS_H_
OLDNEW
« no previous file with comments | « no previous file | apps/app_window_contents.cc » ('j') | apps/app_window_contents.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698