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

Unified Diff: components/html_viewer/html_frame_delegate.h

Issue 1674903003: Extract shell methods from ApplicationImpl into a base class, and pass this to Initialize() instead. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojom
Patch Set: . Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/html_viewer/html_frame_apptest.cc ('k') | components/html_viewer/html_viewer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/html_frame_delegate.h
diff --git a/components/html_viewer/html_frame_delegate.h b/components/html_viewer/html_frame_delegate.h
index 9418aa61dbdf81cacce2da33b05bc628317a6297..f7daddeaf70ccee83a8ab57854d1fc9c22f1b393 100644
--- a/components/html_viewer/html_frame_delegate.h
+++ b/components/html_viewer/html_frame_delegate.h
@@ -6,7 +6,7 @@
#define COMPONENTS_HTML_VIEWER_HTML_FRAME_DELEGATE_H_
namespace mojo {
-class ApplicationImpl;
+class Shell;
}
namespace html_viewer {
@@ -16,8 +16,8 @@ class HTMLFrame;
class HTMLFrameDelegate {
public:
- // Returns the ApplicationImpl for the frame.
- virtual mojo::ApplicationImpl* GetApp() = 0;
+ // Returns the Shell for the frame.
+ virtual mojo::Shell* GetShell() = 0;
// Returns the factory for creating various classes.
virtual HTMLFactory* GetHTMLFactory() = 0;
« no previous file with comments | « components/html_viewer/html_frame_apptest.cc ('k') | components/html_viewer/html_viewer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698