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

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

Issue 2029423003: OOPIF IME: Renderer Side Changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing kenrb@'s comments Created 4 years, 6 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_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 protected: 457 protected:
458 // RenderWidget overrides: 458 // RenderWidget overrides:
459 void CloseForFrame() override; 459 void CloseForFrame() override;
460 void Close() override; 460 void Close() override;
461 void OnResize(const ResizeParams& params) override; 461 void OnResize(const ResizeParams& params) override;
462 void OnSetFocus(bool enable) override; 462 void OnSetFocus(bool enable) override;
463 void OnWasHidden() override; 463 void OnWasHidden() override;
464 void OnWasShown(bool needs_repainting, 464 void OnWasShown(bool needs_repainting,
465 const ui::LatencyInfo& latency_info) override; 465 const ui::LatencyInfo& latency_info) override;
466 GURL GetURLForGraphicsContext3D() override; 466 GURL GetURLForGraphicsContext3D() override;
467 void OnImeSetComposition(
468 const base::string16& text,
469 const std::vector<blink::WebCompositionUnderline>& underlines,
470 const gfx::Range& replacement_range,
471 int selection_start,
472 int selection_end) override;
473 void OnImeConfirmComposition(const base::string16& text,
474 const gfx::Range& replacement_range,
475 bool keep_selection) override;
476 void OnOrientationChange() override; 467 void OnOrientationChange() override;
477 ui::TextInputType GetTextInputType() override;
478 void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) override;
479 void GetCompositionCharacterBounds(
480 std::vector<gfx::Rect>* character_bounds_in_window) override;
481 void GetCompositionRange(gfx::Range* range) override;
482 bool CanComposeInline() override;
483 void DidCommitCompositorFrame() override; 468 void DidCommitCompositorFrame() override;
484 void DidCompletePageScaleAnimation() override; 469 void DidCompletePageScaleAnimation() override;
485 void OnDeviceScaleFactorChanged() override; 470 void OnDeviceScaleFactorChanged() override;
486 void ResizeWebWidget() override; 471 void ResizeWebWidget() override;
487 472
488 RenderViewImpl(CompositorDependencies* compositor_deps, 473 RenderViewImpl(CompositorDependencies* compositor_deps,
489 const ViewMsg_New_Params& params); 474 const ViewMsg_New_Params& params);
490 475
491 void Initialize(const ViewMsg_New_Params& params, 476 void Initialize(const ViewMsg_New_Params& params,
492 bool was_created_by_renderer); 477 bool was_created_by_renderer);
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
969 // use the Observer interface to filter IPC messages and receive frame change 954 // use the Observer interface to filter IPC messages and receive frame change
970 // notifications. 955 // notifications.
971 // --------------------------------------------------------------------------- 956 // ---------------------------------------------------------------------------
972 957
973 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 958 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
974 }; 959 };
975 960
976 } // namespace content 961 } // namespace content
977 962
978 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 963 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698