Home | History | Annotate | Download | only in browser
      1 // Copyright 2013 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 "content/public/browser/browser_plugin_guest_delegate.h"
      6 
      7 namespace content {
      8 
      9 bool BrowserPluginGuestDelegate::HandleKeyboardEvent(
     10     const NativeWebKeyboardEvent& event) {
     11   return false;
     12 }
     13 
     14 bool BrowserPluginGuestDelegate::IsDragAndDropEnabled() {
     15   return false;
     16 }
     17 
     18 bool BrowserPluginGuestDelegate::IsOverridingUserAgent() const {
     19   return false;
     20 }
     21 
     22 bool BrowserPluginGuestDelegate::RequestPermission(
     23     BrowserPluginPermissionType permission_type,
     24     const base::DictionaryValue& request_info,
     25     const PermissionResponseCallback& callback,
     26     bool allowed_by_default) {
     27   return false;
     28 }
     29 
     30 GURL BrowserPluginGuestDelegate::ResolveURL(const std::string& src) {
     31   return GURL(src);
     32 }
     33 
     34 }  // namespace content
     35