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

Side by Side Diff: content/renderer/render_widget.h

Issue 2425923003: Replaced is_null() with is_valid in SurfaceId and related classes. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_RENDER_WIDGET_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 // initialized. 498 // initialized.
499 virtual void OnDeviceScaleFactorChanged(); 499 virtual void OnDeviceScaleFactorChanged();
500 500
501 void OnRepaint(gfx::Size size_to_paint); 501 void OnRepaint(gfx::Size size_to_paint);
502 void OnSyntheticGestureCompleted(); 502 void OnSyntheticGestureCompleted();
503 void OnSetTextDirection(blink::WebTextDirection direction); 503 void OnSetTextDirection(blink::WebTextDirection direction);
504 void OnGetFPS(); 504 void OnGetFPS();
505 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, 505 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect,
506 const gfx::Rect& window_screen_rect); 506 const gfx::Rect& window_screen_rect);
507 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); 507 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect);
508 void OnSetFrameSinkId(const cc::FrameSinkId& frame_sink_id);
509 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); 508 void OnHandleCompositorProto(const std::vector<uint8_t>& proto);
510 509
511 #if defined(OS_ANDROID) 510 #if defined(OS_ANDROID)
512 // Called when we send IME event that expects an ACK. 511 // Called when we send IME event that expects an ACK.
513 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); 512 void OnImeEventSentForAck(const blink::WebTextInputInfo& info);
514 513
515 // Called by the browser process for every required IME acknowledgement. 514 // Called by the browser process for every required IME acknowledgement.
516 void OnImeEventAck(); 515 void OnImeEventAck();
517 516
518 // Called by the browser process to update text input state. 517 // Called by the browser process to update text input state.
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
827 // being handled. If the current event results in starting a drag/drop 826 // being handled. If the current event results in starting a drag/drop
828 // session, this info is sent to the browser along with other drag/drop info. 827 // session, this info is sent to the browser along with other drag/drop info.
829 DragEventSourceInfo possible_drag_event_info_; 828 DragEventSourceInfo possible_drag_event_info_;
830 829
831 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 830 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
832 }; 831 };
833 832
834 } // namespace content 833 } // namespace content
835 834
836 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 835 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/android/synchronous_compositor_frame_sink.cc ('k') | content/test/content_browser_test_utils_internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698