| 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 "chrome/browser/extensions/api/guest_view/guest_view_internal_api.h" | 5 #include "chrome/browser/extensions/api/guest_view/guest_view_internal_api.h" |
| 6 | 6 |
| 7 #include "chrome/browser/guest_view/guest_view_base.h" | |
| 8 #include "chrome/browser/guest_view/guest_view_manager.h" | |
| 9 #include "chrome/browser/profiles/profile.h" | 7 #include "chrome/browser/profiles/profile.h" |
| 10 #include "chrome/common/extensions/api/guest_view_internal.h" | 8 #include "chrome/common/extensions/api/guest_view_internal.h" |
| 11 #include "content/public/browser/render_process_host.h" | 9 #include "content/public/browser/render_process_host.h" |
| 12 #include "content/public/browser/render_view_host.h" | 10 #include "content/public/browser/render_view_host.h" |
| 11 #include "extensions/browser/guest_view/guest_view_base.h" |
| 12 #include "extensions/browser/guest_view/guest_view_manager.h" |
| 13 #include "extensions/common/permissions/permissions_data.h" | 13 #include "extensions/common/permissions/permissions_data.h" |
| 14 | 14 |
| 15 namespace guest_view_internal = extensions::api::guest_view_internal; | 15 namespace guest_view_internal = extensions::api::guest_view_internal; |
| 16 | 16 |
| 17 namespace extensions { | 17 namespace extensions { |
| 18 | 18 |
| 19 GuestViewInternalCreateGuestFunction:: | 19 GuestViewInternalCreateGuestFunction:: |
| 20 GuestViewInternalCreateGuestFunction() { | 20 GuestViewInternalCreateGuestFunction() { |
| 21 } | 21 } |
| 22 | 22 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 guest->SetAutoSize(params->params.enable_auto_size, | 72 guest->SetAutoSize(params->params.enable_auto_size, |
| 73 gfx::Size(params->params.min.width, | 73 gfx::Size(params->params.min.width, |
| 74 params->params.min.height), | 74 params->params.min.height), |
| 75 gfx::Size(params->params.max.width, | 75 gfx::Size(params->params.max.width, |
| 76 params->params.max.height)); | 76 params->params.max.height)); |
| 77 SendResponse(true); | 77 SendResponse(true); |
| 78 return true; | 78 return true; |
| 79 } | 79 } |
| 80 | 80 |
| 81 } // namespace extensions | 81 } // namespace extensions |
| OLD | NEW |