Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(845)

Side by Side Diff: chrome/browser/guest_view/mime_handler_view/mime_handler_view_guest.h

Issue 376033002: Adding MimeHandlerView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pending-zork-patch2
Patch Set: add (c) header Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 #ifndef CHROME_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUEST_H_
6 #define CHROME_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUEST_H_
7
8 #include "extensions/browser/guest_view/guest_view.h"
9
10 class MimeHandlerViewGuest :
11 public extensions::GuestView<MimeHandlerViewGuest> {
12 public:
13 static GuestViewBase* Create(content::BrowserContext* browser_context,
14 int guest_instance_id);
15
16 static const char Type[];
17
18 // GuestViewBase implementation.
19 virtual const char* GetAPINamespace() OVERRIDE;
Fady Samuel 2014/09/02 15:08:24 I'm surprised this compiles without a TaskPrefix?
lazyboy 2014/09/02 20:17:21 I stopped syncing cause refactoring to extensions/
20 virtual void CreateWebContents(
21 const std::string& embedder_extension_id,
22 int embedder_render_process_id,
23 const base::DictionaryValue& create_params,
24 const WebContentsCreatedCallback& callback) OVERRIDE;
25 virtual void DidAttachToEmbedder() OVERRIDE;
26 virtual void DidInitialize() OVERRIDE;
27
28 private:
29 MimeHandlerViewGuest(content::BrowserContext* browser_context,
30 int guest_instance_id);
31 virtual ~MimeHandlerViewGuest();
32
33 void AttachWebContentsHelpers(content::WebContents* contents);
34
35 DISALLOW_COPY_AND_ASSIGN(MimeHandlerViewGuest);
36 };
37
38 #endif // CHROME_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUEST_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698