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

Side by Side Diff: ash/display/display_util.h

Issue 2490323003: Improve monitor compatibility error, move feedback link into button (Closed)
Patch Set: Fix vector icons (2nd try) Created 4 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 ASH_DISPLAY_DISPLAY_UTIL_H_ 5 #ifndef ASH_DISPLAY_DISPLAY_UTIL_H_
6 #define ASH_DISPLAY_DISPLAY_UTIL_H_ 6 #define ASH_DISPLAY_DISPLAY_UTIL_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 // Moves the cursor to the point inside the |ash_host| that is closest to 43 // Moves the cursor to the point inside the |ash_host| that is closest to
44 // the point_in_screen, which may be outside of the root window. 44 // the point_in_screen, which may be outside of the root window.
45 // |update_last_loation_now| is used for the test to update the mouse 45 // |update_last_loation_now| is used for the test to update the mouse
46 // location synchronously. 46 // location synchronously.
47 void MoveCursorTo(AshWindowTreeHost* ash_host, 47 void MoveCursorTo(AshWindowTreeHost* ash_host,
48 const gfx::Point& point_in_screen, 48 const gfx::Point& point_in_screen,
49 bool update_last_location_now); 49 bool update_last_location_now);
50 50
51 #if defined(OS_CHROMEOS) 51 #if defined(OS_CHROMEOS)
52 // Shows the notification message for display related issues. 52 // Shows the notification message for display related issues, and optionally
53 void ShowDisplayErrorNotification(int message_id); 53 // adds a button to send a feedback report.
54 void ShowDisplayErrorNotification(base::string16& message, bool allow_feedback);
54 #endif 55 #endif
55 56
56 ASH_EXPORT base::string16 GetDisplayErrorNotificationMessageForTest(); 57 ASH_EXPORT base::string16 GetDisplayErrorNotificationMessageForTest();
57 58
58 } // namespace ash 59 } // namespace ash
59 60
60 #endif // ASH_DISPLAY_DISPLAY_UTIL_H_ 61 #endif // ASH_DISPLAY_DISPLAY_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698