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.
5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUEST_DELEGATE_H_
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUEST_DELEGATE_H_
8 #include "base/macros.h"
12 } // namespace content
14 namespace extensions {
16 class MimeHandlerViewGuest;
18 // A delegate class of MimeHandlerViewGuest that are not a part of chrome.
19 class MimeHandlerViewGuestDelegate {
21 explicit MimeHandlerViewGuestDelegate(MimeHandlerViewGuest* guest) {}
22 virtual ~MimeHandlerViewGuestDelegate() {}
24 // Attaches helpers upon initializing the WebContents.
25 virtual void AttachHelpers() {}
27 // Request to change the zoom level of the top level page containing
29 virtual void ChangeZoom(bool zoom_in) {}
32 DISALLOW_COPY_AND_ASSIGN(MimeHandlerViewGuestDelegate);
35 } // namespace extensions
37 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUEST_DELEGATE_H_