OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
837 void MoveNTPMostVisitedThumbnail(Browser* browser, | 837 void MoveNTPMostVisitedThumbnail(Browser* browser, |
838 base::DictionaryValue* args, | 838 base::DictionaryValue* args, |
839 IPC::Message* reply_message); | 839 IPC::Message* reply_message); |
840 | 840 |
841 // Removes a thumbnail from the NTP's Most Visited sites section. | 841 // Removes a thumbnail from the NTP's Most Visited sites section. |
842 // Uses the JSON interface for input/output. | 842 // Uses the JSON interface for input/output. |
843 void RemoveNTPMostVisitedThumbnail(Browser* browser, | 843 void RemoveNTPMostVisitedThumbnail(Browser* browser, |
844 base::DictionaryValue* args, | 844 base::DictionaryValue* args, |
845 IPC::Message* reply_message); | 845 IPC::Message* reply_message); |
846 | 846 |
847 // Unpins a thumbnail in the NTP's Most Visited sites section. | |
848 // Uses the JSON interface for input/output. | |
849 void UnpinNTPMostVisitedThumbnail(Browser* browser, | |
850 base::DictionaryValue* args, | |
851 IPC::Message* reply_message); | |
852 | |
853 // Restores all thumbnails that have been removed (i.e., blacklisted) from the | 847 // Restores all thumbnails that have been removed (i.e., blacklisted) from the |
854 // NTP's Most Visited sites section. | 848 // NTP's Most Visited sites section. |
855 // Uses the JSON interface for input/output. | 849 // Uses the JSON interface for input/output. |
856 void RestoreAllNTPMostVisitedThumbnails(Browser* browser, | 850 void RestoreAllNTPMostVisitedThumbnails(Browser* browser, |
857 base::DictionaryValue* args, | 851 base::DictionaryValue* args, |
858 IPC::Message* reply_message); | 852 IPC::Message* reply_message); |
859 | 853 |
860 // Kills the given renderer process and returns after the associated | 854 // Kills the given renderer process and returns after the associated |
861 // RenderProcessHost receives notification of its closing. | 855 // RenderProcessHost receives notification of its closing. |
862 void KillRendererProcess(Browser* browser, | 856 void KillRendererProcess(Browser* browser, |
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1570 ImportSettingsData import_settings_data_; | 1564 ImportSettingsData import_settings_data_; |
1571 | 1565 |
1572 // The automation event observer queue. It is lazily created when an observer | 1566 // The automation event observer queue. It is lazily created when an observer |
1573 // is added to avoid overhead when not needed. | 1567 // is added to avoid overhead when not needed. |
1574 scoped_ptr<AutomationEventQueue> automation_event_queue_; | 1568 scoped_ptr<AutomationEventQueue> automation_event_queue_; |
1575 | 1569 |
1576 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 1570 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
1577 }; | 1571 }; |
1578 | 1572 |
1579 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 1573 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
OLD | NEW |