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

Side by Side Diff: extensions/browser/guest_view/web_view/web_view_guest.h

Issue 2089933002: Context Menu Refactor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixing nits Created 4 years, 6 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_WEB_VIEW_WEB_VIEW_GUEST_H_ 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 const content::NotificationSource& source, 201 const content::NotificationSource& source,
202 const content::NotificationDetails& details) final; 202 const content::NotificationDetails& details) final;
203 203
204 // WebContentsDelegate implementation. 204 // WebContentsDelegate implementation.
205 bool AddMessageToConsole(content::WebContents* source, 205 bool AddMessageToConsole(content::WebContents* source,
206 int32_t level, 206 int32_t level,
207 const base::string16& message, 207 const base::string16& message,
208 int32_t line_no, 208 int32_t line_no,
209 const base::string16& source_id) final; 209 const base::string16& source_id) final;
210 void CloseContents(content::WebContents* source) final; 210 void CloseContents(content::WebContents* source) final;
211 bool HandleContextMenu(const content::ContextMenuParams& params) final; 211 bool HandleContextMenu(RenderFrameHost* render_frame_host,
212 const content::ContextMenuParams& params) final;
212 void HandleKeyboardEvent(content::WebContents* source, 213 void HandleKeyboardEvent(content::WebContents* source,
213 const content::NativeWebKeyboardEvent& event) final; 214 const content::NativeWebKeyboardEvent& event) final;
214 void LoadProgressChanged(content::WebContents* source, double progress) final; 215 void LoadProgressChanged(content::WebContents* source, double progress) final;
215 bool PreHandleGestureEvent(content::WebContents* source, 216 bool PreHandleGestureEvent(content::WebContents* source,
216 const blink::WebGestureEvent& event) final; 217 const blink::WebGestureEvent& event) final;
217 void RendererResponsive(content::WebContents* source) final; 218 void RendererResponsive(content::WebContents* source) final;
218 void RendererUnresponsive(content::WebContents* source) final; 219 void RendererUnresponsive(content::WebContents* source) final;
219 void RequestMediaAccessPermission( 220 void RequestMediaAccessPermission(
220 content::WebContents* source, 221 content::WebContents* source,
221 const content::MediaStreamRequest& request, 222 const content::MediaStreamRequest& request,
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 // This is used to ensure pending tasks will not fire after this object is 381 // This is used to ensure pending tasks will not fire after this object is
381 // destroyed. 382 // destroyed.
382 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_; 383 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_;
383 384
384 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); 385 DISALLOW_COPY_AND_ASSIGN(WebViewGuest);
385 }; 386 };
386 387
387 } // namespace extensions 388 } // namespace extensions
388 389
389 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ 390 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698