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

Unified Diff: athena/extensions/chrome/athena_app_delegate.h

Issue 563083003: V2 app support step3: Athena's NativeAppWindow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « athena/extensions/chrome/DEPS ('k') | athena/extensions/chrome/athena_app_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/extensions/chrome/athena_app_delegate.h
diff --git a/athena/extensions/chrome/athena_app_delegate.h b/athena/extensions/chrome/athena_app_delegate.h
deleted file mode 100644
index 90d04966e95dad7b7f3deae21e27b0c8cbebf833..0000000000000000000000000000000000000000
--- a/athena/extensions/chrome/athena_app_delegate.h
+++ /dev/null
@@ -1,69 +0,0 @@
-// Copyright 2014 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 ATHENA_EXTENSIONS_CHROME_ATHENA_APP_DELEGATE_H_
-#define ATHENA_EXTENSIONS_CHROME_ATHENA_APP_DELEGATE_H_
-
-#include "base/callback.h"
-#include "base/memory/scoped_ptr.h"
-#include "extensions/browser/app_window/app_delegate.h"
-#include "ui/base/window_open_disposition.h"
-
-namespace athena {
-
-class AthenaAppDelegate : public extensions::AppDelegate {
- public:
- AthenaAppDelegate();
- virtual ~AthenaAppDelegate();
-
- private:
- class NewWindowContentsDelegate;
-
- // extensions::AppDelegate:
- virtual void InitWebContents(content::WebContents* web_contents) OVERRIDE;
- virtual void ResizeWebContents(content::WebContents* web_contents,
- const gfx::Size& size) OVERRIDE;
- virtual content::WebContents* OpenURLFromTab(
- content::BrowserContext* context,
- content::WebContents* source,
- const content::OpenURLParams& params) OVERRIDE;
- virtual void AddNewContents(content::BrowserContext* context,
- content::WebContents* new_contents,
- WindowOpenDisposition disposition,
- const gfx::Rect& initial_pos,
- bool user_gesture,
- bool* was_blocked) OVERRIDE;
- virtual content::ColorChooser* ShowColorChooser(
- content::WebContents* web_contents,
- SkColor initial_color) OVERRIDE;
- virtual void RunFileChooser(
- content::WebContents* tab,
- const content::FileChooserParams& params) OVERRIDE;
- virtual void RequestMediaAccessPermission(
- content::WebContents* web_contents,
- const content::MediaStreamRequest& request,
- const content::MediaResponseCallback& callback,
- const extensions::Extension* extension) OVERRIDE;
- virtual bool CheckMediaAccessPermission(
- content::WebContents* web_contents,
- const GURL& security_origin,
- content::MediaStreamType type,
- const extensions::Extension* extension) OVERRIDE;
- virtual int PreferredIconSize() OVERRIDE;
- virtual gfx::ImageSkia GetAppDefaultIcon() OVERRIDE;
- virtual void SetWebContentsBlocked(content::WebContents* web_contents,
- bool blocked) OVERRIDE;
- virtual bool IsWebContentsVisible(
- content::WebContents* web_contents) OVERRIDE;
- virtual void SetTerminatingCallback(const base::Closure& callback) OVERRIDE;
-
- scoped_ptr<NewWindowContentsDelegate> new_window_contents_delegate_;
- base::Closure terminating_callback_;
-
- DISALLOW_COPY_AND_ASSIGN(AthenaAppDelegate);
-};
-
-} // namespace athena
-
-#endif // ATHENA_EXTENSIONS_CHROME_ATHENA_APP_DELEGATE_H_
« no previous file with comments | « athena/extensions/chrome/DEPS ('k') | athena/extensions/chrome/athena_app_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698