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

Unified Diff: chrome/common/render_messages.h

Issue 363563004: Move extensions-only render IPC messages into the extension messages header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix tests Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index 60b5336eb8e60d23e4bd75350c8a30209d5bc152..516f8a21fe9f54b6b56f3e6ef7ce9dbab74eda8f 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -27,7 +27,6 @@
#include "content/public/common/common_param_traits.h"
#include "content/public/common/referrer.h"
#include "content/public/common/top_controls_state.h"
-#include "extensions/common/stack_frame.h"
#include "ipc/ipc_channel_handle.h"
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_platform_file.h"
@@ -184,13 +183,6 @@ IPC_STRUCT_TRAITS_BEGIN(blink::WebCache::UsageStats)
IPC_STRUCT_TRAITS_MEMBER(deadSize)
IPC_STRUCT_TRAITS_END()
-IPC_STRUCT_TRAITS_BEGIN(extensions::StackFrame)
- IPC_STRUCT_TRAITS_MEMBER(line_number)
- IPC_STRUCT_TRAITS_MEMBER(column_number)
- IPC_STRUCT_TRAITS_MEMBER(source)
- IPC_STRUCT_TRAITS_MEMBER(function)
-IPC_STRUCT_TRAITS_END()
-
IPC_ENUM_TRAITS_MAX_VALUE(NTPLoggingEventType,
NTP_NUM_EVENT_TYPES)
@@ -208,12 +200,6 @@ IPC_MESSAGE_CONTROL3(ChromeViewMsg_SetCacheCapacities,
IPC_MESSAGE_CONTROL1(ChromeViewMsg_ClearCache,
bool /* on_navigation */)
-#if defined(ENABLE_EXTENSIONS)
-// Set the top-level frame to the provided name.
-IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetName,
- std::string /* frame_name */)
-#endif
-
#if !defined(OS_ANDROID) && !defined(OS_IOS)
// For WebUI testing, this message requests JavaScript to be executed at a time
// which is late enough to not be thrown out, and early enough to be before
@@ -281,13 +267,6 @@ IPC_MESSAGE_ROUTED2(ChromeViewMsg_ChromeIdentityCheckResult,
IPC_MESSAGE_ROUTED0(ChromeViewMsg_SearchBoxToggleVoiceSearch)
-#if defined(ENABLE_EXTENSIONS)
-// Toggles visual muting of the render view area. This is on when a constrained
-// window is showing.
-IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetVisuallyDeemphasized,
- bool /* deemphazied */)
-#endif
-
// Sent on process startup to indicate whether this process is running in
// incognito mode.
IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetIsIncognitoProcess,
@@ -465,13 +444,6 @@ IPC_SYNC_MESSAGE_CONTROL1_3(
std::vector<base::string16> /* additional_param_values */)
#endif
-#if defined(ENABLE_EXTENSIONS)
-// Informs the browser of updated frame names.
-IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_UpdateFrameName,
- bool /* is_top_level */,
- std::string /* name */)
-#endif
-
#if defined(ENABLE_PLUGIN_INSTALLATION)
// Tells the browser to search for a plug-in that can handle the given MIME
// type. The result will be sent asynchronously to the routing ID
@@ -576,17 +548,6 @@ IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_ResourceTypeStats,
// only when the renderer is prerendering.
IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_CancelPrerenderForPrinting)
-#if defined(ENABLE_EXTENSIONS)
-// Sent by the renderer to check if a URL has permission to trigger a clipboard
-// read/write operation from the DOM.
-IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_CanTriggerClipboardRead,
- GURL /* origin */,
- bool /* allowed */)
-IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_CanTriggerClipboardWrite,
- GURL /* origin */,
- bool /* allowed */)
-#endif
-
// Sent when the renderer was prevented from displaying insecure content in
// a secure page by a security policy. The page may appear incomplete.
IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_DidBlockDisplayingInsecureContent)
@@ -709,17 +670,6 @@ IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetSearchURLs,
std::vector<GURL> /* search_urls */,
GURL /* new_tab_page_url */)
-// TODO(thestig) Eventually separate out all the extensions messages.
-#if defined(ENABLE_EXTENSIONS)
-// Tells listeners that a detailed message was reported to the console by
-// WebKit.
-IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded,
- base::string16 /* message */,
- base::string16 /* source */,
- extensions::StackTrace /* stack trace */,
- int32 /* severity level */)
-#endif
-
#if defined(ENABLE_PLUGINS)
// Sent by the renderer to check if crash reporting is enabled.
IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled,
« no previous file with comments | « chrome/common/extensions/chrome_extension_messages.h ('k') | chrome/renderer/chrome_render_view_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698