Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(310)

Side by Side Diff: chrome/common/render_messages.h

Issue 9235004: [Garbled Text][Infobar] Adding infobar to suggest turning on encoding detection. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/renderer/chrome_render_view_observer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <map> 6 #include <map>
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 std::string /* host */) 331 std::string /* host */)
332 332
333 // Sent when the profile changes the kSafeBrowsingEnabled preference. 333 // Sent when the profile changes the kSafeBrowsingEnabled preference.
334 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetClientSidePhishingDetection, 334 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetClientSidePhishingDetection,
335 bool /* enable_phishing_detection */) 335 bool /* enable_phishing_detection */)
336 336
337 // This message asks frame sniffer start. 337 // This message asks frame sniffer start.
338 IPC_MESSAGE_ROUTED1(ChromeViewMsg_StartFrameSniffer, 338 IPC_MESSAGE_ROUTED1(ChromeViewMsg_StartFrameSniffer,
339 string16 /* frame-name */) 339 string16 /* frame-name */)
340 340
341 // Reload frame fully using cache.
342 IPC_MESSAGE_ROUTED0(ChromeViewMsg_ReloadFromCache)
343
344 // Reload frame fully using cache.
345 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetGarbledTextDetectionEnableState,
346 bool /* enabled */)
347
341 // JavaScript related messages ----------------------------------------------- 348 // JavaScript related messages -----------------------------------------------
342 349
343 // Notify the JavaScript engine in the render to change its parameters 350 // Notify the JavaScript engine in the render to change its parameters
344 // while performing stress testing. 351 // while performing stress testing.
345 IPC_MESSAGE_ROUTED2(ChromeViewMsg_JavaScriptStressTestControl, 352 IPC_MESSAGE_ROUTED2(ChromeViewMsg_JavaScriptStressTestControl,
346 int /* cmd */, 353 int /* cmd */,
347 int /* param */) 354 int /* param */)
348 355
349 // Asks the renderer to send back FPS. 356 // Asks the renderer to send back FPS.
350 IPC_MESSAGE_ROUTED0(ChromeViewMsg_GetFPS) 357 IPC_MESSAGE_ROUTED0(ChromeViewMsg_GetFPS)
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
624 // previous SetCookie message to be processed. 631 // previous SetCookie message to be processed.
625 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, 632 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies,
626 GURL /* url */, 633 GURL /* url */,
627 GURL /* first_party_for_cookies */, 634 GURL /* first_party_for_cookies */,
628 std::string /* cookies */) 635 std::string /* cookies */)
629 636
630 // Provide the browser process with current renderer framerate. 637 // Provide the browser process with current renderer framerate.
631 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, 638 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS,
632 int /* routing id */, 639 int /* routing id */,
633 float /* frames per second */) 640 float /* frames per second */)
641
642 // This message indicate character encoding mismatch. The browser process
643 // should suggest the user to enable auto encoding detection.
644 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_GarbledTextDetected,
645 std::vector<GURL> /* garbled_url */)
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/renderer/chrome_render_view_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698