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

Side by Side Diff: ui/views/win/hwnd_message_handler.h

Issue 133273020: Relanding this as this caused layout tests failures on Win7 due to the call to ShowScrollBars being… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 11 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 | « no previous file | ui/views/win/hwnd_message_handler.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_WIN_HWND_MESSAGE_HANDLER_H_ 5 #ifndef UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_
6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ 6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 #include <atlbase.h> 9 #include <atlbase.h>
10 #include <atlapp.h> 10 #include <atlapp.h>
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 535
536 // If > 0 indicates a menu is running (we're showing a native menu). 536 // If > 0 indicates a menu is running (we're showing a native menu).
537 int menu_depth_; 537 int menu_depth_;
538 538
539 // A factory used to lookup appbar autohide edges. 539 // A factory used to lookup appbar autohide edges.
540 base::WeakPtrFactory<HWNDMessageHandler> autohide_factory_; 540 base::WeakPtrFactory<HWNDMessageHandler> autohide_factory_;
541 541
542 // Generates touch-ids for touch-events. 542 // Generates touch-ids for touch-events.
543 ui::SequentialIDGenerator id_generator_; 543 ui::SequentialIDGenerator id_generator_;
544 544
545 // Indicates if the window has the WS_VSCROLL and WS_HSCROLL styles set. 545 // Indicates if the window needs the WS_VSCROLL and WS_HSCROLL styles.
546 bool scroll_styles_set_; 546 bool needs_scroll_styles_;
547
548 // Set to true if we are in the context of a sizing or moving operation.
549 bool in_size_move_loop_;
547 550
548 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler); 551 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler);
549 }; 552 };
550 553
551 // This window property if set on the window does not activate the window for a 554 // This window property if set on the window does not activate the window for a
552 // touch based WM_MOUSEACTIVATE message. 555 // touch based WM_MOUSEACTIVATE message.
553 const wchar_t kIgnoreTouchMouseActivateForWindow[] = 556 const wchar_t kIgnoreTouchMouseActivateForWindow[] =
554 L"Chrome.IgnoreMouseActivate"; 557 L"Chrome.IgnoreMouseActivate";
555 558
556 } // namespace views 559 } // namespace views
557 560
558 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ 561 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | ui/views/win/hwnd_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698