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

Side by Side Diff: content/public/common/context_menu_params.h

Issue 27361002: Chromium Side Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Base filesw Created 7 years, 2 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
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/common/context_menu_params.cc » ('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 #ifndef CONTENT_PUBLIC_COMMON_CONTEXT_MENU_PARAMS_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_CONTEXT_MENU_PARAMS_H_
6 #define CONTENT_PUBLIC_COMMON_CONTEXT_MENU_PARAMS_H_ 6 #define CONTENT_PUBLIC_COMMON_CONTEXT_MENU_PARAMS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 // If editable, flag for whether node is speech-input enabled. 118 // If editable, flag for whether node is speech-input enabled.
119 bool speech_input_enabled; 119 bool speech_input_enabled;
120 120
121 // If editable, flag for whether spell check is enabled or not. 121 // If editable, flag for whether spell check is enabled or not.
122 bool spellcheck_enabled; 122 bool spellcheck_enabled;
123 123
124 // Whether context is editable. 124 // Whether context is editable.
125 bool is_editable; 125 bool is_editable;
126 126
127 #if defined(OS_MACOSX) 127 #if defined(OS_MACOSX) || defined(OS_LINUX)
128 // Writing direction menu items. 128 // Writing direction menu items.
129 // Currently only used on OS X.
130 int writing_direction_default; 129 int writing_direction_default;
131 int writing_direction_left_to_right; 130 int writing_direction_left_to_right;
132 int writing_direction_right_to_left; 131 int writing_direction_right_to_left;
133 #endif // OS_MACOSX 132 #endif // OS_MACOSX || defined(OS_LINUX)
134 133
135 // These flags indicate to the browser whether the renderer believes it is 134 // These flags indicate to the browser whether the renderer believes it is
136 // able to perform the corresponding action. 135 // able to perform the corresponding action.
137 int edit_flags; 136 int edit_flags;
138 137
139 // The security info for the resource we are showing the menu on. 138 // The security info for the resource we are showing the menu on.
140 SSLStatus security_info; 139 SSLStatus security_info;
141 140
142 // The character encoding of the frame on which the menu is invoked. 141 // The character encoding of the frame on which the menu is invoked.
143 std::string frame_charset; 142 std::string frame_charset;
(...skipping 10 matching lines...) Expand all
154 // Points representing the coordinates in the document space of the start and 153 // Points representing the coordinates in the document space of the start and
155 // end of the selection, if there is one. 154 // end of the selection, if there is one.
156 gfx::Point selection_start; 155 gfx::Point selection_start;
157 gfx::Point selection_end; 156 gfx::Point selection_end;
158 #endif 157 #endif
159 }; 158 };
160 159
161 } // namespace content 160 } // namespace content
162 161
163 #endif // CONTENT_PUBLIC_COMMON_CONTEXT_MENU_PARAMS_H_ 162 #endif // CONTENT_PUBLIC_COMMON_CONTEXT_MENU_PARAMS_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/common/context_menu_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698