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

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

Issue 1173523006: Re-enable WebView ChromeVox manual script injection when accessibility status changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « extensions/browser/guest_view/web_view/web_view_guest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_DELEGATE_H_ 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_DELEGATE_H_
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_DELEGATE_H_ 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_DELEGATE_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "components/guest_view/browser/guest_view_base.h" 9 #include "components/guest_view/browser/guest_view_base.h"
10 10
(...skipping 20 matching lines...) Expand all
31 31
32 typedef std::vector<linked_ptr<api::web_view_internal::ContextMenuItem> > 32 typedef std::vector<linked_ptr<api::web_view_internal::ContextMenuItem> >
33 MenuItemVector; 33 MenuItemVector;
34 34
35 // Called when context menu operation was handled. 35 // Called when context menu operation was handled.
36 virtual bool HandleContextMenu(const content::ContextMenuParams& params) = 0; 36 virtual bool HandleContextMenu(const content::ContextMenuParams& params) = 0;
37 37
38 // Called to attach helpers just after additional initialization is performed. 38 // Called to attach helpers just after additional initialization is performed.
39 virtual void OnAttachWebViewHelpers(content::WebContents* contents) = 0; 39 virtual void OnAttachWebViewHelpers(content::WebContents* contents) = 0;
40 40
41 // Called just after additional initialization is performed.
42 virtual void OnDidInitialize() = 0;
43
41 // Called immediately after the guest WebContents has been destroyed. 44 // Called immediately after the guest WebContents has been destroyed.
42 virtual void OnGuestDestroyed() = 0; 45 virtual void OnGuestDestroyed() = 0;
43 46
44 // Shows the context menu for the guest. 47 // Shows the context menu for the guest.
45 // |items| acts as a filter. This restricts the current context's default 48 // |items| acts as a filter. This restricts the current context's default
46 // menu items to contain only the items from |items|. 49 // menu items to contain only the items from |items|.
47 // |items| == NULL means no filtering will be applied. 50 // |items| == NULL means no filtering will be applied.
48 virtual void OnShowContextMenu( 51 virtual void OnShowContextMenu(
49 int request_id, 52 int request_id,
50 const MenuItemVector* items) = 0; 53 const MenuItemVector* items) = 0;
51 }; 54 };
52 55
53 } // namespace extensions 56 } // namespace extensions
54 57
55 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_DELEGATE_H_ 58 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_DELEGATE_H_
OLDNEW
« no previous file with comments | « extensions/browser/guest_view/web_view/web_view_guest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698