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

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

Issue 8618001: Get rid of the EnableClose() infrastructure in Widget. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 | « no previous file | chrome/browser/chromeos/frame/bubble_frame_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) 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/window/non_client_view.h" 10 #include "ui/views/window/non_client_view.h"
(...skipping 25 matching lines...) Expand all
36 DialogStyle style); 36 DialogStyle style);
37 virtual ~BubbleFrameView(); 37 virtual ~BubbleFrameView();
38 38
39 // Overridden from views::NonClientFrameView: 39 // Overridden from views::NonClientFrameView:
40 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; 40 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE;
41 virtual gfx::Rect GetWindowBoundsForClientBounds( 41 virtual gfx::Rect GetWindowBoundsForClientBounds(
42 const gfx::Rect& client_bounds) const OVERRIDE; 42 const gfx::Rect& client_bounds) const OVERRIDE;
43 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; 43 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE;
44 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) 44 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask)
45 OVERRIDE; 45 OVERRIDE;
46 virtual void EnableClose(bool enable) OVERRIDE;
47 virtual void ResetWindowControls() OVERRIDE; 46 virtual void ResetWindowControls() OVERRIDE;
48 virtual void UpdateWindowIcon() OVERRIDE; 47 virtual void UpdateWindowIcon() OVERRIDE;
49 48
50 // View overrides: 49 // View overrides:
51 virtual gfx::Insets GetInsets() const OVERRIDE; 50 virtual gfx::Insets GetInsets() const OVERRIDE;
52 virtual gfx::Size GetPreferredSize() OVERRIDE; 51 virtual gfx::Size GetPreferredSize() OVERRIDE;
53 virtual void Layout() OVERRIDE; 52 virtual void Layout() OVERRIDE;
54 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 53 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
55 54
56 // Overridden from views::ButtonListener: 55 // Overridden from views::ButtonListener:
(...skipping 21 matching lines...) Expand all
78 77
79 // Throbber is optional. Employed by STYLE_THROBBER. 78 // Throbber is optional. Employed by STYLE_THROBBER.
80 views::Throbber* throbber_; 79 views::Throbber* throbber_;
81 80
82 DISALLOW_COPY_AND_ASSIGN(BubbleFrameView); 81 DISALLOW_COPY_AND_ASSIGN(BubbleFrameView);
83 }; 82 };
84 83
85 } // namespace chromeos 84 } // namespace chromeos
86 85
87 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BUBBLE_FRAME_VIEW_H_ 86 #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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698