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

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

Issue 4924001: JavaScript to Value bridge. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix documentation. Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 503
504 // The focused element inside a page has changed. The source is the render 504 // The focused element inside a page has changed. The source is the render
505 // view host for the page, there are no details. 505 // view host for the page, there are no details.
506 FOCUS_CHANGED_IN_PAGE, 506 FOCUS_CHANGED_IN_PAGE,
507 507
508 // Notification posted from ExecuteJavascriptInWebFrameNotifyResult. The 508 // Notification posted from ExecuteJavascriptInWebFrameNotifyResult. The
509 // source is the RenderViewHost ExecuteJavascriptInWebFrameNotifyResult was 509 // source is the RenderViewHost ExecuteJavascriptInWebFrameNotifyResult was
510 // invoked on. The details are a std::pair<int, Value*> with the int giving 510 // invoked on. The details are a std::pair<int, Value*> with the int giving
511 // the id returned from ExecuteJavascriptInWebFrameNotifyResult and the 511 // the id returned from ExecuteJavascriptInWebFrameNotifyResult and the
512 // Value the results of the javascript expression. The Value is owned by 512 // Value the results of the javascript expression. The Value is owned by
513 // RenderViewHost. 513 // RenderViewHost and may be a Null Value.
514 EXECUTE_JAVASCRIPT_RESULT, 514 EXECUTE_JAVASCRIPT_RESULT,
515 515
516 // BackgroundContents ------------------------------------------------------ 516 // BackgroundContents ------------------------------------------------------
517 517
518 // A new background contents was opened by script. The source is the parent 518 // A new background contents was opened by script. The source is the parent
519 // profile and the details are BackgroundContentsOpenedDetails. 519 // profile and the details are BackgroundContentsOpenedDetails.
520 BACKGROUND_CONTENTS_OPENED, 520 BACKGROUND_CONTENTS_OPENED,
521 521
522 // The background contents navigated to a new location. The source is the 522 // The background contents navigated to a new location. The source is the
523 // parent Profile, and the details are the BackgroundContents that was 523 // parent Profile, and the details are the BackgroundContents that was
(...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after
1318 }; 1318 };
1319 1319
1320 inline bool operator==(NotificationType::Type a, NotificationType b) { 1320 inline bool operator==(NotificationType::Type a, NotificationType b) {
1321 return a == b.value; 1321 return a == b.value;
1322 } 1322 }
1323 inline bool operator!=(NotificationType::Type a, NotificationType b) { 1323 inline bool operator!=(NotificationType::Type a, NotificationType b) {
1324 return a != b.value; 1324 return a != b.value;
1325 } 1325 }
1326 1326
1327 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ 1327 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/test/render_view_host_browsertest.cc ('k') | chrome/common/render_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698