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

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

Issue 7129022: Move last of event handlers down to NativeWidgetWin/Gtk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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
« no previous file with comments | « no previous file | views/widget/native_widget.h » ('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_UI_VIEWS_FRAME_BROWSER_FRAME_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_GTK_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_GTK_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "chrome/browser/ui/views/frame/browser_frame.h" 10 #include "chrome/browser/ui/views/frame/browser_frame.h"
(...skipping 13 matching lines...) Expand all
24 24
25 protected: 25 protected:
26 // Overridden from NativeBrowserFrame: 26 // Overridden from NativeBrowserFrame:
27 virtual views::NativeWindow* AsNativeWindow() OVERRIDE; 27 virtual views::NativeWindow* AsNativeWindow() OVERRIDE;
28 virtual const views::NativeWindow* AsNativeWindow() const OVERRIDE; 28 virtual const views::NativeWindow* AsNativeWindow() const OVERRIDE;
29 virtual int GetMinimizeButtonOffset() const OVERRIDE; 29 virtual int GetMinimizeButtonOffset() const OVERRIDE;
30 virtual void TabStripDisplayModeChanged() OVERRIDE; 30 virtual void TabStripDisplayModeChanged() OVERRIDE;
31 31
32 // Overridden from views::NativeWindowGtk: 32 // Overridden from views::NativeWindowGtk:
33 virtual gboolean OnWindowStateEvent(GtkWidget* widget, 33 virtual gboolean OnWindowStateEvent(GtkWidget* widget,
34 GdkEventWindowState* event); 34 GdkEventWindowState* event) OVERRIDE;
35 virtual gboolean OnConfigureEvent(GtkWidget* widget, 35 virtual gboolean OnConfigureEvent(GtkWidget* widget,
36 GdkEventConfigure* event); 36 GdkEventConfigure* event) OVERRIDE;
37 37
38 private: 38 private:
39 NativeBrowserFrameDelegate* delegate_; 39 NativeBrowserFrameDelegate* delegate_;
40 40
41 // The BrowserView is our ClientView. This is a pointer to it. 41 // The BrowserView is our ClientView. This is a pointer to it.
42 BrowserView* browser_view_; 42 BrowserView* browser_view_;
43 43
44 DISALLOW_COPY_AND_ASSIGN(BrowserFrameGtk); 44 DISALLOW_COPY_AND_ASSIGN(BrowserFrameGtk);
45 }; 45 };
46 46
47 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_GTK_H_ 47 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_GTK_H_
OLDNEW
« no previous file with comments | « no previous file | views/widget/native_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698