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

Side by Side Diff: content/common/notification_type.h

Issue 7212029: Add a browser-test for the keyboard widget. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 5 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) 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 CONTENT_COMMON_NOTIFICATION_TYPE_H_ 5 #ifndef CONTENT_COMMON_NOTIFICATION_TYPE_H_
6 #define CONTENT_COMMON_NOTIFICATION_TYPE_H_ 6 #define CONTENT_COMMON_NOTIFICATION_TYPE_H_
7 #pragma once 7 #pragma once
8 8
9 // This file describes various types used to describe and filter notifications 9 // This file describes various types used to describe and filter notifications
10 // that pass through the NotificationService. 10 // that pass through the NotificationService.
(...skipping 1317 matching lines...) Expand 10 before | Expand all | Expand 10 after
1328 1328
1329 #if defined(OS_CHROMEOS) 1329 #if defined(OS_CHROMEOS)
1330 // Sent when WebSocketProxy started accepting connections. 1330 // Sent when WebSocketProxy started accepting connections.
1331 WEB_SOCKET_PROXY_STARTED, 1331 WEB_SOCKET_PROXY_STARTED,
1332 #endif 1332 #endif
1333 1333
1334 // Sent when a new web store promo has been loaded. 1334 // Sent when a new web store promo has been loaded.
1335 WEB_STORE_PROMO_LOADED, 1335 WEB_STORE_PROMO_LOADED,
1336 1336
1337 #if defined(TOUCH_UI) 1337 #if defined(TOUCH_UI)
1338 // Sent when the keyboard visibility has changed. Used for testing purposes
1339 // only. Source is the keyboard manager, and Details is a boolean indicating
1340 // whether the keyboard is visibile or not.
1341 KEYBOARD_VISIBILITY_CHANGED,
1342
1338 // Sent when an API for hiding the keyboard is invoked from JavaScript code. 1343 // Sent when an API for hiding the keyboard is invoked from JavaScript code.
1339 HIDE_KEYBOARD_INVOKED, 1344 HIDE_KEYBOARD_INVOKED,
1340 1345
1341 // Sent when an API for set height of the keyboard is invoked from 1346 // Sent when an API for set height of the keyboard is invoked from
1342 // JavaScript code. 1347 // JavaScript code.
1343 SET_KEYBOARD_HEIGHT_INVOKED, 1348 SET_KEYBOARD_HEIGHT_INVOKED,
1344 1349
1345 // Sent when an editable element is touched, such as text box, password 1350 // Sent when an editable element is touched, such as text box, password
1346 // field, and omnibox. 1351 // field, and omnibox.
1347 EDITABLE_ELEMENT_TOUCHED, 1352 EDITABLE_ELEMENT_TOUCHED,
(...skipping 23 matching lines...) Expand all
1371 }; 1376 };
1372 1377
1373 inline bool operator==(NotificationType::Type a, NotificationType b) { 1378 inline bool operator==(NotificationType::Type a, NotificationType b) {
1374 return a == b.value; 1379 return a == b.value;
1375 } 1380 }
1376 inline bool operator!=(NotificationType::Type a, NotificationType b) { 1381 inline bool operator!=(NotificationType::Type a, NotificationType b) {
1377 return a != b.value; 1382 return a != b.value;
1378 } 1383 }
1379 1384
1380 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_ 1385 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698