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

Side by Side Diff: extensions/shell/browser/shell_app_delegate.h

Issue 875273003: Hidden windows should not keep Chrome alive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_ 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_
7 7
8 #include "extensions/browser/app_window/app_delegate.h" 8 #include "extensions/browser/app_window/app_delegate.h"
9 #include "content/public/browser/web_contents_observer.h" 9 #include "content/public/browser/web_contents_observer.h"
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 const Extension* extension) override; 43 const Extension* extension) override;
44 bool CheckMediaAccessPermission(content::WebContents* web_contents, 44 bool CheckMediaAccessPermission(content::WebContents* web_contents,
45 const GURL& security_origin, 45 const GURL& security_origin,
46 content::MediaStreamType type, 46 content::MediaStreamType type,
47 const Extension* extension) override; 47 const Extension* extension) override;
48 int PreferredIconSize() override; 48 int PreferredIconSize() override;
49 void SetWebContentsBlocked(content::WebContents* web_contents, 49 void SetWebContentsBlocked(content::WebContents* web_contents,
50 bool blocked) override; 50 bool blocked) override;
51 bool IsWebContentsVisible(content::WebContents* web_contents) override; 51 bool IsWebContentsVisible(content::WebContents* web_contents) override;
52 void SetTerminatingCallback(const base::Closure& callback) override; 52 void SetTerminatingCallback(const base::Closure& callback) override;
53 void OnHide() override {}
54 void OnShow() override {}
53 55
54 private: 56 private:
55 DISALLOW_COPY_AND_ASSIGN(ShellAppDelegate); 57 DISALLOW_COPY_AND_ASSIGN(ShellAppDelegate);
56 }; 58 };
57 59
58 } // namespace extensions 60 } // namespace extensions
59 61
60 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_ 62 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_
OLDNEW
« chrome/browser/ui/apps/chrome_app_delegate.cc ('K') | « extensions/browser/app_window/app_window.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698