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

Side by Side Diff: chrome/browser/ui/browser_window.h

Issue 3547008: Handle resize corner layout entirely in the platform BrowserWindow*/BrowserView* code... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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 | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/views/frame/browser_view.h » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_UI_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/tab_contents/navigation_entry.h" 9 #include "chrome/browser/tab_contents/navigation_entry.h"
10 #include "chrome/common/content_settings_types.h" 10 #include "chrome/common/content_settings_types.h"
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 161
162 // Returns whether the bookmark bar is visible or not. 162 // Returns whether the bookmark bar is visible or not.
163 virtual bool IsBookmarkBarVisible() const = 0; 163 virtual bool IsBookmarkBarVisible() const = 0;
164 164
165 // Returns whether the bookmark bar is animating or not. 165 // Returns whether the bookmark bar is animating or not.
166 virtual bool IsBookmarkBarAnimating() const = 0; 166 virtual bool IsBookmarkBarAnimating() const = 0;
167 167
168 // Returns whether the tool bar is visible or not. 168 // Returns whether the tool bar is visible or not.
169 virtual bool IsToolbarVisible() const = 0; 169 virtual bool IsToolbarVisible() const = 0;
170 170
171 // Returns the rect where the resize corner should be drawn by the render
172 // widget host view (on top of what the renderer returns). We return an empty
173 // rect to identify that there shouldn't be a resize corner (in the cases
174 // where we take care of it ourselves at the browser level).
175 virtual gfx::Rect GetRootWindowResizerRect() const = 0;
176
177 // Tells the frame not to render as inactive until the next activation change. 171 // Tells the frame not to render as inactive until the next activation change.
178 // This is required on Windows when dropdown selects are shown to prevent the 172 // This is required on Windows when dropdown selects are shown to prevent the
179 // select from deactivating the browser frame. A stub implementation is 173 // select from deactivating the browser frame. A stub implementation is
180 // provided here since the functionality is Windows-specific. 174 // provided here since the functionality is Windows-specific.
181 virtual void DisableInactiveFrame() {} 175 virtual void DisableInactiveFrame() {}
182 176
183 // Shows a confirmation dialog box for setting the default search engine 177 // Shows a confirmation dialog box for setting the default search engine
184 // described by |template_url|. Takes ownership of |template_url|. 178 // described by |template_url|. Takes ownership of |template_url|.
185 virtual void ConfirmSetDefaultSearchProvider( 179 virtual void ConfirmSetDefaultSearchProvider(
186 TabContents* tab_contents, 180 TabContents* tab_contents,
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 369
376 // Returns the ToolbarView. 370 // Returns the ToolbarView.
377 virtual ToolbarView* GetToolbarView() const = 0; 371 virtual ToolbarView* GetToolbarView() const = 0;
378 #endif 372 #endif
379 373
380 protected: 374 protected:
381 virtual ~BrowserWindowTesting() {} 375 virtual ~BrowserWindowTesting() {}
382 }; 376 };
383 377
384 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 378 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698