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

Side by Side Diff: chrome/browser/chromeos/frame/bubble_frame_view.h

Issue 8869005: Revert EnableClose() removal and related crash fixes. I don't understand the crashes here, and th... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_CHROMEOS_FRAME_BUBBLE_FRAME_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_FRAME_BUBBLE_FRAME_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_FRAME_BUBBLE_FRAME_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_FRAME_BUBBLE_FRAME_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/chromeos/frame/bubble_window.h" 9 #include "chrome/browser/chromeos/frame/bubble_window.h"
10 #include "ui/views/controls/button/button.h" 10 #include "ui/views/controls/button/button.h"
(...skipping 24 matching lines...) Expand all
35 DialogStyle style); 35 DialogStyle style);
36 virtual ~BubbleFrameView(); 36 virtual ~BubbleFrameView();
37 37
38 // Overridden from views::NonClientFrameView: 38 // Overridden from views::NonClientFrameView:
39 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; 39 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE;
40 virtual gfx::Rect GetWindowBoundsForClientBounds( 40 virtual gfx::Rect GetWindowBoundsForClientBounds(
41 const gfx::Rect& client_bounds) const OVERRIDE; 41 const gfx::Rect& client_bounds) const OVERRIDE;
42 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; 42 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE;
43 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) 43 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask)
44 OVERRIDE; 44 OVERRIDE;
45 virtual void EnableClose(bool enable) OVERRIDE;
45 virtual void ResetWindowControls() OVERRIDE; 46 virtual void ResetWindowControls() OVERRIDE;
46 virtual void UpdateWindowIcon() OVERRIDE; 47 virtual void UpdateWindowIcon() OVERRIDE;
47 48
48 // View overrides: 49 // View overrides:
49 virtual gfx::Insets GetInsets() const OVERRIDE; 50 virtual gfx::Insets GetInsets() const OVERRIDE;
50 virtual gfx::Size GetPreferredSize() OVERRIDE; 51 virtual gfx::Size GetPreferredSize() OVERRIDE;
51 virtual void Layout() OVERRIDE; 52 virtual void Layout() OVERRIDE;
52 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 53 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
53 54
54 // Overridden from views::ButtonListener: 55 // Overridden from views::ButtonListener:
(...skipping 18 matching lines...) Expand all
73 74
74 // Throbber is optional. Employed by STYLE_THROBBER. 75 // Throbber is optional. Employed by STYLE_THROBBER.
75 views::Throbber* throbber_; 76 views::Throbber* throbber_;
76 77
77 DISALLOW_COPY_AND_ASSIGN(BubbleFrameView); 78 DISALLOW_COPY_AND_ASSIGN(BubbleFrameView);
78 }; 79 };
79 80
80 } // namespace chromeos 81 } // namespace chromeos
81 82
82 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BUBBLE_FRAME_VIEW_H_ 83 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BUBBLE_FRAME_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/frame/bubble_frame_view.cc » ('j') | content/browser/gamepad/data_fetcher_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698