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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 749213003: Include whether Notification permission was requested with a user gesture. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « no previous file | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 void OnRunJavaScriptMessage(const base::string16& message, 431 void OnRunJavaScriptMessage(const base::string16& message,
432 const base::string16& default_prompt, 432 const base::string16& default_prompt,
433 const GURL& frame_url, 433 const GURL& frame_url,
434 JavaScriptMessageType type, 434 JavaScriptMessageType type,
435 IPC::Message* reply_msg); 435 IPC::Message* reply_msg);
436 void OnRunBeforeUnloadConfirm(const GURL& frame_url, 436 void OnRunBeforeUnloadConfirm(const GURL& frame_url,
437 const base::string16& message, 437 const base::string16& message,
438 bool is_reload, 438 bool is_reload,
439 IPC::Message* reply_msg); 439 IPC::Message* reply_msg);
440 void OnRequestPlatformNotificationPermission(const GURL& origin, 440 void OnRequestPlatformNotificationPermission(const GURL& origin,
441 int request_id); 441 int request_id,
442 bool user_gesture);
442 void OnShowDesktopNotification( 443 void OnShowDesktopNotification(
443 int notification_id, 444 int notification_id,
444 const ShowDesktopNotificationHostMsgParams& params); 445 const ShowDesktopNotificationHostMsgParams& params);
445 void OnCancelDesktopNotification(int notification_id); 446 void OnCancelDesktopNotification(int notification_id);
446 void OnTextSurroundingSelectionResponse(const base::string16& content, 447 void OnTextSurroundingSelectionResponse(const base::string16& content,
447 size_t start_offset, 448 size_t start_offset,
448 size_t end_offset); 449 size_t end_offset);
449 void OnDidAccessInitialDocument(); 450 void OnDidAccessInitialDocument();
450 void OnDidDisownOpener(); 451 void OnDidDisownOpener();
451 void OnDidAssignPageId(int32 page_id); 452 void OnDidAssignPageId(int32 page_id);
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
617 618
618 // NOTE: This must be the last member. 619 // NOTE: This must be the last member.
619 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 620 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
620 621
621 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 622 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
622 }; 623 };
623 624
624 } // namespace content 625 } // namespace content
625 626
626 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 627 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698