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

Side by Side Diff: chrome/browser/views/frame/browser_view.h

Issue 27247: Non-functional cleanup:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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 | chrome/browser/views/frame/browser_view.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_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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 71 // Called by the frame to notify the BrowserView that a move or resize was
72 // initiated. 72 // initiated.
73 void WindowMoveOrResizeStarted(); 73 void WindowMoveOrResizeStarted();
74 74
75 // Returns whether the browser can be resized _now_. This differs from
76 // CanResize() below, which returns whether the window is ever resizable in
77 // principle.
78 bool CanCurrentlyResize() const;
79
75 // Returns the bounds of the toolbar, in BrowserView coordinates. 80 // Returns the bounds of the toolbar, in BrowserView coordinates.
76 gfx::Rect GetToolbarBounds() const; 81 gfx::Rect GetToolbarBounds() const;
77 82
78 // Returns the bounds of the content area, in the coordinates of the 83 // Returns the bounds of the content area, in the coordinates of the
79 // BrowserView's parent. 84 // BrowserView's parent.
80 gfx::Rect GetClientAreaBounds() const; 85 gfx::Rect GetClientAreaBounds() const;
81 86
82 // Returns true if the Find Bar should be rendered such that it appears to 87 // Returns true if the Find Bar should be rendered such that it appears to
83 // blend with the Bookmarks Bar. False if it should appear to blend with the 88 // blend with the Bookmarks Bar. False if it should appear to blend with the
84 // main Toolbar. The return value will vary depending on whether or not the 89 // main Toolbar. The return value will vary depending on whether or not the
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 bool personalization_enabled_; 477 bool personalization_enabled_;
473 #endif 478 #endif
474 479
475 // For debugging 7857. 480 // For debugging 7857.
476 bool is_removing_bookmark_bar_; 481 bool is_removing_bookmark_bar_;
477 482
478 DISALLOW_COPY_AND_ASSIGN(BrowserView); 483 DISALLOW_COPY_AND_ASSIGN(BrowserView);
479 }; 484 };
480 485
481 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ 486 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698