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

Side by Side Diff: views/window/window_gtk.h

Issue 3060045: Making window.focus() work in Chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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
« no previous file with comments | « views/window/window.h ('k') | views/window/window_gtk.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 VIEWS_WINDOW_WINDOW_GTK_H_ 5 #ifndef VIEWS_WINDOW_WINDOW_GTK_H_
6 #define VIEWS_WINDOW_WINDOW_GTK_H_ 6 #define VIEWS_WINDOW_WINDOW_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "views/widget/widget_gtk.h" 10 #include "views/widget/widget_gtk.h"
(...skipping 15 matching lines...) Expand all
26 virtual ~WindowGtk(); 26 virtual ~WindowGtk();
27 27
28 // Overridden from Window: 28 // Overridden from Window:
29 virtual gfx::Rect GetBounds() const; 29 virtual gfx::Rect GetBounds() const;
30 virtual gfx::Rect GetNormalBounds() const; 30 virtual gfx::Rect GetNormalBounds() const;
31 virtual void SetBounds(const gfx::Rect& bounds, 31 virtual void SetBounds(const gfx::Rect& bounds,
32 gfx::NativeWindow other_window); 32 gfx::NativeWindow other_window);
33 virtual void Show(); 33 virtual void Show();
34 virtual void HideWindow(); 34 virtual void HideWindow();
35 virtual void Activate(); 35 virtual void Activate();
36 virtual void Deactivate();
36 virtual void Close(); 37 virtual void Close();
37 virtual void Maximize(); 38 virtual void Maximize();
38 virtual void Minimize(); 39 virtual void Minimize();
39 virtual void Restore(); 40 virtual void Restore();
40 virtual bool IsActive() const; 41 virtual bool IsActive() const;
41 virtual bool IsVisible() const; 42 virtual bool IsVisible() const;
42 virtual bool IsMaximized() const; 43 virtual bool IsMaximized() const;
43 virtual bool IsMinimized() const; 44 virtual bool IsMinimized() const;
44 virtual void SetFullscreen(bool fullscreen); 45 virtual void SetFullscreen(bool fullscreen);
45 virtual bool IsFullscreen() const; 46 virtual bool IsFullscreen() const;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 117
117 // Set to true if the window is in the process of closing. 118 // Set to true if the window is in the process of closing.
118 bool window_closed_; 119 bool window_closed_;
119 120
120 DISALLOW_COPY_AND_ASSIGN(WindowGtk); 121 DISALLOW_COPY_AND_ASSIGN(WindowGtk);
121 }; 122 };
122 123
123 } // namespace views 124 } // namespace views
124 125
125 #endif // VIEWS_WINDOW_WINDOW_GTK_H_ 126 #endif // VIEWS_WINDOW_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « views/window/window.h ('k') | views/window/window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698