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 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 const std::string& resource_identifier); | 629 const std::string& resource_identifier); |
630 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); | 630 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); |
631 void OnWebDatabaseAccessed(const GURL& url, | 631 void OnWebDatabaseAccessed(const GURL& url, |
632 const string16& name, | 632 const string16& name, |
633 const string16& display_name, | 633 const string16& display_name, |
634 unsigned long estimated_size, | 634 unsigned long estimated_size, |
635 bool blocked_by_policy); | 635 bool blocked_by_policy); |
636 void OnUpdateZoomLimits(int minimum_percent, | 636 void OnUpdateZoomLimits(int minimum_percent, |
637 int maximum_percent, | 637 int maximum_percent, |
638 bool remember); | 638 bool remember); |
639 void OnDetectedPhishingSite(const GURL& phishing_url, double phishing_score); | |
640 void OnScriptEvalResponse(int id, const ListValue& result); | 639 void OnScriptEvalResponse(int id, const ListValue& result); |
641 void OnCommandStateChanged(int command, | 640 void OnCommandStateChanged(int command, |
642 bool is_enabled, | 641 bool is_enabled, |
643 int checked_state); | 642 int checked_state); |
644 | 643 |
645 #if defined(OS_MACOSX) | 644 #if defined(OS_MACOSX) |
646 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); | 645 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); |
647 #endif | 646 #endif |
648 | 647 |
649 private: | 648 private: |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 // The termination status of the last render view that terminated. | 725 // The termination status of the last render view that terminated. |
727 base::TerminationStatus render_view_termination_status_; | 726 base::TerminationStatus render_view_termination_status_; |
728 | 727 |
729 // The enabled/disabled states of various commands. | 728 // The enabled/disabled states of various commands. |
730 std::map<RenderViewCommand, CommandState> command_states_; | 729 std::map<RenderViewCommand, CommandState> command_states_; |
731 | 730 |
732 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 731 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
733 }; | 732 }; |
734 | 733 |
735 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 734 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |