| 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_FRAME_BROWSER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ |
| 6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ | 6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/browser.h" | 8 #include "chrome/browser/browser.h" |
| 9 #include "chrome/browser/browser_window.h" | 9 #include "chrome/browser/browser_window.h" |
| 10 #include "chrome/browser/hang_monitor/hung_plugin_action.h" | 10 #include "chrome/browser/hang_monitor/hung_plugin_action.h" |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 static BrowserView* GetBrowserViewForHWND(HWND window); | 61 static BrowserView* GetBrowserViewForHWND(HWND window); |
| 62 | 62 |
| 63 // Returns the show flag that should be used to show the frame containing | 63 // Returns the show flag that should be used to show the frame containing |
| 64 // this view. | 64 // this view. |
| 65 int GetShowState() const; | 65 int GetShowState() const; |
| 66 | 66 |
| 67 // Called by the frame to notify the BrowserView that it was moved, and that | 67 // Called by the frame to notify the BrowserView that it was moved, and that |
| 68 // any dependent popup windows should be repositioned. | 68 // any dependent popup windows should be repositioned. |
| 69 void WindowMoved(); | 69 void WindowMoved(); |
| 70 | 70 |
| 71 // Called by the frame to notify the BrowserView that a move or resize was |
| 72 // initiated. |
| 73 void WindowMoveOrResizeStarted(); |
| 74 |
| 71 // Returns the bounds of the toolbar, in BrowserView coordinates. | 75 // Returns the bounds of the toolbar, in BrowserView coordinates. |
| 72 gfx::Rect GetToolbarBounds() const; | 76 gfx::Rect GetToolbarBounds() const; |
| 73 | 77 |
| 74 // Returns the bounds of the content area, in the coordinates of the | 78 // Returns the bounds of the content area, in the coordinates of the |
| 75 // BrowserView's parent. | 79 // BrowserView's parent. |
| 76 gfx::Rect GetClientAreaBounds() const; | 80 gfx::Rect GetClientAreaBounds() const; |
| 77 | 81 |
| 78 // Returns true if the Find Bar should be rendered such that it appears to | 82 // Returns true if the Find Bar should be rendered such that it appears to |
| 79 // blend with the Bookmarks Bar. False if it should appear to blend with the | 83 // blend with the Bookmarks Bar. False if it should appear to blend with the |
| 80 // main Toolbar. The return value will vary depending on whether or not the | 84 // main Toolbar. The return value will vary depending on whether or not the |
| (...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 464 bool personalization_enabled_; | 468 bool personalization_enabled_; |
| 465 #endif | 469 #endif |
| 466 | 470 |
| 467 // For debugging 7857. | 471 // For debugging 7857. |
| 468 bool is_removing_bookmark_bar_; | 472 bool is_removing_bookmark_bar_; |
| 469 | 473 |
| 470 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 474 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 471 }; | 475 }; |
| 472 | 476 |
| 473 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ | 477 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |