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

Unified Diff: chrome/browser/shell_integration.h

Issue 2713993005: Clean up ImageView. (Closed)
Patch Set: one more include removed Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/shell_integration.h
diff --git a/chrome/browser/shell_integration.h b/chrome/browser/shell_integration.h
index 7730a029341a1784afa657930d611138218a5a36..89e2016ba6b7dbd6050c0638327f26c1e0e689ad 100644
--- a/chrome/browser/shell_integration.h
+++ b/chrome/browser/shell_integration.h
@@ -134,15 +134,16 @@ using DefaultWebClientWorkerCallback =
// (on Linux) are involved and this can be slow.
// By default, the worker will present the user with an interactive flow if
// required by the platform. This can be suppressed via
-// set_interactive_permitted(), in which case an attempt to set Chrome as
-// the default handler will silently fail on such platforms.
+// set_can_process_events_within_subtree_permitted(), in which case an attempt
sky 2017/02/24 21:32:33 optional: remove '_permitted'. It's unnecessary an
Evan Stade 2017/02/24 21:39:10 oops, this was an overzealous find/replace. I've j
+// to set Chrome as the default handler will silently fail on such platforms.
class DefaultWebClientWorker
: public base::RefCountedThreadSafe<DefaultWebClientWorker> {
public:
// Controls whether the worker can use user interaction to set the default
// web client. If false, the set-as-default operation will fail on OS where
// it is required.
- void set_interactive_permitted(bool interactive_permitted) {
+ void set_can_process_events_within_subtree_permitted(
+ bool interactive_permitted) {
interactive_permitted_ = interactive_permitted;
}
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/ui/views/desktop_capture/desktop_media_source_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698