| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 633 const std::string& resource_identifier); | 633 const std::string& resource_identifier); |
| 634 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); | 634 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); |
| 635 void OnWebDatabaseAccessed(const GURL& url, | 635 void OnWebDatabaseAccessed(const GURL& url, |
| 636 const string16& name, | 636 const string16& name, |
| 637 const string16& display_name, | 637 const string16& display_name, |
| 638 unsigned long estimated_size, | 638 unsigned long estimated_size, |
| 639 bool blocked_by_policy); | 639 bool blocked_by_policy); |
| 640 void OnUpdateZoomLimits(int minimum_percent, | 640 void OnUpdateZoomLimits(int minimum_percent, |
| 641 int maximum_percent, | 641 int maximum_percent, |
| 642 bool remember); | 642 bool remember); |
| 643 void OnDetectedPhishingSite(const GURL& phishing_url, double phishing_score); | |
| 644 void OnScriptEvalResponse(int id, const ListValue& result); | 643 void OnScriptEvalResponse(int id, const ListValue& result); |
| 645 void OnCommandStateChanged(int command, | 644 void OnCommandStateChanged(int command, |
| 646 bool is_enabled, | 645 bool is_enabled, |
| 647 int checked_state); | 646 int checked_state); |
| 648 | 647 |
| 649 #if defined(OS_MACOSX) | 648 #if defined(OS_MACOSX) |
| 650 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); | 649 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); |
| 651 #endif | 650 #endif |
| 652 | 651 |
| 653 private: | 652 private: |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 730 // The termination status of the last render view that terminated. | 729 // The termination status of the last render view that terminated. |
| 731 base::TerminationStatus render_view_termination_status_; | 730 base::TerminationStatus render_view_termination_status_; |
| 732 | 731 |
| 733 // The enabled/disabled states of various commands. | 732 // The enabled/disabled states of various commands. |
| 734 std::map<RenderViewCommand, CommandState> command_states_; | 733 std::map<RenderViewCommand, CommandState> command_states_; |
| 735 | 734 |
| 736 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 735 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 737 }; | 736 }; |
| 738 | 737 |
| 739 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 738 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |