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

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

Issue 2511263003: [HBD] Fix the misleading no-fallback placeholder message in BLOCK mode. (Closed)
Patch Set: merge Created 4 years 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
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 <stdint.h> 6 #include <stdint.h>
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 21 matching lines...) Expand all
32 #include "url/ipc/url_param_traits.h" 32 #include "url/ipc/url_param_traits.h"
33 #include "url/origin.h" 33 #include "url/origin.h"
34 34
35 // Singly-included section for enums and custom IPC traits. 35 // Singly-included section for enums and custom IPC traits.
36 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ 36 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_
37 #define CHROME_COMMON_RENDER_MESSAGES_H_ 37 #define CHROME_COMMON_RENDER_MESSAGES_H_
38 38
39 // These are only used internally, so the order does not matter. 39 // These are only used internally, so the order does not matter.
40 enum class ChromeViewHostMsg_GetPluginInfo_Status { 40 enum class ChromeViewHostMsg_GetPluginInfo_Status {
41 kAllowed, 41 kAllowed,
42 // Plugin is blocked, but still can be manually loaded via context menu.
42 kBlocked, 43 kBlocked,
44 // Plugin is blocked by policy, so it cannot be manually loaded.
43 kBlockedByPolicy, 45 kBlockedByPolicy,
46 // Plugin is blocked, and cannot be manually loaded via context menu.
47 kBlockedNoLoading,
44 kComponentUpdateRequired, 48 kComponentUpdateRequired,
45 kDisabled, 49 kDisabled,
50 // Flash is blocked, but user can click on the placeholder to trigger the
51 // Flash permission prompt.
46 kFlashHiddenPreferHtml, 52 kFlashHiddenPreferHtml,
47 kNotFound, 53 kNotFound,
48 kOutdatedBlocked, 54 kOutdatedBlocked,
49 kOutdatedDisallowed, 55 kOutdatedDisallowed,
50 kPlayImportantContent, 56 kPlayImportantContent,
51 kRestartRequired, 57 kRestartRequired,
52 kUnauthorized, 58 kUnauthorized,
53 }; 59 };
54 60
55 namespace IPC { 61 namespace IPC {
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 600
595 #if BUILDFLAG(ENABLE_PLUGINS) 601 #if BUILDFLAG(ENABLE_PLUGINS)
596 // Sent by the renderer to check if crash reporting is enabled. 602 // Sent by the renderer to check if crash reporting is enabled.
597 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, 603 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled,
598 bool /* enabled */) 604 bool /* enabled */)
599 #endif 605 #endif
600 606
601 // Sent by the renderer to indicate that a fields trial has been activated. 607 // Sent by the renderer to indicate that a fields trial has been activated.
602 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_FieldTrialActivated, 608 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_FieldTrialActivated,
603 std::string /* name */) 609 std::string /* name */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698