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

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

Issue 586853004: Remove AppDelegate::GetAppDefaultIcon (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@not-impl
Patch Set: (app-icon) rebase 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 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 #include "extensions/shell/browser/shell_app_delegate.h" 5 #include "extensions/shell/browser/shell_app_delegate.h"
6 6
7 #include "extensions/common/constants.h" 7 #include "extensions/common/constants.h"
8 #include "extensions/shell/browser/media_capture_util.h" 8 #include "extensions/shell/browser/media_capture_util.h"
9 9
10 namespace extensions { 10 namespace extensions {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 content::MediaStreamType type, 68 content::MediaStreamType type,
69 const Extension* extension) { 69 const Extension* extension) {
70 media_capture_util::VerifyMediaAccessPermission(type, extension); 70 media_capture_util::VerifyMediaAccessPermission(type, extension);
71 return true; 71 return true;
72 } 72 }
73 73
74 int ShellAppDelegate::PreferredIconSize() { 74 int ShellAppDelegate::PreferredIconSize() {
75 return extension_misc::EXTENSION_ICON_SMALL; 75 return extension_misc::EXTENSION_ICON_SMALL;
76 } 76 }
77 77
78 gfx::ImageSkia ShellAppDelegate::GetAppDefaultIcon() {
79 NOTIMPLEMENTED();
80 return gfx::ImageSkia();
81 }
82
83 void ShellAppDelegate::SetWebContentsBlocked( 78 void ShellAppDelegate::SetWebContentsBlocked(
84 content::WebContents* web_contents, 79 content::WebContents* web_contents,
85 bool blocked) { 80 bool blocked) {
86 NOTIMPLEMENTED(); 81 NOTIMPLEMENTED();
87 } 82 }
88 83
89 bool ShellAppDelegate::IsWebContentsVisible( 84 bool ShellAppDelegate::IsWebContentsVisible(
90 content::WebContents* web_contents) { 85 content::WebContents* web_contents) {
91 return true; 86 return true;
92 } 87 }
93 88
94 void ShellAppDelegate::SetTerminatingCallback(const base::Closure& callback) { 89 void ShellAppDelegate::SetTerminatingCallback(const base::Closure& callback) {
95 // TODO(jamescook): Should app_shell continue to close the app window 90 // TODO(jamescook): Should app_shell continue to close the app window
96 // manually or should it use a browser termination callback like Chrome? 91 // manually or should it use a browser termination callback like Chrome?
97 NOTIMPLEMENTED(); 92 NOTIMPLEMENTED();
98 } 93 }
99 94
100 } // namespace extensions 95 } // namespace extensions
OLDNEW
« extensions/extensions.gyp ('K') | « extensions/shell/browser/shell_app_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698