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

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

Issue 15599002: Fix Ash on Windows multi-monitor support and snap-view sizing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup. Created 7 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 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 UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ 5 #ifndef UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_
6 #define UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ 6 #define UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 void OnTouchUp(int32 x, int32 y, uint64 timestamp, uint32 pointer_id); 141 void OnTouchUp(int32 x, int32 y, uint64 timestamp, uint32 pointer_id);
142 void OnTouchMoved(int32 x, int32 y, uint64 timestamp, uint32 pointer_id); 142 void OnTouchMoved(int32 x, int32 y, uint64 timestamp, uint32 pointer_id);
143 void OnFileSaveAsDone(bool success, 143 void OnFileSaveAsDone(bool success,
144 const base::FilePath& filename, 144 const base::FilePath& filename,
145 int filter_index); 145 int filter_index);
146 void OnFileOpenDone(bool success, const base::FilePath& filename); 146 void OnFileOpenDone(bool success, const base::FilePath& filename);
147 void OnMultiFileOpenDone(bool success, 147 void OnMultiFileOpenDone(bool success,
148 const std::vector<base::FilePath>& files); 148 const std::vector<base::FilePath>& files);
149 void OnSelectFolderDone(bool success, const base::FilePath& folder); 149 void OnSelectFolderDone(bool success, const base::FilePath& folder);
150 void OnWindowActivated(bool active); 150 void OnWindowActivated(bool active);
151 void OnWindowSizeChanged(int32 width, int32 height);
151 // RootWindowHost overrides: 152 // RootWindowHost overrides:
152 virtual void SetDelegate(RootWindowHostDelegate* delegate) OVERRIDE; 153 virtual void SetDelegate(RootWindowHostDelegate* delegate) OVERRIDE;
153 virtual RootWindow* GetRootWindow() OVERRIDE; 154 virtual RootWindow* GetRootWindow() OVERRIDE;
154 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; 155 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
155 virtual void Show() OVERRIDE; 156 virtual void Show() OVERRIDE;
156 virtual void Hide() OVERRIDE; 157 virtual void Hide() OVERRIDE;
157 virtual void ToggleFullScreen() OVERRIDE; 158 virtual void ToggleFullScreen() OVERRIDE;
158 virtual gfx::Rect GetBounds() const OVERRIDE; 159 virtual gfx::Rect GetBounds() const OVERRIDE;
159 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 160 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
160 virtual gfx::Insets GetInsets() const OVERRIDE; 161 virtual gfx::Insets GetInsets() const OVERRIDE;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 OpenMultipleFilesCompletion multi_file_open_completion_callback_; 199 OpenMultipleFilesCompletion multi_file_open_completion_callback_;
199 SaveFileCompletion file_saveas_completion_callback_; 200 SaveFileCompletion file_saveas_completion_callback_;
200 SelectFolderCompletion select_folder_completion_callback_; 201 SelectFolderCompletion select_folder_completion_callback_;
201 202
202 DISALLOW_COPY_AND_ASSIGN(RemoteRootWindowHostWin); 203 DISALLOW_COPY_AND_ASSIGN(RemoteRootWindowHostWin);
203 }; 204 };
204 205
205 } // namespace aura 206 } // namespace aura
206 207
207 #endif // UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ 208 #endif // UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | ui/aura/remote_root_window_host_win.cc » ('j') | win8/metro_driver/chrome_app_view_ash.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698