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

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

Issue 2447143003: Use kRenderClientId command line flag when starting a render process (Closed)
Patch Set: Changes based on comments: removed unnecessary includes; additional checking for in GetClientId() f… 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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 virtual void OnDeviceScaleFactorChanged(); 488 virtual void OnDeviceScaleFactorChanged();
489 489
490 void OnRepaint(gfx::Size size_to_paint); 490 void OnRepaint(gfx::Size size_to_paint);
491 void OnSyntheticGestureCompleted(); 491 void OnSyntheticGestureCompleted();
492 void OnSetTextDirection(blink::WebTextDirection direction); 492 void OnSetTextDirection(blink::WebTextDirection direction);
493 void OnGetFPS(); 493 void OnGetFPS();
494 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, 494 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect,
495 const gfx::Rect& window_screen_rect); 495 const gfx::Rect& window_screen_rect);
496 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); 496 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect);
497 void OnShowImeIfNeeded(); 497 void OnShowImeIfNeeded();
498 void OnSetFrameSinkId(const cc::FrameSinkId& frame_sink_id);
499 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); 498 void OnHandleCompositorProto(const std::vector<uint8_t>& proto);
500 499
501 #if defined(OS_ANDROID) 500 #if defined(OS_ANDROID)
502 // Called when we send IME event that expects an ACK. 501 // Called when we send IME event that expects an ACK.
503 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); 502 void OnImeEventSentForAck(const blink::WebTextInputInfo& info);
504 503
505 // Called by the browser process for every required IME acknowledgement. 504 // Called by the browser process for every required IME acknowledgement.
506 void OnImeEventAck(); 505 void OnImeEventAck();
507 506
508 // Called by the browser process to update text input state. 507 // Called by the browser process to update text input state.
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 // Stores edit commands associated to the next key event. 819 // Stores edit commands associated to the next key event.
821 // Will be cleared as soon as the next key event is processed. 820 // Will be cleared as soon as the next key event is processed.
822 EditCommands edit_commands_; 821 EditCommands edit_commands_;
823 822
824 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 823 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
825 }; 824 };
826 825
827 } // namespace content 826 } // namespace content
828 827
829 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 828 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698