OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "extensions/browser/guest_view/web_view/web_view_guest_delegate.h" |
| 6 |
| 7 namespace extensions { |
| 8 |
| 9 WebViewGuestDelegate::WebViewGuestDelegate() { |
| 10 } |
| 11 |
| 12 WebViewGuestDelegate::~WebViewGuestDelegate() { |
| 13 } |
| 14 |
| 15 double WebViewGuestDelegate::GetZoom() { |
| 16 return 1.0; |
| 17 } |
| 18 |
| 19 GuestViewBase::Event* WebViewGuestDelegate::OnHandleContextMenu( |
| 20 const content::ContextMenuParams& params) { |
| 21 return NULL; |
| 22 } |
| 23 |
| 24 GuestViewBase::Event* WebViewGuestDelegate::OnSetZoom( |
| 25 double zoom_factor, |
| 26 const std::string& old_zoom_factor, |
| 27 const std::string& new_zoom_factor, |
| 28 const std::string& event_zoom_change) { |
| 29 return NULL; |
| 30 } |
| 31 |
| 32 } // namespace extensions |
OLD | NEW |