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

Side by Side Diff: ui/aura/window.h

Issue 8417008: aura: Add fullscreen/popups to RenderWidgetHostViewAura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: avoid emulating WM_CHAR events for many keys Created 9 years, 1 month 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) 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 UI_AURA_WINDOW_H_ 5 #ifndef UI_AURA_WINDOW_H_
6 #define UI_AURA_WINDOW_H_ 6 #define UI_AURA_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 // Go into fullscreen mode. 97 // Go into fullscreen mode.
98 void Fullscreen(); 98 void Fullscreen();
99 99
100 // Restore the window to its original bounds. 100 // Restore the window to its original bounds.
101 void Restore(); 101 void Restore();
102 102
103 // Returns the window's bounds in screen coordinates. 103 // Returns the window's bounds in screen coordinates.
104 gfx::Rect GetScreenBounds() const; 104 gfx::Rect GetScreenBounds() const;
105 105
106 // Translates |local_point|, relative to the window's bounds, to screen
107 // coordinates. Doesn't take the current transformation into account.
108 gfx::Point GetPointInScreenCoordinates(const gfx::Point& local_point);
109
106 // Returns the window's show state. 110 // Returns the window's show state.
107 ui::WindowShowState show_state() const { return show_state_; } 111 ui::WindowShowState show_state() const { return show_state_; }
108 112
109 // Activates this window. Only top level windows can be activated. Requests 113 // Activates this window. Only top level windows can be activated. Requests
110 // to activate a non-top level window are ignored. 114 // to activate a non-top level window are ignored.
111 void Activate(); 115 void Activate();
112 116
113 // Deactivates this window. Only top level windows can be 117 // Deactivates this window. Only top level windows can be
114 // deactivated. Requests to deactivate a non-top level window are ignored. 118 // deactivated. Requests to deactivate a non-top level window are ignored.
115 void Deactivate(); 119 void Deactivate();
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 // TODO(oshima): Consolidcate ViewProp and aura::window property 359 // TODO(oshima): Consolidcate ViewProp and aura::window property
356 // implementation. 360 // implementation.
357 std::map<const char*, ui::ViewProp*> prop_map_; 361 std::map<const char*, ui::ViewProp*> prop_map_;
358 362
359 DISALLOW_COPY_AND_ASSIGN(Window); 363 DISALLOW_COPY_AND_ASSIGN(Window);
360 }; 364 };
361 365
362 } // namespace aura 366 } // namespace aura
363 367
364 #endif // UI_AURA_WINDOW_H_ 368 #endif // UI_AURA_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698