OLD | NEW |
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 "content/public/browser/web_contents.h" | 7 #include "content/public/browser/web_contents.h" |
8 #include "extensions/common/constants.h" | 8 #include "extensions/common/constants.h" |
9 #include "extensions/shell/browser/media_capture_util.h" | 9 #include "extensions/shell/browser/media_capture_util.h" |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... |
35 content::BrowserContext* context, | 35 content::BrowserContext* context, |
36 content::WebContents* source, | 36 content::WebContents* source, |
37 const content::OpenURLParams& params) { | 37 const content::OpenURLParams& params) { |
38 NOTIMPLEMENTED(); | 38 NOTIMPLEMENTED(); |
39 return NULL; | 39 return NULL; |
40 } | 40 } |
41 | 41 |
42 void ShellAppDelegate::AddNewContents(content::BrowserContext* context, | 42 void ShellAppDelegate::AddNewContents(content::BrowserContext* context, |
43 content::WebContents* new_contents, | 43 content::WebContents* new_contents, |
44 WindowOpenDisposition disposition, | 44 WindowOpenDisposition disposition, |
45 const gfx::Rect& initial_pos, | 45 const gfx::Rect& initial_rect, |
46 bool user_gesture, | 46 bool user_gesture, |
47 bool* was_blocked) { | 47 bool* was_blocked) { |
48 NOTIMPLEMENTED(); | 48 NOTIMPLEMENTED(); |
49 } | 49 } |
50 | 50 |
51 content::ColorChooser* ShellAppDelegate::ShowColorChooser( | 51 content::ColorChooser* ShellAppDelegate::ShowColorChooser( |
52 content::WebContents* web_contents, | 52 content::WebContents* web_contents, |
53 SkColor initial_color) { | 53 SkColor initial_color) { |
54 NOTIMPLEMENTED(); | 54 NOTIMPLEMENTED(); |
55 return NULL; | 55 return NULL; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 content::WebContents* web_contents) { | 93 content::WebContents* web_contents) { |
94 return true; | 94 return true; |
95 } | 95 } |
96 | 96 |
97 void ShellAppDelegate::SetTerminatingCallback(const base::Closure& callback) { | 97 void ShellAppDelegate::SetTerminatingCallback(const base::Closure& callback) { |
98 // TODO(jamescook): Should app_shell continue to close the app window | 98 // TODO(jamescook): Should app_shell continue to close the app window |
99 // manually or should it use a browser termination callback like Chrome? | 99 // manually or should it use a browser termination callback like Chrome? |
100 } | 100 } |
101 | 101 |
102 } // namespace extensions | 102 } // namespace extensions |
OLD | NEW |