| OLD | NEW |
| 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 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 578 const string16& user_text); | 578 const string16& user_text); |
| 579 void OnRemoveAutofillEntry(const string16& field_name, | 579 void OnRemoveAutofillEntry(const string16& field_name, |
| 580 const string16& value); | 580 const string16& value); |
| 581 | 581 |
| 582 void OnShowDesktopNotification(const GURL& source_origin, | 582 void OnShowDesktopNotification(const GURL& source_origin, |
| 583 const GURL& url, int notification_id); | 583 const GURL& url, int notification_id); |
| 584 void OnShowDesktopNotificationText(const GURL& origin, const GURL& icon, | 584 void OnShowDesktopNotificationText(const GURL& origin, const GURL& icon, |
| 585 const string16& title, | 585 const string16& title, |
| 586 const string16& text, | 586 const string16& text, |
| 587 int notification_id); | 587 int notification_id); |
| 588 void OnCancelDesktopNotification(int notification_id); |
| 588 void OnRequestNotificationPermission(const GURL& origin, int callback_id); | 589 void OnRequestNotificationPermission(const GURL& origin, int callback_id); |
| 589 | 590 |
| 590 void OnExtensionRequest(const std::string& name, const ListValue& args, | 591 void OnExtensionRequest(const std::string& name, const ListValue& args, |
| 591 int request_id, bool has_callback); | 592 int request_id, bool has_callback); |
| 592 void OnExtensionPostMessage(int port_id, const std::string& message); | 593 void OnExtensionPostMessage(int port_id, const std::string& message); |
| 593 void OnAccessibilityFocusChange(int acc_obj_id); | 594 void OnAccessibilityFocusChange(int acc_obj_id); |
| 594 void OnCSSInserted(); | 595 void OnCSSInserted(); |
| 595 | 596 |
| 596 private: | 597 private: |
| 597 friend class TestRenderViewHost; | 598 friend class TestRenderViewHost; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 662 // While in this mode, mouse click is converted into InspectElement | 663 // While in this mode, mouse click is converted into InspectElement |
| 663 // command. | 664 // command. |
| 664 bool in_inspect_element_mode_; | 665 bool in_inspect_element_mode_; |
| 665 | 666 |
| 666 NotificationRegistrar registrar_; | 667 NotificationRegistrar registrar_; |
| 667 | 668 |
| 668 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 669 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 669 }; | 670 }; |
| 670 | 671 |
| 671 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 672 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |