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

Side by Side Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp

Issue 2892393002: Move WebInputMethodControllerImpl to core/exported/ & break dependencies. (Closed)
Patch Set: Move WebInputMethodControllerImpl to core/exported/ Created 3 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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 2524 matching lines...) Expand 10 before | Expand all | Expand 10 after
2535 ->ToSingleThreadTaskRunner(); 2535 ->ToSingleThreadTaskRunner();
2536 } 2536 }
2537 2537
2538 base::SingleThreadTaskRunner* WebLocalFrameImpl::UnthrottledTaskRunner() { 2538 base::SingleThreadTaskRunner* WebLocalFrameImpl::UnthrottledTaskRunner() {
2539 return GetFrame() 2539 return GetFrame()
2540 ->FrameScheduler() 2540 ->FrameScheduler()
2541 ->UnthrottledTaskRunner() 2541 ->UnthrottledTaskRunner()
2542 ->ToSingleThreadTaskRunner(); 2542 ->ToSingleThreadTaskRunner();
2543 } 2543 }
2544 2544
2545 WebInputMethodControllerImpl* WebLocalFrameImpl::GetInputMethodController() 2545 WebInputMethodController* WebLocalFrameImpl::GetInputMethodController() const {
2546 const {
2547 return input_method_controller_.get(); 2546 return input_method_controller_.get();
2548 } 2547 }
2549 2548
2550 void WebLocalFrameImpl::ExtractSmartClipData(WebRect rect_in_viewport, 2549 void WebLocalFrameImpl::ExtractSmartClipData(WebRect rect_in_viewport,
2551 WebString& clip_text, 2550 WebString& clip_text,
2552 WebString& clip_html) { 2551 WebString& clip_html) {
2553 SmartClipData clip_data = SmartClip(GetFrame()).DataForRect(rect_in_viewport); 2552 SmartClipData clip_data = SmartClip(GetFrame()).DataForRect(rect_in_viewport);
2554 clip_text = clip_data.ClipData(); 2553 clip_text = clip_data.ClipData();
2555 2554
2556 WebPoint start_point(rect_in_viewport.x, rect_in_viewport.y); 2555 WebPoint start_point(rect_in_viewport.x, rect_in_viewport.y);
(...skipping 25 matching lines...) Expand all
2582 TextCheckerClient& WebLocalFrameImpl::GetTextCheckerClient() const { 2581 TextCheckerClient& WebLocalFrameImpl::GetTextCheckerClient() const {
2583 return *text_checker_client_; 2582 return *text_checker_client_;
2584 } 2583 }
2585 2584
2586 void WebLocalFrameImpl::SetTextCheckClient( 2585 void WebLocalFrameImpl::SetTextCheckClient(
2587 WebTextCheckClient* text_check_client) { 2586 WebTextCheckClient* text_check_client) {
2588 text_check_client_ = text_check_client; 2587 text_check_client_ = text_check_client;
2589 } 2588 }
2590 2589
2591 } // namespace blink 2590 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698