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

Side by Side Diff: athena/extensions/athena_app_delegate_base.h

Issue 863033002: Delete athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « athena/extensions/DEPS ('k') | athena/extensions/athena_app_delegate_base.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ATHENA_EXTENSIONS_ATHENA_APP_DELEGATE_BASE_H_
6 #define ATHENA_EXTENSIONS_ATHENA_APP_DELEGATE_BASE_H_
7
8 #include "base/callback.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "extensions/browser/app_window/app_delegate.h"
11
12 namespace athena {
13
14 class AthenaAppDelegateBase : public extensions::AppDelegate {
15 public:
16 AthenaAppDelegateBase();
17 ~AthenaAppDelegateBase() override;
18
19 private:
20 class NewActivityContentsDelegate;
21
22 // extensions::AppDelegate:
23 void RenderViewCreated(content::RenderViewHost* render_view_host) override;
24 void ResizeWebContents(content::WebContents* web_contents,
25 const gfx::Size& size) override;
26 content::WebContents* OpenURLFromTab(
27 content::BrowserContext* context,
28 content::WebContents* source,
29 const content::OpenURLParams& params) override;
30 void AddNewContents(content::BrowserContext* context,
31 content::WebContents* new_contents,
32 WindowOpenDisposition disposition,
33 const gfx::Rect& initial_pos,
34 bool user_gesture,
35 bool* was_blocked) override;
36 int PreferredIconSize() override;
37 bool IsWebContentsVisible(content::WebContents* web_contents) override;
38 void SetTerminatingCallback(const base::Closure& callback) override;
39
40 scoped_ptr<NewActivityContentsDelegate> new_window_contents_delegate_;
41 base::Closure terminating_callback_;
42
43 DISALLOW_COPY_AND_ASSIGN(AthenaAppDelegateBase);
44 };
45
46 } // namespace athena
47
48 #endif // ATHENA_EXTENSIONS_ATHENA_APP_DELEGATE_BASE_H_
OLDNEW
« no previous file with comments | « athena/extensions/DEPS ('k') | athena/extensions/athena_app_delegate_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698