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

Side by Side Diff: ui/views/widget/native_widget_win.h

Issue 10825254: Remove views::KeyEvent, replacing uses of it with ui::KeyEvent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
« no previous file with comments | « ui/views/widget/native_widget_delegate.h ('k') | ui/views/widget/native_widget_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) 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 UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_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 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 void StopIgnoringPosChanges() { ignore_window_pos_changes_ = false; } 530 void StopIgnoringPosChanges() { ignore_window_pos_changes_ = false; }
531 531
532 void RestoreEnabledIfNecessary(); 532 void RestoreEnabledIfNecessary();
533 533
534 void SetInitialFocus(); 534 void SetInitialFocus();
535 535
536 // Notifies any owned windows that we're closing. 536 // Notifies any owned windows that we're closing.
537 void NotifyOwnedWindowsParentClosing(); 537 void NotifyOwnedWindowsParentClosing();
538 538
539 // Overridden from internal::InputMethodDelegate 539 // Overridden from internal::InputMethodDelegate
540 virtual void DispatchKeyEventPostIME(const KeyEvent& key) OVERRIDE; 540 virtual void DispatchKeyEventPostIME(const ui::KeyEvent& key) OVERRIDE;
541 541
542 // Common implementation of fullscreen-related code. This method handles 542 // Common implementation of fullscreen-related code. This method handles
543 // changing from windowed mode to a display mode (dubbed fullscreen mode) 543 // changing from windowed mode to a display mode (dubbed fullscreen mode)
544 // where the window occupies a fixed portion (possibly 100%) of the screen. 544 // where the window occupies a fixed portion (possibly 100%) of the screen.
545 // |fullscreen| specifies whether we are entering or leaving fullscreen mode. 545 // |fullscreen| specifies whether we are entering or leaving fullscreen mode.
546 // |for_metro| specifies whether we are doing this at the behest of a metro 546 // |for_metro| specifies whether we are doing this at the behest of a metro
547 // snap transition. 547 // snap transition.
548 void SetFullscreenInternal(bool fullscreen, bool for_metro); 548 void SetFullscreenInternal(bool fullscreen, bool for_metro);
549 549
550 // A delegate implementation that handles events received here. 550 // A delegate implementation that handles events received here.
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 681
682 // The set of touch devices currently down. 682 // The set of touch devices currently down.
683 TouchIDs touch_ids_; 683 TouchIDs touch_ids_;
684 684
685 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); 685 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin);
686 }; 686 };
687 687
688 } // namespace views 688 } // namespace views
689 689
690 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ 690 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_delegate.h ('k') | ui/views/widget/native_widget_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698