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

Unified Diff: components/html_viewer/html_frame_delegate.h

Issue 1677293002: Bye bye Mandoline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar 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_frame_properties.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
deleted file mode 100644
index f7daddeaf70ccee83a8ab57854d1fc9c22f1b393..0000000000000000000000000000000000000000
--- a/components/html_viewer/html_frame_delegate.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_HTML_VIEWER_HTML_FRAME_DELEGATE_H_
-#define COMPONENTS_HTML_VIEWER_HTML_FRAME_DELEGATE_H_
-
-namespace mojo {
-class Shell;
-}
-
-namespace html_viewer {
-
-class HTMLFactory;
-class HTMLFrame;
-
-class HTMLFrameDelegate {
- public:
- // Returns the Shell for the frame.
- virtual mojo::Shell* GetShell() = 0;
-
- // Returns the factory for creating various classes.
- virtual HTMLFactory* GetHTMLFactory() = 0;
-
- // Invoked when the Frame the delegate is attached to finishes loading. This
- // is not invoked for any child frames, only the frame returned from
- // HTMLFrameTreeManager::CreateFrameAndAttachToTree().
- virtual void OnFrameDidFinishLoad() = 0;
-
- // Invoked when the HTMLFrame the delegate is associated with is swapped
- // to a remote frame.
- virtual void OnFrameSwappedToRemote() = 0;
-
- // Invoked when this delegate is to take over from |old_delegate| (which may
- // be null). This is invoked when a new connection is established and we
- // are already rendering to the supplied frame.
- virtual void OnSwap(HTMLFrame* frame, HTMLFrameDelegate* old_delegate) = 0;
-
- // Invoked when the HTMLFrame is destroyed.
- virtual void OnFrameDestroyed() = 0;
-
- protected:
- virtual ~HTMLFrameDelegate() {}
-};
-
-} // namespace html_viewer
-
-#endif // COMPONENTS_HTML_VIEWER_HTML_FRAME_DELEGATE_H_
« no previous file with comments | « components/html_viewer/html_frame_apptest.cc ('k') | components/html_viewer/html_frame_properties.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698