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

Unified Diff: blimp/client/public/contents/blimp_contents_observer.h

Issue 2624903006: Remove all blimp client code. (Closed)
Patch Set: Update buildbot configuration Created 3 years, 11 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
Index: blimp/client/public/contents/blimp_contents_observer.h
diff --git a/blimp/client/public/contents/blimp_contents_observer.h b/blimp/client/public/contents/blimp_contents_observer.h
deleted file mode 100644
index f38307ac9f47d73d8c523ffa6b7473272baa3a94..0000000000000000000000000000000000000000
--- a/blimp/client/public/contents/blimp_contents_observer.h
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright 2016 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 BLIMP_CLIENT_PUBLIC_CONTENTS_BLIMP_CONTENTS_OBSERVER_H_
-#define BLIMP_CLIENT_PUBLIC_CONTENTS_BLIMP_CONTENTS_OBSERVER_H_
-
-#include "base/macros.h"
-#include "url/gurl.h"
-
-namespace blimp {
-namespace client {
-
-class BlimpContents;
-
-// An observer API implemented by classes which are interested in various events
-// related to BlimpContents.
-class BlimpContentsObserver {
- public:
- virtual ~BlimpContentsObserver();
-
- // Invoked when the navigation state of the BlimpContents has changed.
- virtual void OnNavigationStateChanged() {}
-
- // Invoked when the BlimpContents starts or stops loading resources.
- virtual void OnLoadingStateChanged(bool loading) {}
-
- // Invoked when the BlimpContents starts or stops loading a page.
- virtual void OnPageLoadingStateChanged(bool loading) {}
-
- // Called by BlimpContentsDying().
- virtual void OnContentsDestroyed() {}
-
- // Invoke when the destructor of blimp contents is called. This will clear
- // the contents_ to nullptr.
- void BlimpContentsDying();
-
- BlimpContents* blimp_contents() { return contents_; }
-
- protected:
- explicit BlimpContentsObserver(BlimpContents* blimp_contents);
-
- private:
- // The BlimpContents being tracked by this BlimpContentsObserver.
- BlimpContents* contents_;
-
- DISALLOW_COPY_AND_ASSIGN(BlimpContentsObserver);
-};
-
-} // namespace client
-} // namespace blimp
-
-#endif // BLIMP_CLIENT_PUBLIC_CONTENTS_BLIMP_CONTENTS_OBSERVER_H_
« no previous file with comments | « blimp/client/public/contents/blimp_contents.h ('k') | blimp/client/public/contents/blimp_contents_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698