diff options
Diffstat (limited to 'chrome/browser/chromeos/frame')
-rw-r--r-- | chrome/browser/chromeos/frame/browser_frame_chromeos.cc | 2 | ||||
-rw-r--r-- | chrome/browser/chromeos/frame/bubble_frame_view.cc | 3 | ||||
-rw-r--r-- | chrome/browser/chromeos/frame/bubble_frame_view.h | 26 |
3 files changed, 18 insertions, 13 deletions
diff --git a/chrome/browser/chromeos/frame/browser_frame_chromeos.cc b/chrome/browser/chromeos/frame/browser_frame_chromeos.cc index b32d5fb..2224068 100644 --- a/chrome/browser/chromeos/frame/browser_frame_chromeos.cc +++ b/chrome/browser/chromeos/frame/browser_frame_chromeos.cc @@ -38,7 +38,7 @@ void BrowserFrameChromeos::InitBrowserFrame() { if (!browser_view()->IsBrowserTypePopup()) { // On chromeos we want windows to always render as active. - non_client_view()->DisableInactiveRendering(true); + DisableInactiveRendering(); } } diff --git a/chrome/browser/chromeos/frame/bubble_frame_view.cc b/chrome/browser/chromeos/frame/bubble_frame_view.cc index d49d001..37acb39 100644 --- a/chrome/browser/chromeos/frame/bubble_frame_view.cc +++ b/chrome/browser/chromeos/frame/bubble_frame_view.cc @@ -137,6 +137,9 @@ void BubbleFrameView::EnableClose(bool enable) { void BubbleFrameView::ResetWindowControls() { } +void BubbleFrameView::UpdateWindowIcon() { +} + gfx::Insets BubbleFrameView::GetInsets() const { gfx::Insets border_insets; border()->GetInsets(&border_insets); diff --git a/chrome/browser/chromeos/frame/bubble_frame_view.h b/chrome/browser/chromeos/frame/bubble_frame_view.h index 1c017f3..1aa72d5 100644 --- a/chrome/browser/chromeos/frame/bubble_frame_view.h +++ b/chrome/browser/chromeos/frame/bubble_frame_view.h @@ -34,23 +34,25 @@ class BubbleFrameView : public views::NonClientFrameView, virtual ~BubbleFrameView(); // Overridden from views::NonClientFrameView: - virtual gfx::Rect GetBoundsForClientView() const; + virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; virtual gfx::Rect GetWindowBoundsForClientBounds( - const gfx::Rect& client_bounds) const; - virtual int NonClientHitTest(const gfx::Point& point); - virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask); - virtual void EnableClose(bool enable); - virtual void ResetWindowControls(); + const gfx::Rect& client_bounds) const OVERRIDE; + virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; + virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) + OVERRIDE; + virtual void EnableClose(bool enable) OVERRIDE; + virtual void ResetWindowControls() OVERRIDE; + virtual void UpdateWindowIcon() OVERRIDE; // View overrides: - virtual gfx::Insets GetInsets() const; - virtual gfx::Size GetPreferredSize(); - virtual void Layout(); - virtual void OnPaint(gfx::Canvas* canvas); + virtual gfx::Insets GetInsets() const OVERRIDE; + virtual gfx::Size GetPreferredSize() OVERRIDE; + virtual void Layout() OVERRIDE; + virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; // Overridden from views::ButtonListener: - virtual void ButtonPressed(views::Button* sender, - const views::Event& event); + virtual void ButtonPressed(views::Button* sender, const views::Event& event) + OVERRIDE; void StartThrobber(); void StopThrobber(); |