OLD | NEW |
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_VIEWS_OLD_FRAMES_XP_FRAME_H__ | 5 #ifndef CHROME_BROWSER_VIEWS_OLD_FRAMES_XP_FRAME_H__ |
6 #define CHROME_BROWSER_VIEWS_OLD_FRAMES_XP_FRAME_H__ | 6 #define CHROME_BROWSER_VIEWS_OLD_FRAMES_XP_FRAME_H__ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 #include <atlbase.h> | 9 #include <atlbase.h> |
10 #include <atlcrack.h> | 10 #include <atlcrack.h> |
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 bool is_off_the_record_; | 499 bool is_off_the_record_; |
500 | 500 |
501 #ifdef CHROME_PERSONALIZATION | 501 #ifdef CHROME_PERSONALIZATION |
502 FramePersonalization personalization_; | 502 FramePersonalization personalization_; |
503 bool personalization_enabled_; | 503 bool personalization_enabled_; |
504 #endif | 504 #endif |
505 | 505 |
506 // Set during layout. Total height of the title bar. | 506 // Set during layout. Total height of the title bar. |
507 int title_bar_height_; | 507 int title_bar_height_; |
508 | 508 |
| 509 // Whether this frame needs a layout or not. |
| 510 bool needs_layout_; |
| 511 |
509 static bool g_initialized; | 512 static bool g_initialized; |
510 static HCURSOR g_resize_cursors[4]; | 513 static HCURSOR g_resize_cursors[4]; |
511 static SkBitmap** g_bitmaps; | 514 static SkBitmap** g_bitmaps; |
512 static SkBitmap** g_otr_bitmaps; | 515 static SkBitmap** g_otr_bitmaps; |
513 | 516 |
514 // Instance of accessibility information and handling for MSAA root | 517 // Instance of accessibility information and handling for MSAA root |
515 CComPtr<IAccessible> accessibility_root_; | 518 CComPtr<IAccessible> accessibility_root_; |
516 | 519 |
517 // See note in VistaFrame for a description of this. | 520 // See note in VistaFrame for a description of this. |
518 bool ignore_ncactivate_; | 521 bool ignore_ncactivate_; |
519 bool paint_as_active_; | 522 bool paint_as_active_; |
520 | 523 |
521 // A view that holds the client-area contents of the browser window. | 524 // A view that holds the client-area contents of the browser window. |
522 BrowserView* browser_view_; | 525 BrowserView* browser_view_; |
523 | 526 |
524 DISALLOW_EVIL_CONSTRUCTORS(XPFrame); | 527 DISALLOW_EVIL_CONSTRUCTORS(XPFrame); |
525 }; | 528 }; |
526 | 529 |
527 #endif // CHROME_BROWSER_VIEWS_OLD_FRAMES_XP_FRAME_H__ | 530 #endif // CHROME_BROWSER_VIEWS_OLD_FRAMES_XP_FRAME_H__ |
528 | 531 |
OLD | NEW |