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

Unified Diff: chrome/browser/ui/views/frame/browser_frame_win.h

Issue 10388156: Adding the flip windows button to the browser window (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/browser_frame_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_frame_win.h
===================================================================
--- chrome/browser/ui/views/frame/browser_frame_win.h (revision 137335)
+++ chrome/browser/ui/views/frame/browser_frame_win.h (working copy)
@@ -10,6 +10,7 @@
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/views/frame/browser_frame.h"
#include "chrome/browser/ui/views/frame/native_browser_frame.h"
+#include "ui/views/controls/button/image_button.h"
#include "ui/views/widget/native_widget_win.h"
class BrowserView;
@@ -29,7 +30,8 @@
// for the Chrome browser window.
//
class BrowserFrameWin : public views::NativeWidgetWin,
- public NativeBrowserFrame {
+ public NativeBrowserFrame,
+ public views::ButtonListener {
public:
BrowserFrameWin(BrowserFrame* browser_frame, BrowserView* browser_view);
virtual ~BrowserFrameWin();
@@ -66,6 +68,10 @@
virtual int GetMinimizeButtonOffset() const OVERRIDE;
virtual void TabStripDisplayModeChanged() OVERRIDE;
+ // Overriden from views::ImageButton override:
+ virtual void ButtonPressed(views::Button* sender,
+ const views::Event& event) OVERRIDE;
+
// Overridden from WindowImpl:
virtual LRESULT OnWndProc(UINT message,
WPARAM w_param,
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/browser_frame_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698