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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view_win.h

Issue 384101: Ignore keyboard messages from enter key in renderer if they were not initiate... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 | « no previous file | chrome/browser/renderer_host/render_widget_host_view_win.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlapp.h> 9 #include <atlapp.h>
10 #include <atlcrack.h> 10 #include <atlcrack.h>
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 bool track_mouse_leave_; 234 bool track_mouse_leave_;
235 235
236 // Wrapper class for IME input. 236 // Wrapper class for IME input.
237 // (See "chrome/browser/ime_input.h" for its details.) 237 // (See "chrome/browser/ime_input.h" for its details.)
238 ImeInput ime_input_; 238 ImeInput ime_input_;
239 239
240 // Represents whether or not this browser process is receiving status 240 // Represents whether or not this browser process is receiving status
241 // messages about the focused edit control from a renderer process. 241 // messages about the focused edit control from a renderer process.
242 bool ime_notification_; 242 bool ime_notification_;
243 243
244 // true if Enter was hit when render widget host was in focus.
245 bool capture_enter_key_;
246
244 // true if the View is not visible. 247 // true if the View is not visible.
245 bool is_hidden_; 248 bool is_hidden_;
246 249
247 // True if we're in the midst of a paint operation and should respond to 250 // True if we're in the midst of a paint operation and should respond to
248 // DidPaintRect() notifications by merely invalidating. See comments on 251 // DidPaintRect() notifications by merely invalidating. See comments on
249 // render_widget_host_view.h:DidPaintRect(). 252 // render_widget_host_view.h:DidPaintRect().
250 bool about_to_validate_and_paint_; 253 bool about_to_validate_and_paint_;
251 254
252 // true if the View should be closed when its HWND is deactivated (used to 255 // true if the View should be closed when its HWND is deactivated (used to
253 // support SELECT popups which are closed when they are deactivated). 256 // support SELECT popups which are closed when they are deactivated).
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 290
288 // Whether the renderer is made accessible. 291 // Whether the renderer is made accessible.
289 // TODO(jcampan): http://b/issue?id=1432077 This is a temporary work-around 292 // TODO(jcampan): http://b/issue?id=1432077 This is a temporary work-around
290 // until that bug is fixed. 293 // until that bug is fixed.
291 bool renderer_accessible_; 294 bool renderer_accessible_;
292 295
293 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); 296 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin);
294 }; 297 };
295 298
296 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 299 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/renderer_host/render_widget_host_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698