| OLD | NEW | 
|    1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 2012 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_UI_VIEWS_PANELS_PANEL_VIEW_H_ |    5 #ifndef CHROME_BROWSER_UI_VIEWS_PANELS_PANEL_VIEW_H_ | 
|    6 #define CHROME_BROWSER_UI_VIEWS_PANELS_PANEL_VIEW_H_ |    6 #define CHROME_BROWSER_UI_VIEWS_PANELS_PANEL_VIEW_H_ | 
|    7  |    7  | 
|    8 #include "base/memory/scoped_ptr.h" |    8 #include "base/memory/scoped_ptr.h" | 
|    9 #include "chrome/browser/ui/panels/native_panel.h" |    9 #include "chrome/browser/ui/panels/native_panel.h" | 
|   10 #include "ui/gfx/animation/animation_delegate.h" |   10 #include "ui/gfx/animation/animation_delegate.h" | 
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  136   bool AcceleratorPressed(const ui::Accelerator& accelerator) override; |  136   bool AcceleratorPressed(const ui::Accelerator& accelerator) override; | 
|  137  |  137  | 
|  138   // Overridden from views::WidgetObserver: |  138   // Overridden from views::WidgetObserver: | 
|  139   void OnWidgetDestroying(views::Widget* widget) override; |  139   void OnWidgetDestroying(views::Widget* widget) override; | 
|  140   void OnWidgetActivationChanged(views::Widget* widget, bool active) override; |  140   void OnWidgetActivationChanged(views::Widget* widget, bool active) override; | 
|  141   void OnWidgetBoundsChanged(views::Widget* widget, |  141   void OnWidgetBoundsChanged(views::Widget* widget, | 
|  142                              const gfx::Rect& new_bounds) override; |  142                              const gfx::Rect& new_bounds) override; | 
|  143  |  143  | 
|  144   // Overridden from ui::HWNDMessageFilter: |  144   // Overridden from ui::HWNDMessageFilter: | 
|  145 #if defined(OS_WIN) |  145 #if defined(OS_WIN) | 
|  146   virtual bool FilterMessage(HWND hwnd, |  146   bool FilterMessage(HWND hwnd, | 
|  147                              UINT message, |  147                      UINT message, | 
|  148                              WPARAM w_param, |  148                      WPARAM w_param, | 
|  149                              LPARAM l_param, |  149                      LPARAM l_param, | 
|  150                              LRESULT* l_result) override; |  150                      LRESULT* l_result) override; | 
|  151 #endif |  151 #endif | 
|  152  |  152  | 
|  153   // Overridden from AnimationDelegate: |  153   // Overridden from AnimationDelegate: | 
|  154   void AnimationEnded(const gfx::Animation* animation) override; |  154   void AnimationEnded(const gfx::Animation* animation) override; | 
|  155   void AnimationProgressed(const gfx::Animation* animation) override; |  155   void AnimationProgressed(const gfx::Animation* animation) override; | 
|  156  |  156  | 
|  157   void UpdateLoadingAnimations(bool should_animate); |  157   void UpdateLoadingAnimations(bool should_animate); | 
|  158   void UpdateWindowTitle(); |  158   void UpdateWindowTitle(); | 
|  159   void UpdateWindowIcon(); |  159   void UpdateWindowIcon(); | 
|  160   void SetBoundsInternal(const gfx::Rect& bounds, bool animate); |  160   void SetBoundsInternal(const gfx::Rect& bounds, bool animate); | 
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  242  |  242  | 
|  243 #if defined(OS_WIN) |  243 #if defined(OS_WIN) | 
|  244   // Used to provide custom taskbar thumbnail for Windows 7 and later. |  244   // Used to provide custom taskbar thumbnail for Windows 7 and later. | 
|  245   scoped_ptr<TaskbarWindowThumbnailerWin> thumbnailer_; |  245   scoped_ptr<TaskbarWindowThumbnailerWin> thumbnailer_; | 
|  246 #endif |  246 #endif | 
|  247  |  247  | 
|  248   DISALLOW_COPY_AND_ASSIGN(PanelView); |  248   DISALLOW_COPY_AND_ASSIGN(PanelView); | 
|  249 }; |  249 }; | 
|  250  |  250  | 
|  251 #endif  // CHROME_BROWSER_UI_VIEWS_PANELS_PANEL_VIEW_H_ |  251 #endif  // CHROME_BROWSER_UI_VIEWS_PANELS_PANEL_VIEW_H_ | 
| OLD | NEW |