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

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

Issue 28129: Update animations in fullscreen mode to prevent stuck throbbers.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 enum WindowFeature { 152 enum WindowFeature {
153 FEATURE_TITLEBAR = 1, 153 FEATURE_TITLEBAR = 1,
154 FEATURE_TABSTRIP = 2, 154 FEATURE_TABSTRIP = 2,
155 FEATURE_TOOLBAR = 4, 155 FEATURE_TOOLBAR = 4,
156 FEATURE_LOCATIONBAR = 8, 156 FEATURE_LOCATIONBAR = 8,
157 FEATURE_BOOKMARKBAR = 16, 157 FEATURE_BOOKMARKBAR = 16,
158 FEATURE_INFOBAR = 32, 158 FEATURE_INFOBAR = 32,
159 FEATURE_DOWNLOADSHELF = 64 159 FEATURE_DOWNLOADSHELF = 64
160 }; 160 };
161 161
162 // Returns true if the Browser object associated with this BrowserView
163 // supports the specified feature.
164 bool SupportsWindowFeature(WindowFeature feature) const;
165
166 // Register preferences specific to this view. 162 // Register preferences specific to this view.
167 static void RegisterBrowserViewPrefs(PrefService* prefs); 163 static void RegisterBrowserViewPrefs(PrefService* prefs);
168 164
169 // Overridden from BrowserWindow: 165 // Overridden from BrowserWindow:
170 virtual void Init(); 166 virtual void Init();
171 virtual void Show(); 167 virtual void Show();
172 virtual void SetBounds(const gfx::Rect& bounds); 168 virtual void SetBounds(const gfx::Rect& bounds);
173 virtual void Close(); 169 virtual void Close();
174 virtual void Activate(); 170 virtual void Activate();
175 virtual void FlashFrame(); 171 virtual void FlashFrame();
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 struct SavedWindowInfo { 279 struct SavedWindowInfo {
284 bool maximized; 280 bool maximized;
285 LONG style; 281 LONG style;
286 LONG ex_style; 282 LONG ex_style;
287 RECT window_rect; 283 RECT window_rect;
288 }; 284 };
289 285
290 // Creates the system menu. 286 // Creates the system menu.
291 void InitSystemMenu(); 287 void InitSystemMenu();
292 288
289 // Returns true if the Browser object associated with this BrowserView
290 // supports the specified feature.
291 bool SupportsWindowFeature(WindowFeature feature) const;
292
293 // Returns true if the event should be forwarded to the TabStrip. This 293 // Returns true if the event should be forwarded to the TabStrip. This
294 // returns true if y coordinate is less than the bottom of the tab strip, and 294 // returns true if y coordinate is less than the bottom of the tab strip, and
295 // is not over another child view. 295 // is not over another child view.
296 virtual bool ShouldForwardToTabStrip(const views::DropTargetEvent& event); 296 virtual bool ShouldForwardToTabStrip(const views::DropTargetEvent& event);
297 297
298 // Creates and returns a new DropTargetEvent in the coordinates of the 298 // Creates and returns a new DropTargetEvent in the coordinates of the
299 // TabStrip. 299 // TabStrip.
300 views::DropTargetEvent* MapEventToTabStrip( 300 views::DropTargetEvent* MapEventToTabStrip(
301 const views::DropTargetEvent& event); 301 const views::DropTargetEvent& event);
302 302
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 bool personalization_enabled_; 462 bool personalization_enabled_;
463 #endif 463 #endif
464 464
465 // For debugging 7857. 465 // For debugging 7857.
466 bool is_removing_bookmark_bar_; 466 bool is_removing_bookmark_bar_;
467 467
468 DISALLOW_COPY_AND_ASSIGN(BrowserView); 468 DISALLOW_COPY_AND_ASSIGN(BrowserView);
469 }; 469 };
470 470
471 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ 471 #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