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

Side by Side Diff: content/public/browser/browser_plugin_guest_delegate.h

Issue 288113005: <webview>: Cleanup Pointer Lock & Simplify HandleKeyboardEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unnecessary braces Created 6 years, 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_DELEGATE_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/process/kill.h" 9 #include "base/process/kill.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 virtual void EmbedderDestroyed() {} 60 virtual void EmbedderDestroyed() {}
61 61
62 // Informs the delegate of a reply to the find request specified by 62 // Informs the delegate of a reply to the find request specified by
63 // |request_id|. 63 // |request_id|.
64 virtual void FindReply(int request_id, 64 virtual void FindReply(int request_id,
65 int number_of_matches, 65 int number_of_matches,
66 const gfx::Rect& selection_rect, 66 const gfx::Rect& selection_rect,
67 int active_match_ordinal, 67 int active_match_ordinal,
68 bool final_update) {} 68 bool final_update) {}
69 69
70 virtual bool HandleKeyboardEvent(const NativeWebKeyboardEvent& event); 70 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {}
71 71
72 // Requests setting the zoom level to the provided |zoom_level|. 72 // Requests setting the zoom level to the provided |zoom_level|.
73 virtual void SetZoom(double zoom_factor) {} 73 virtual void SetZoom(double zoom_factor) {}
74 74
75 virtual bool IsDragAndDropEnabled(); 75 virtual bool IsDragAndDropEnabled();
76 76
77 // Returns whether the user agent for the guest is being overridden. 77 // Returns whether the user agent for the guest is being overridden.
78 virtual bool IsOverridingUserAgent() const; 78 virtual bool IsOverridingUserAgent() const;
79 79
80 // Notification that a load in the guest resulted in abort. Note that |url| 80 // Notification that a load in the guest resulted in abort. Note that |url|
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 virtual void RunFileChooser(WebContents* web_contents, 158 virtual void RunFileChooser(WebContents* web_contents,
159 const FileChooserParams& params) {} 159 const FileChooserParams& params) {}
160 160
161 // Returns true if the context menu operation was handled by the delegate. 161 // Returns true if the context menu operation was handled by the delegate.
162 virtual bool HandleContextMenu(const ContextMenuParams& params); 162 virtual bool HandleContextMenu(const ContextMenuParams& params);
163 }; 163 };
164 164
165 } // namespace content 165 } // namespace content
166 166
167 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_DELEGATE_H_ 167 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/browser_plugin_guest_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698