OLD | NEW |
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 "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "components/guest_view/browser/guest_view.h" | 10 #include "components/guest_view/browser/guest_view.h" |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 private: | 73 private: |
74 friend class TestMimeHandlerViewGuest; | 74 friend class TestMimeHandlerViewGuest; |
75 | 75 |
76 // GuestViewBase implementation. | 76 // GuestViewBase implementation. |
77 const char* GetAPINamespace() const final; | 77 const char* GetAPINamespace() const final; |
78 int GetTaskPrefix() const final; | 78 int GetTaskPrefix() const final; |
79 void CreateWebContents(const base::DictionaryValue& create_params, | 79 void CreateWebContents(const base::DictionaryValue& create_params, |
80 const WebContentsCreatedCallback& callback) override; | 80 const WebContentsCreatedCallback& callback) override; |
81 void DidAttachToEmbedder() override; | 81 void DidAttachToEmbedder() override; |
82 void DidInitialize(const base::DictionaryValue& create_params) final; | 82 void DidInitialize(const base::DictionaryValue& create_params) final; |
83 bool ShouldHandleFindRequestsForEmbedder() const final; | |
84 bool ZoomPropagatesFromEmbedderToGuest() const final; | 83 bool ZoomPropagatesFromEmbedderToGuest() const final; |
85 | 84 |
86 // WebContentsDelegate implementation. | 85 // WebContentsDelegate implementation. |
87 content::WebContents* OpenURLFromTab( | 86 content::WebContents* OpenURLFromTab( |
88 content::WebContents* source, | 87 content::WebContents* source, |
89 const content::OpenURLParams& params) final; | 88 const content::OpenURLParams& params) final; |
90 void NavigationStateChanged(content::WebContents* source, | 89 void NavigationStateChanged(content::WebContents* source, |
91 content::InvalidateTypes changed_flags) final; | 90 content::InvalidateTypes changed_flags) final; |
92 bool HandleContextMenu(const content::ContextMenuParams& params) final; | 91 bool HandleContextMenu(const content::ContextMenuParams& params) final; |
93 bool PreHandleGestureEvent(content::WebContents* source, | 92 bool PreHandleGestureEvent(content::WebContents* source, |
(...skipping 16 matching lines...) Expand all Loading... |
110 int embedder_frame_process_id_; | 109 int embedder_frame_process_id_; |
111 int embedder_frame_routing_id_; | 110 int embedder_frame_routing_id_; |
112 int embedder_widget_routing_id_; | 111 int embedder_widget_routing_id_; |
113 | 112 |
114 DISALLOW_COPY_AND_ASSIGN(MimeHandlerViewGuest); | 113 DISALLOW_COPY_AND_ASSIGN(MimeHandlerViewGuest); |
115 }; | 114 }; |
116 | 115 |
117 } // namespace extensions | 116 } // namespace extensions |
118 | 117 |
119 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUE
ST_H_ | 118 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUE
ST_H_ |
OLD | NEW |