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

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

Issue 2348693003: [HBD] Placeholder for Flash content without fallback. (Closed)
Patch Set: address comments Created 4 years, 3 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
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 14 matching lines...) Expand all
25 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerProm ptReply.h" 25 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerProm ptReply.h"
26 #include "third_party/WebKit/public/web/WebConsoleMessage.h" 26 #include "third_party/WebKit/public/web/WebConsoleMessage.h"
27 #include "third_party/WebKit/public/web/WebWindowFeatures.h" 27 #include "third_party/WebKit/public/web/WebWindowFeatures.h"
28 #include "ui/base/window_open_disposition.h" 28 #include "ui/base/window_open_disposition.h"
29 #include "url/ipc/url_param_traits.h" 29 #include "url/ipc/url_param_traits.h"
30 30
31 // Singly-included section for enums and custom IPC traits. 31 // Singly-included section for enums and custom IPC traits.
32 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ 32 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_
33 #define CHROME_COMMON_RENDER_MESSAGES_H_ 33 #define CHROME_COMMON_RENDER_MESSAGES_H_
34 34
35 // These are only used internally, so the order does not matter.
35 enum class ChromeViewHostMsg_GetPluginInfo_Status { 36 enum class ChromeViewHostMsg_GetPluginInfo_Status {
36 kAllowed, 37 kAllowed,
37 kBlocked, 38 kBlocked,
38 kBlockedByPolicy, 39 kBlockedByPolicy,
40 kComponentUpdateRequired,
39 kDisabled, 41 kDisabled,
42 kFlashHiddenPreferHtml,
40 kNotFound, 43 kNotFound,
41 kOutdatedBlocked, 44 kOutdatedBlocked,
42 kOutdatedDisallowed, 45 kOutdatedDisallowed,
43 kPlayImportantContent, 46 kPlayImportantContent,
44 kComponentUpdateRequired,
45 kUnauthorized, 47 kUnauthorized,
46 }; 48 };
47 49
48 namespace IPC { 50 namespace IPC {
49 51
50 template <> 52 template <>
51 struct ParamTraits<ContentSettingsPattern> { 53 struct ParamTraits<ContentSettingsPattern> {
52 typedef ContentSettingsPattern param_type; 54 typedef ContentSettingsPattern param_type;
53 static void GetSize(base::PickleSizer* s, const param_type& p); 55 static void GetSize(base::PickleSizer* s, const param_type& p);
54 static void Write(base::Pickle* m, const param_type& p); 56 static void Write(base::Pickle* m, const param_type& p);
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 572
571 // Record a sample string to a Rappor metric. 573 // Record a sample string to a Rappor metric.
572 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, 574 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor,
573 std::string /* metric */, 575 std::string /* metric */,
574 std::string /* sample */) 576 std::string /* sample */)
575 577
576 // Record a domain and registry of a url to a Rappor metric. 578 // Record a domain and registry of a url to a Rappor metric.
577 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, 579 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL,
578 std::string /* metric */, 580 std::string /* metric */,
579 GURL /* sample url */) 581 GURL /* sample url */)
OLDNEW
« no previous file with comments | « chrome/browser/plugins/plugin_info_message_filter.cc ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698