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

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

Issue 83163002: [Aura] Adding Writing direction to the context menu for Aura. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed compilation on Win Created 7 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
« 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) || defined(TOOLKIT_GTK)
128 // Writing direction menu items. 127 // Writing direction menu items.
129 // Currently only used on OS X and Linux.
130 int writing_direction_default; 128 int writing_direction_default;
131 int writing_direction_left_to_right; 129 int writing_direction_left_to_right;
132 int writing_direction_right_to_left; 130 int writing_direction_right_to_left;
133 #endif // OS_MACOSX || defined(TOOLKIT_GTK)
134 131
135 // These flags indicate to the browser whether the renderer believes it is 132 // These flags indicate to the browser whether the renderer believes it is
136 // able to perform the corresponding action. 133 // able to perform the corresponding action.
137 int edit_flags; 134 int edit_flags;
138 135
139 // The security info for the resource we are showing the menu on. 136 // The security info for the resource we are showing the menu on.
140 SSLStatus security_info; 137 SSLStatus security_info;
141 138
142 // The character encoding of the frame on which the menu is invoked. 139 // The character encoding of the frame on which the menu is invoked.
143 std::string frame_charset; 140 std::string frame_charset;
(...skipping 10 matching lines...) Expand all
154 // Points representing the coordinates in the document space of the start and 151 // Points representing the coordinates in the document space of the start and
155 // end of the selection, if there is one. 152 // end of the selection, if there is one.
156 gfx::Point selection_start; 153 gfx::Point selection_start;
157 gfx::Point selection_end; 154 gfx::Point selection_end;
158 #endif 155 #endif
159 }; 156 };
160 157
161 } // namespace content 158 } // namespace content
162 159
163 #endif // CONTENT_PUBLIC_COMMON_CONTEXT_MENU_PARAMS_H_ 160 #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