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

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

Issue 7058046: Adjust virtual keyboard size base on input method candidates. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebase on trunk Created 9 years, 6 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 | « chrome/common/extensions/api/extension_api.json ('k') | no next file » | 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) 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 1291 matching lines...) Expand 10 before | Expand all | Expand 10 after
1302 // Sent when WebSocketProxy started accepting connections. 1302 // Sent when WebSocketProxy started accepting connections.
1303 WEB_SOCKET_PROXY_STARTED, 1303 WEB_SOCKET_PROXY_STARTED,
1304 #endif 1304 #endif
1305 1305
1306 // Sent when a new web store promo has been loaded. 1306 // Sent when a new web store promo has been loaded.
1307 WEB_STORE_PROMO_LOADED, 1307 WEB_STORE_PROMO_LOADED,
1308 1308
1309 #if defined(TOUCH_UI) 1309 #if defined(TOUCH_UI)
1310 // Sent when an API for hiding the keyboard is invoked from JavaScript code. 1310 // Sent when an API for hiding the keyboard is invoked from JavaScript code.
1311 HIDE_KEYBOARD_INVOKED, 1311 HIDE_KEYBOARD_INVOKED,
1312
1313 // Sent when an API for set height of the keyboard is invoked from
1314 // JavaScript code.
1315 SET_KEYBOARD_HEIGHT_INVOKED,
1312 #endif 1316 #endif
1313 1317
1314 // Protocol Handler Registry ----------------------------------------------- 1318 // Protocol Handler Registry -----------------------------------------------
1315 // Sent when a ProtocolHandlerRegistry is changed. 1319 // Sent when a ProtocolHandlerRegistry is changed.
1316 PROTOCOL_HANDLER_REGISTRY_CHANGED, 1320 PROTOCOL_HANDLER_REGISTRY_CHANGED,
1317 1321
1318 // Count (must be last) ---------------------------------------------------- 1322 // Count (must be last) ----------------------------------------------------
1319 // Used to determine the number of notification types. Not valid as 1323 // Used to determine the number of notification types. Not valid as
1320 // a type parameter when registering for or posting notifications. 1324 // a type parameter when registering for or posting notifications.
1321 NOTIFICATION_TYPE_COUNT 1325 NOTIFICATION_TYPE_COUNT
(...skipping 13 matching lines...) Expand all
1335 }; 1339 };
1336 1340
1337 inline bool operator==(NotificationType::Type a, NotificationType b) { 1341 inline bool operator==(NotificationType::Type a, NotificationType b) {
1338 return a == b.value; 1342 return a == b.value;
1339 } 1343 }
1340 inline bool operator!=(NotificationType::Type a, NotificationType b) { 1344 inline bool operator!=(NotificationType::Type a, NotificationType b) {
1341 return a != b.value; 1345 return a != b.value;
1342 } 1346 }
1343 1347
1344 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_ 1348 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/extension_api.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698