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

Side by Side Diff: content/public/browser/notification_types.h

Issue 8801002: Remove OnMessageReceived that was using internal content IPCs... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « content/browser/tab_contents/tab_contents.cc ('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_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_
6 #define CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ 6 #define CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 // drop operation was received. The source is the RenderViewHost. 350 // drop operation was received. The source is the RenderViewHost.
351 // Note: Used only in testing. 351 // Note: Used only in testing.
352 NOTIFICATION_RENDER_VIEW_HOST_DID_RECEIVE_DRAG_TARGET_DROP_ACK, 352 NOTIFICATION_RENDER_VIEW_HOST_DID_RECEIVE_DRAG_TARGET_DROP_ACK,
353 353
354 // Indicates a RenderWidgetHost has been hidden or restored. The source is 354 // Indicates a RenderWidgetHost has been hidden or restored. The source is
355 // the RWH whose visibility changed, the details is a bool set to true if 355 // the RWH whose visibility changed, the details is a bool set to true if
356 // the new state is "visible." 356 // the new state is "visible."
357 NOTIFICATION_RENDER_WIDGET_VISIBILITY_CHANGED, 357 NOTIFICATION_RENDER_WIDGET_VISIBILITY_CHANGED,
358 358
359 // The focused element inside a page has changed. The source is the 359 // The focused element inside a page has changed. The source is the
360 // TabContents containing the render view host for the page. The details is 360 // RenderViewHost. The details is a Details<const bool> that indicates whether
361 // a Details<const bool> that indicates whether or not an editable node was 361 // or not an editable node was focused.
362 // focused.
363 NOTIFICATION_FOCUS_CHANGED_IN_PAGE, 362 NOTIFICATION_FOCUS_CHANGED_IN_PAGE,
364 363
365 // Notification posted from ExecuteJavascriptInWebFrameNotifyResult. The 364 // Notification posted from ExecuteJavascriptInWebFrameNotifyResult. The
366 // source is the RenderViewHost ExecuteJavascriptInWebFrameNotifyResult was 365 // source is the RenderViewHost ExecuteJavascriptInWebFrameNotifyResult was
367 // invoked on. The details are a std::pair<int, Value*> with the int giving 366 // invoked on. The details are a std::pair<int, Value*> with the int giving
368 // the id returned from ExecuteJavascriptInWebFrameNotifyResult and the 367 // the id returned from ExecuteJavascriptInWebFrameNotifyResult and the
369 // Value the results of the javascript expression. The Value is owned by 368 // Value the results of the javascript expression. The Value is owned by
370 // RenderViewHost and may be a Null Value. 369 // RenderViewHost and may be a Null Value.
371 NOTIFICATION_EXECUTE_JAVASCRIPT_RESULT, 370 NOTIFICATION_EXECUTE_JAVASCRIPT_RESULT,
372 371
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 // of a temporary zoom level change, the details is an empty string. 422 // of a temporary zoom level change, the details is an empty string.
424 NOTIFICATION_ZOOM_LEVEL_CHANGED, 423 NOTIFICATION_ZOOM_LEVEL_CHANGED,
425 424
426 // Custom notifications used by the embedder should start from here. 425 // Custom notifications used by the embedder should start from here.
427 NOTIFICATION_CONTENT_END, 426 NOTIFICATION_CONTENT_END,
428 }; 427 };
429 428
430 } // namespace content 429 } // namespace content
431 430
432 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ 431 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_
OLDNEW
« no previous file with comments | « content/browser/tab_contents/tab_contents.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698