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

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

Issue 2892393002: Move WebInputMethodControllerImpl to core/exported/ & break dependencies. (Closed)
Patch Set: Rebase. Created 3 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 /* 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 2525 matching lines...) Expand 10 before | Expand all | Expand 10 after
2536 ->ToSingleThreadTaskRunner(); 2536 ->ToSingleThreadTaskRunner();
2537 } 2537 }
2538 2538
2539 base::SingleThreadTaskRunner* WebLocalFrameImpl::UnthrottledTaskRunner() { 2539 base::SingleThreadTaskRunner* WebLocalFrameImpl::UnthrottledTaskRunner() {
2540 return GetFrame() 2540 return GetFrame()
2541 ->FrameScheduler() 2541 ->FrameScheduler()
2542 ->UnthrottledTaskRunner() 2542 ->UnthrottledTaskRunner()
2543 ->ToSingleThreadTaskRunner(); 2543 ->ToSingleThreadTaskRunner();
2544 } 2544 }
2545 2545
2546 WebInputMethodControllerImpl* WebLocalFrameImpl::GetInputMethodController() { 2546 WebInputMethodController* WebLocalFrameImpl::GetInputMethodController() {
2547 return &input_method_controller_; 2547 return &input_method_controller_;
2548 } 2548 }
2549 2549
2550 void WebLocalFrameImpl::ExtractSmartClipData(WebRect rect_in_viewport, 2550 void WebLocalFrameImpl::ExtractSmartClipData(WebRect rect_in_viewport,
2551 WebString& clip_text, 2551 WebString& clip_text,
2552 WebString& clip_html) { 2552 WebString& clip_html) {
2553 SmartClipData clip_data = SmartClip(GetFrame()).DataForRect(rect_in_viewport); 2553 SmartClipData clip_data = SmartClip(GetFrame()).DataForRect(rect_in_viewport);
2554 clip_text = clip_data.ClipData(); 2554 clip_text = clip_data.ClipData();
2555 2555
2556 WebPoint start_point(rect_in_viewport.x, rect_in_viewport.y); 2556 WebPoint start_point(rect_in_viewport.x, rect_in_viewport.y);
(...skipping 25 matching lines...) Expand all
2582 TextCheckerClient& WebLocalFrameImpl::GetTextCheckerClient() const { 2582 TextCheckerClient& WebLocalFrameImpl::GetTextCheckerClient() const {
2583 return *text_checker_client_; 2583 return *text_checker_client_;
2584 } 2584 }
2585 2585
2586 void WebLocalFrameImpl::SetTextCheckClient( 2586 void WebLocalFrameImpl::SetTextCheckClient(
2587 WebTextCheckClient* text_check_client) { 2587 WebTextCheckClient* text_check_client) {
2588 text_check_client_ = text_check_client; 2588 text_check_client_ = text_check_client;
2589 } 2589 }
2590 2590
2591 } // namespace blink 2591 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.h ('k') | third_party/WebKit/Source/web/WebViewFrameWidget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698