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

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

Issue 6277020: keyboard: Update the visibility after tab-switch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: build fix Created 9 years, 11 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/browser/ui/touch/frame/touch_browser_frame_view.cc ('k') | chrome/test/ui_test_utils.h » ('j') | 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 CHROME_COMMON_NOTIFICATION_TYPE_H_ 5 #ifndef CHROME_COMMON_NOTIFICATION_TYPE_H_
6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_ 6 #define CHROME_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 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 // is the ExtensionInstallUI, the details are NoDetails. 512 // is the ExtensionInstallUI, the details are NoDetails.
513 EXTENSION_WILL_SHOW_CONFIRM_DIALOG, 513 EXTENSION_WILL_SHOW_CONFIRM_DIALOG,
514 514
515 // Used to monitor web cache usage by notifying whenever the 515 // Used to monitor web cache usage by notifying whenever the
516 // CacheManagerHost observes new UsageStats. The source will be the 516 // CacheManagerHost observes new UsageStats. The source will be the
517 // RenderProcessHost that corresponds to the new statistics. Details are a 517 // RenderProcessHost that corresponds to the new statistics. Details are a
518 // UsageStats object sent by the renderer, and should be copied - ptr not 518 // UsageStats object sent by the renderer, and should be copied - ptr not
519 // guaranteed to be valid after the notification. 519 // guaranteed to be valid after the notification.
520 WEB_CACHE_STATS_OBSERVED, 520 WEB_CACHE_STATS_OBSERVED,
521 521
522 // The focused element inside a page has changed. The source is the render 522 // The focused element inside a page has changed. The source is the
523 // view host for the page. The details are a Details<const bool> that 523 // TabContents containing the render view host for the page. The details is
524 // indicates whether or not an editable node was focused. 524 // a Details<const bool> that indicates whether or not an editable node was
525 // focused.
525 FOCUS_CHANGED_IN_PAGE, 526 FOCUS_CHANGED_IN_PAGE,
526 527
527 // Notification posted from ExecuteJavascriptInWebFrameNotifyResult. The 528 // Notification posted from ExecuteJavascriptInWebFrameNotifyResult. The
528 // source is the RenderViewHost ExecuteJavascriptInWebFrameNotifyResult was 529 // source is the RenderViewHost ExecuteJavascriptInWebFrameNotifyResult was
529 // invoked on. The details are a std::pair<int, Value*> with the int giving 530 // invoked on. The details are a std::pair<int, Value*> with the int giving
530 // the id returned from ExecuteJavascriptInWebFrameNotifyResult and the 531 // the id returned from ExecuteJavascriptInWebFrameNotifyResult and the
531 // Value the results of the javascript expression. The Value is owned by 532 // Value the results of the javascript expression. The Value is owned by
532 // RenderViewHost and may be a Null Value. 533 // RenderViewHost and may be a Null Value.
533 EXECUTE_JAVASCRIPT_RESULT, 534 EXECUTE_JAVASCRIPT_RESULT,
534 535
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after
1328 }; 1329 };
1329 1330
1330 inline bool operator==(NotificationType::Type a, NotificationType b) { 1331 inline bool operator==(NotificationType::Type a, NotificationType b) {
1331 return a == b.value; 1332 return a == b.value;
1332 } 1333 }
1333 inline bool operator!=(NotificationType::Type a, NotificationType b) { 1334 inline bool operator!=(NotificationType::Type a, NotificationType b) {
1334 return a != b.value; 1335 return a != b.value;
1335 } 1336 }
1336 1337
1337 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ 1338 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/touch/frame/touch_browser_frame_view.cc ('k') | chrome/test/ui_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698