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

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

Issue 1129883003: Pass Surface ID namespace to renderer compositors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Improved the way the surface id is passed to renderer Created 5 years, 7 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
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 <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 10
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 virtual void OnImeConfirmComposition(const base::string16& text, 437 virtual void OnImeConfirmComposition(const base::string16& text,
438 const gfx::Range& replacement_range, 438 const gfx::Range& replacement_range,
439 bool keep_selection); 439 bool keep_selection);
440 void OnRepaint(gfx::Size size_to_paint); 440 void OnRepaint(gfx::Size size_to_paint);
441 void OnSyntheticGestureCompleted(); 441 void OnSyntheticGestureCompleted();
442 void OnSetTextDirection(blink::WebTextDirection direction); 442 void OnSetTextDirection(blink::WebTextDirection direction);
443 void OnGetFPS(); 443 void OnGetFPS();
444 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, 444 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect,
445 const gfx::Rect& window_screen_rect); 445 const gfx::Rect& window_screen_rect);
446 void OnShowImeIfNeeded(); 446 void OnShowImeIfNeeded();
447 void OnSetSurfaceIdNamespace(uint32 surface_id_namespace);
nasko 2015/05/13 13:51:25 uint32_t?
kenrb 2015/05/13 19:57:08 Done.
447 448
448 #if defined(OS_ANDROID) 449 #if defined(OS_ANDROID)
449 // Whenever an IME event that needs an acknowledgement is sent to the browser, 450 // Whenever an IME event that needs an acknowledgement is sent to the browser,
450 // the number of outstanding IME events that needs acknowledgement should be 451 // the number of outstanding IME events that needs acknowledgement should be
451 // incremented. All IME events will be dropped until we receive an ack from 452 // incremented. All IME events will be dropped until we receive an ack from
452 // the browser. 453 // the browser.
453 void IncrementOutstandingImeEventAcks(); 454 void IncrementOutstandingImeEventAcks();
454 455
455 // Called by the browser process for every required IME acknowledgement. 456 // Called by the browser process for every required IME acknowledgement.
456 void OnImeEventAck(); 457 void OnImeEventAck();
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 ui::MenuSourceType context_menu_source_type_; 812 ui::MenuSourceType context_menu_source_type_;
812 bool has_host_context_menu_location_; 813 bool has_host_context_menu_location_;
813 gfx::Point host_context_menu_location_; 814 gfx::Point host_context_menu_location_;
814 815
815 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 816 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
816 }; 817 };
817 818
818 } // namespace content 819 } // namespace content
819 820
820 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 821 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698