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

Side by Side Diff: chrome/browser/ui/views/frame/browser_frame_win.h

Issue 10827271: Replace views::Event with ui::Event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_FRAME_BROWSER_FRAME_WIN_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_WIN_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_WIN_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_WIN_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/ui/views/frame/browser_frame.h" 10 #include "chrome/browser/ui/views/frame/browser_frame.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 // Overridden from NativeBrowserFrame: 65 // Overridden from NativeBrowserFrame:
66 virtual views::NativeWidget* AsNativeWidget() OVERRIDE; 66 virtual views::NativeWidget* AsNativeWidget() OVERRIDE;
67 virtual const views::NativeWidget* AsNativeWidget() const OVERRIDE; 67 virtual const views::NativeWidget* AsNativeWidget() const OVERRIDE;
68 virtual void InitSystemContextMenu() OVERRIDE; 68 virtual void InitSystemContextMenu() OVERRIDE;
69 virtual int GetMinimizeButtonOffset() const OVERRIDE; 69 virtual int GetMinimizeButtonOffset() const OVERRIDE;
70 virtual void TabStripDisplayModeChanged() OVERRIDE; 70 virtual void TabStripDisplayModeChanged() OVERRIDE;
71 71
72 // Overriden from views::ImageButton override: 72 // Overriden from views::ImageButton override:
73 virtual void ButtonPressed(views::Button* sender, 73 virtual void ButtonPressed(views::Button* sender,
74 const views::Event& event) OVERRIDE; 74 const ui::Event& event) OVERRIDE;
75 75
76 // Overridden from WindowImpl: 76 // Overridden from WindowImpl:
77 virtual LRESULT OnWndProc(UINT message, 77 virtual LRESULT OnWndProc(UINT message,
78 WPARAM w_param, 78 WPARAM w_param,
79 LPARAM l_param) OVERRIDE; 79 LPARAM l_param) OVERRIDE;
80 80
81 private: 81 private:
82 // Updates the DWM with the frame bounds. 82 // Updates the DWM with the frame bounds.
83 void UpdateDWMFrame(); 83 void UpdateDWMFrame();
84 84
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 // The wrapped system menu itself. 120 // The wrapped system menu itself.
121 scoped_ptr<views::NativeMenuWin> system_menu_; 121 scoped_ptr<views::NativeMenuWin> system_menu_;
122 122
123 // See CacheMinimizeButtonDelta() for details about this member. 123 // See CacheMinimizeButtonDelta() for details about this member.
124 int cached_minimize_button_x_delta_; 124 int cached_minimize_button_x_delta_;
125 125
126 DISALLOW_COPY_AND_ASSIGN(BrowserFrameWin); 126 DISALLOW_COPY_AND_ASSIGN(BrowserFrameWin);
127 }; 127 };
128 128
129 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_WIN_H_ 129 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc ('k') | chrome/browser/ui/views/frame/browser_frame_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698