OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "webkit/plugins/ppapi/mock_plugin_delegate.h" | 5 #include "webkit/plugins/ppapi/mock_plugin_delegate.h" |
6 | 6 |
| 7 #include "base/logging.h" |
7 #include "base/message_loop_proxy.h" | 8 #include "base/message_loop_proxy.h" |
8 #include "ppapi/c/pp_errors.h" | 9 #include "ppapi/c/pp_errors.h" |
9 #include "ppapi/shared_impl/ppapi_preferences.h" | 10 #include "ppapi/shared_impl/ppapi_preferences.h" |
10 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" | 11 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" |
11 | 12 |
12 namespace webkit { | 13 namespace webkit { |
13 namespace ppapi { | 14 namespace ppapi { |
14 | 15 |
15 MockPluginDelegate::MockPluginDelegate() { | 16 MockPluginDelegate::MockPluginDelegate() { |
16 } | 17 } |
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 bool MockPluginDelegate::IsInFullscreenMode() { | 364 bool MockPluginDelegate::IsInFullscreenMode() { |
364 return false; | 365 return false; |
365 } | 366 } |
366 | 367 |
367 bool MockPluginDelegate::IsPageVisible() const { | 368 bool MockPluginDelegate::IsPageVisible() const { |
368 return true; | 369 return true; |
369 } | 370 } |
370 | 371 |
371 } // namespace ppapi | 372 } // namespace ppapi |
372 } // namespace webkit | 373 } // namespace webkit |
OLD | NEW |