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

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

Issue 591243003: Add ctrl+mousewheel plumbing to MimeHandlerView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@work-pdf-zoom1
Patch Set: Created 6 years, 2 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
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 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUEST_ H_ 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUEST_ H_
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUEST_ H_ 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUEST_ H_
7 7
8 #include "extensions/browser/guest_view/guest_view.h" 8 #include "extensions/browser/guest_view/guest_view.h"
9 9
10 namespace extensions { 10 namespace extensions {
(...skipping 12 matching lines...) Expand all
23 virtual int GetTaskPrefix() const OVERRIDE; 23 virtual int GetTaskPrefix() const OVERRIDE;
24 virtual void CreateWebContents( 24 virtual void CreateWebContents(
25 const std::string& embedder_extension_id, 25 const std::string& embedder_extension_id,
26 int embedder_render_process_id, 26 int embedder_render_process_id,
27 const base::DictionaryValue& create_params, 27 const base::DictionaryValue& create_params,
28 const WebContentsCreatedCallback& callback) OVERRIDE; 28 const WebContentsCreatedCallback& callback) OVERRIDE;
29 virtual void DidAttachToEmbedder() OVERRIDE; 29 virtual void DidAttachToEmbedder() OVERRIDE;
30 virtual void DidInitialize() OVERRIDE; 30 virtual void DidInitialize() OVERRIDE;
31 31
32 // WebContentsDelegate implementation. 32 // WebContentsDelegate implementation.
33 virtual void ContentsZoomChange(bool zoom_in) OVERRIDE;
33 virtual void HandleKeyboardEvent( 34 virtual void HandleKeyboardEvent(
34 content::WebContents* source, 35 content::WebContents* source,
35 const content::NativeWebKeyboardEvent& event) OVERRIDE; 36 const content::NativeWebKeyboardEvent& event) OVERRIDE;
36 37
37 private: 38 private:
38 MimeHandlerViewGuest(content::BrowserContext* browser_context, 39 MimeHandlerViewGuest(content::BrowserContext* browser_context,
39 int guest_instance_id); 40 int guest_instance_id);
40 virtual ~MimeHandlerViewGuest(); 41 virtual ~MimeHandlerViewGuest();
41 42
42 scoped_ptr<MimeHandlerViewGuestDelegate> delegate_; 43 scoped_ptr<MimeHandlerViewGuestDelegate> delegate_;
43 44
44 DISALLOW_COPY_AND_ASSIGN(MimeHandlerViewGuest); 45 DISALLOW_COPY_AND_ASSIGN(MimeHandlerViewGuest);
45 }; 46 };
46 47
47 } // namespace extensions 48 } // namespace extensions
48 49
49 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUE ST_H_ 50 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUE ST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698