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

Side by Side Diff: chrome/browser/renderer_host/render_view_host.h

Issue 271052: Browser side support (sans UI) for desktop notifications.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/profile.cc ('k') | chrome/browser/renderer_host/render_view_host.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 (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 void OnDidGetApplicationInfo(int32 page_id, 570 void OnDidGetApplicationInfo(int32 page_id,
571 const webkit_glue::WebApplicationInfo& info); 571 const webkit_glue::WebApplicationInfo& info);
572 void OnMsgShouldCloseACK(bool proceed); 572 void OnMsgShouldCloseACK(bool proceed);
573 void OnQueryFormFieldAutofill(const std::wstring& field_name, 573 void OnQueryFormFieldAutofill(const std::wstring& field_name,
574 const std::wstring& user_text, 574 const std::wstring& user_text,
575 int64 node_id, 575 int64 node_id,
576 int request_id); 576 int request_id);
577 void OnRemoveAutofillEntry(const std::wstring& field_name, 577 void OnRemoveAutofillEntry(const std::wstring& field_name,
578 const std::wstring& value); 578 const std::wstring& value);
579 579
580 void OnShowDesktopNotification(const GURL& source_origin,
581 const GURL& url, int notification_id);
582 void OnShowDesktopNotificationText(const GURL& origin, const GURL& icon,
583 const string16& title,
584 const string16& text,
585 int notification_id);
586 void OnRequestNotificationPermission(const GURL& origin, int callback_id);
587
580 void OnExtensionRequest(const std::string& name, const ListValue& args, 588 void OnExtensionRequest(const std::string& name, const ListValue& args,
581 int request_id, bool has_callback); 589 int request_id, bool has_callback);
582 void OnExtensionPostMessage(int port_id, const std::string& message); 590 void OnExtensionPostMessage(int port_id, const std::string& message);
583 void OnAccessibilityFocusChange(int acc_obj_id); 591 void OnAccessibilityFocusChange(int acc_obj_id);
584 void OnCSSInserted(); 592 void OnCSSInserted();
585 593
586 private: 594 private:
587 friend class TestRenderViewHost; 595 friend class TestRenderViewHost;
588 596
589 void UpdateBackForwardListCount(); 597 void UpdateBackForwardListCount();
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 // While in this mode, mouse click is converted into InspectElement 665 // While in this mode, mouse click is converted into InspectElement
658 // command. 666 // command.
659 bool in_inspect_element_mode_; 667 bool in_inspect_element_mode_;
660 668
661 NotificationRegistrar registrar_; 669 NotificationRegistrar registrar_;
662 670
663 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); 671 DISALLOW_COPY_AND_ASSIGN(RenderViewHost);
664 }; 672 };
665 673
666 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 674 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/profile.cc ('k') | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698