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

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

Issue 28100: Adds some debugging code in hopes of figuring out who is removing the... (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 | « chrome/browser/views/bookmark_bar_view.cc ('k') | 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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 #ifdef CHROME_PERSONALIZATION 256 #ifdef CHROME_PERSONALIZATION
257 virtual bool IsPersonalizationEnabled() const { 257 virtual bool IsPersonalizationEnabled() const {
258 return personalization_enabled_; 258 return personalization_enabled_;
259 } 259 }
260 260
261 void EnablePersonalization(bool enable_personalization) { 261 void EnablePersonalization(bool enable_personalization) {
262 personalization_enabled_ = enable_personalization; 262 personalization_enabled_ = enable_personalization;
263 } 263 }
264 #endif 264 #endif
265 265
266 bool is_removing_bookmark_bar() const { return is_removing_bookmark_bar_; }
267
266 protected: 268 protected:
267 // Overridden from views::View: 269 // Overridden from views::View:
268 virtual void Layout(); 270 virtual void Layout();
269 virtual void ViewHierarchyChanged(bool is_add, 271 virtual void ViewHierarchyChanged(bool is_add,
270 views::View* parent, 272 views::View* parent,
271 views::View* child); 273 views::View* child);
272 // As long as ShouldForwardToTabStrip returns true, drag and drop methods 274 // As long as ShouldForwardToTabStrip returns true, drag and drop methods
273 // are forwarded to the tab strip. 275 // are forwarded to the tab strip.
274 virtual bool CanDrop(const OSExchangeData& data); 276 virtual bool CanDrop(const OSExchangeData& data);
275 virtual void OnDragEntered(const views::DropTargetEvent& event); 277 virtual void OnDragEntered(const views::DropTargetEvent& event);
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 456
455 // The timer used to update frames for the Loading Animation. 457 // The timer used to update frames for the Loading Animation.
456 base::RepeatingTimer<BrowserView> loading_animation_timer_; 458 base::RepeatingTimer<BrowserView> loading_animation_timer_;
457 459
458 // P13N stuff 460 // P13N stuff
459 #ifdef CHROME_PERSONALIZATION 461 #ifdef CHROME_PERSONALIZATION
460 FramePersonalization personalization_; 462 FramePersonalization personalization_;
461 bool personalization_enabled_; 463 bool personalization_enabled_;
462 #endif 464 #endif
463 465
466 // For debugging 7857.
467 bool is_removing_bookmark_bar_;
468
464 DISALLOW_COPY_AND_ASSIGN(BrowserView); 469 DISALLOW_COPY_AND_ASSIGN(BrowserView);
465 }; 470 };
466 471
467 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ 472 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/bookmark_bar_view.cc ('k') | chrome/browser/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698