| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "ash/shell/shell_delegate_impl.h" | 5 #include "ash/shell/shell_delegate_impl.h" |
| 6 | 6 |
| 7 #include "ash/accessibility_delegate.h" | 7 #include "ash/accessibility_delegate.h" |
| 8 #include "ash/default_accessibility_delegate.h" | 8 #include "ash/default_accessibility_delegate.h" |
| 9 #include "ash/default_user_wallpaper_delegate.h" | 9 #include "ash/default_user_wallpaper_delegate.h" |
| 10 #include "ash/gpu_support_stub.h" | 10 #include "ash/gpu_support_stub.h" |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 class MediaDelegateImpl : public MediaDelegate { | 54 class MediaDelegateImpl : public MediaDelegate { |
| 55 public: | 55 public: |
| 56 MediaDelegateImpl() {} | 56 MediaDelegateImpl() {} |
| 57 virtual ~MediaDelegateImpl() {} | 57 virtual ~MediaDelegateImpl() {} |
| 58 | 58 |
| 59 virtual void HandleMediaNextTrack() OVERRIDE {} | 59 virtual void HandleMediaNextTrack() OVERRIDE {} |
| 60 virtual void HandleMediaPlayPause() OVERRIDE {} | 60 virtual void HandleMediaPlayPause() OVERRIDE {} |
| 61 virtual void HandleMediaPrevTrack() OVERRIDE {} | 61 virtual void HandleMediaPrevTrack() OVERRIDE {} |
| 62 virtual MediaCaptureState GetBackgroundMediaCaptureState( |
| 63 content::BrowserContext* context) OVERRIDE { |
| 64 return MEDIA_CAPTURE_VIDEO; |
| 65 } |
| 62 | 66 |
| 63 private: | 67 private: |
| 64 DISALLOW_COPY_AND_ASSIGN(MediaDelegateImpl); | 68 DISALLOW_COPY_AND_ASSIGN(MediaDelegateImpl); |
| 65 }; | 69 }; |
| 66 | 70 |
| 67 } // namespace | 71 } // namespace |
| 68 | 72 |
| 69 ShellDelegateImpl::ShellDelegateImpl() | 73 ShellDelegateImpl::ShellDelegateImpl() |
| 70 : watcher_(NULL), | 74 : watcher_(NULL), |
| 71 shelf_delegate_(NULL), | 75 shelf_delegate_(NULL), |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 // Real GPU support depends on src/content, so just use a stub. | 179 // Real GPU support depends on src/content, so just use a stub. |
| 176 return new GPUSupportStub; | 180 return new GPUSupportStub; |
| 177 } | 181 } |
| 178 | 182 |
| 179 base::string16 ShellDelegateImpl::GetProductName() const { | 183 base::string16 ShellDelegateImpl::GetProductName() const { |
| 180 return base::string16(); | 184 return base::string16(); |
| 181 } | 185 } |
| 182 | 186 |
| 183 } // namespace shell | 187 } // namespace shell |
| 184 } // namespace ash | 188 } // namespace ash |
| OLD | NEW |