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

Side by Side Diff: content/common/view_messages.h

Issue 23200006: Don't show the search-by-image menu item when the image is blocked (no image pixel data) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
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 // IPC messages for page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 IPC_STRUCT_TRAITS_END() 160 IPC_STRUCT_TRAITS_END()
161 161
162 IPC_STRUCT_TRAITS_BEGIN(content::ContextMenuParams) 162 IPC_STRUCT_TRAITS_BEGIN(content::ContextMenuParams)
163 IPC_STRUCT_TRAITS_MEMBER(media_type) 163 IPC_STRUCT_TRAITS_MEMBER(media_type)
164 IPC_STRUCT_TRAITS_MEMBER(x) 164 IPC_STRUCT_TRAITS_MEMBER(x)
165 IPC_STRUCT_TRAITS_MEMBER(y) 165 IPC_STRUCT_TRAITS_MEMBER(y)
166 IPC_STRUCT_TRAITS_MEMBER(link_url) 166 IPC_STRUCT_TRAITS_MEMBER(link_url)
167 IPC_STRUCT_TRAITS_MEMBER(link_text) 167 IPC_STRUCT_TRAITS_MEMBER(link_text)
168 IPC_STRUCT_TRAITS_MEMBER(unfiltered_link_url) 168 IPC_STRUCT_TRAITS_MEMBER(unfiltered_link_url)
169 IPC_STRUCT_TRAITS_MEMBER(src_url) 169 IPC_STRUCT_TRAITS_MEMBER(src_url)
170 IPC_STRUCT_TRAITS_MEMBER(is_image_blocked) 170 IPC_STRUCT_TRAITS_MEMBER(has_image_contents)
171 IPC_STRUCT_TRAITS_MEMBER(page_url) 171 IPC_STRUCT_TRAITS_MEMBER(page_url)
172 IPC_STRUCT_TRAITS_MEMBER(keyword_url) 172 IPC_STRUCT_TRAITS_MEMBER(keyword_url)
173 IPC_STRUCT_TRAITS_MEMBER(frame_url) 173 IPC_STRUCT_TRAITS_MEMBER(frame_url)
174 IPC_STRUCT_TRAITS_MEMBER(frame_page_state) 174 IPC_STRUCT_TRAITS_MEMBER(frame_page_state)
175 IPC_STRUCT_TRAITS_MEMBER(media_flags) 175 IPC_STRUCT_TRAITS_MEMBER(media_flags)
176 IPC_STRUCT_TRAITS_MEMBER(selection_text) 176 IPC_STRUCT_TRAITS_MEMBER(selection_text)
177 IPC_STRUCT_TRAITS_MEMBER(misspelled_word) 177 IPC_STRUCT_TRAITS_MEMBER(misspelled_word)
178 IPC_STRUCT_TRAITS_MEMBER(misspelling_hash) 178 IPC_STRUCT_TRAITS_MEMBER(misspelling_hash)
179 IPC_STRUCT_TRAITS_MEMBER(dictionary_suggestions) 179 IPC_STRUCT_TRAITS_MEMBER(dictionary_suggestions)
180 IPC_STRUCT_TRAITS_MEMBER(speech_input_enabled) 180 IPC_STRUCT_TRAITS_MEMBER(speech_input_enabled)
(...skipping 2184 matching lines...) Expand 10 before | Expand all | Expand 10 after
2365 // synchronously (see crbug.com/120597). This IPC message sends the character 2365 // synchronously (see crbug.com/120597). This IPC message sends the character
2366 // bounds after every composition change to always have correct bound info. 2366 // bounds after every composition change to always have correct bound info.
2367 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 2367 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
2368 ui::Range /* composition range */, 2368 ui::Range /* composition range */,
2369 std::vector<gfx::Rect> /* character bounds */) 2369 std::vector<gfx::Rect> /* character bounds */)
2370 #endif 2370 #endif
2371 2371
2372 // Adding a new message? Stick to the sort order above: first platform 2372 // Adding a new message? Stick to the sort order above: first platform
2373 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2373 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2374 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2374 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « chrome/browser/translate/translate_manager_browsertest.cc ('k') | content/public/common/context_menu_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698