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

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

Issue 41010: Fixes crash in ResizeCorner. ResizeCorner was caching the BrowserView... (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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 #ifdef CHROME_PERSONALIZATION 255 #ifdef CHROME_PERSONALIZATION
256 virtual bool IsPersonalizationEnabled() const { 256 virtual bool IsPersonalizationEnabled() const {
257 return personalization_enabled_; 257 return personalization_enabled_;
258 } 258 }
259 259
260 void EnablePersonalization(bool enable_personalization) { 260 void EnablePersonalization(bool enable_personalization) {
261 personalization_enabled_ = enable_personalization; 261 personalization_enabled_ = enable_personalization;
262 } 262 }
263 #endif 263 #endif
264 264
265 virtual std::string GetClassName() const;
266
265 protected: 267 protected:
266 // Overridden from views::View: 268 // Overridden from views::View:
267 virtual void Layout(); 269 virtual void Layout();
268 virtual void ViewHierarchyChanged(bool is_add, 270 virtual void ViewHierarchyChanged(bool is_add,
269 views::View* parent, 271 views::View* parent,
270 views::View* child); 272 views::View* child);
271 // As long as ShouldForwardToTabStrip returns true, drag and drop methods 273 // As long as ShouldForwardToTabStrip returns true, drag and drop methods
272 // are forwarded to the tab strip. 274 // are forwarded to the tab strip.
273 virtual bool CanDrop(const OSExchangeData& data); 275 virtual bool CanDrop(const OSExchangeData& data);
274 virtual void OnDragEntered(const views::DropTargetEvent& event); 276 virtual void OnDragEntered(const views::DropTargetEvent& event);
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 // P13N stuff 462 // P13N stuff
461 #ifdef CHROME_PERSONALIZATION 463 #ifdef CHROME_PERSONALIZATION
462 FramePersonalization personalization_; 464 FramePersonalization personalization_;
463 bool personalization_enabled_; 465 bool personalization_enabled_;
464 #endif 466 #endif
465 467
466 DISALLOW_COPY_AND_ASSIGN(BrowserView); 468 DISALLOW_COPY_AND_ASSIGN(BrowserView);
467 }; 469 };
468 470
469 #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