| 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 // Multiply-included file, no traditional include guard. | 5 // Multiply-included file, no traditional include guard. |
| 6 #include <stdint.h> | 6 #include <stdint.h> |
| 7 #include <map> | 7 #include <map> |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 | 285 |
| 286 // Sent on process startup to indicate whether this process is running in | 286 // Sent on process startup to indicate whether this process is running in |
| 287 // incognito mode. | 287 // incognito mode. |
| 288 IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetIsIncognitoProcess, | 288 IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetIsIncognitoProcess, |
| 289 bool /* is_incognito_processs */) | 289 bool /* is_incognito_processs */) |
| 290 | 290 |
| 291 // Sent when the profile changes the kSafeBrowsingEnabled preference. | 291 // Sent when the profile changes the kSafeBrowsingEnabled preference. |
| 292 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetClientSidePhishingDetection, | 292 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetClientSidePhishingDetection, |
| 293 bool /* enable_phishing_detection */) | 293 bool /* enable_phishing_detection */) |
| 294 | 294 |
| 295 // Reloads the image the image selected by the most recently opened context menu |
| 296 // (if there indeed is an image at that location). |
| 297 IPC_MESSAGE_ROUTED0(ChromeViewMsg_RequestReloadImageForContextNode) |
| 298 |
| 295 // Asks the renderer for a thumbnail of the image selected by the most | 299 // Asks the renderer for a thumbnail of the image selected by the most |
| 296 // recently opened context menu, if there is one. If the image's area | 300 // recently opened context menu, if there is one. If the image's area |
| 297 // is greater than thumbnail_min_area it will be downscaled to | 301 // is greater than thumbnail_min_area it will be downscaled to |
| 298 // be within thumbnail_max_size. The possibly downsampled image will be | 302 // be within thumbnail_max_size. The possibly downsampled image will be |
| 299 // returned in a ChromeViewHostMsg_RequestThumbnailForContextNode_ACK message. | 303 // returned in a ChromeViewHostMsg_RequestThumbnailForContextNode_ACK message. |
| 300 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RequestThumbnailForContextNode, | 304 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RequestThumbnailForContextNode, |
| 301 int /* thumbnail_min_area_pixels */, | 305 int /* thumbnail_min_area_pixels */, |
| 302 gfx::Size /* thumbnail_max_size_pixels */) | 306 gfx::Size /* thumbnail_max_size_pixels */) |
| 303 | 307 |
| 304 // Notifies the renderer whether hiding/showing the top controls is enabled, | 308 // Notifies the renderer whether hiding/showing the top controls is enabled, |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 616 | 620 |
| 617 // Record a sample string to a Rappor metric. | 621 // Record a sample string to a Rappor metric. |
| 618 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, | 622 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, |
| 619 std::string /* metric */, | 623 std::string /* metric */, |
| 620 std::string /* sample */) | 624 std::string /* sample */) |
| 621 | 625 |
| 622 // Record a domain and registry of a url to a Rappor metric. | 626 // Record a domain and registry of a url to a Rappor metric. |
| 623 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, | 627 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, |
| 624 std::string /* metric */, | 628 std::string /* metric */, |
| 625 GURL /* sample url */) | 629 GURL /* sample url */) |
| OLD | NEW |