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

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

Issue 2854783003: Remove the last references from production code to WebViewImpl. (Closed)
Patch Set: Remove TODO(). 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
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 DCHECK(page_); 324 DCHECK(page_);
325 ProvidePrerendererClientTo( 325 ProvidePrerendererClientTo(
326 *page_, new PrerendererClientImpl(*page_, prerenderer_client)); 326 *page_, new PrerendererClientImpl(*page_, prerenderer_client));
327 } 327 }
328 328
329 void WebViewImpl::SetSpellCheckClient(WebSpellCheckClient* spell_check_client) { 329 void WebViewImpl::SetSpellCheckClient(WebSpellCheckClient* spell_check_client) {
330 spell_check_client_ = spell_check_client; 330 spell_check_client_ = spell_check_client;
331 } 331 }
332 332
333 // static 333 // static
334 HashSet<WebViewImpl*>& WebViewImpl::AllInstances() { 334 HashSet<WebViewBase*>& WebViewBase::AllInstances() {
335 DEFINE_STATIC_LOCAL(HashSet<WebViewImpl*>, all_instances, ()); 335 DEFINE_STATIC_LOCAL(HashSet<WebViewBase*>, all_instances, ());
336 return all_instances; 336 return all_instances;
337 } 337 }
338 338
339 WebViewImpl::WebViewImpl(WebViewClient* client, 339 WebViewImpl::WebViewImpl(WebViewClient* client,
340 WebPageVisibilityState visibility_state) 340 WebPageVisibilityState visibility_state)
341 : client_(client), 341 : client_(client),
342 spell_check_client_(nullptr), 342 spell_check_client_(nullptr),
343 chrome_client_impl_(ChromeClientImpl::Create(this)), 343 chrome_client_impl_(ChromeClientImpl::Create(this)),
344 context_menu_client_impl_(this), 344 context_menu_client_impl_(this),
345 editor_client_impl_(this), 345 editor_client_impl_(this),
(...skipping 3834 matching lines...) Expand 10 before | Expand all | Expand 10 after
4180 if (focused_frame->LocalFrameRoot() != MainFrameImpl()->GetFrame()) 4180 if (focused_frame->LocalFrameRoot() != MainFrameImpl()->GetFrame())
4181 return nullptr; 4181 return nullptr;
4182 return focused_frame; 4182 return focused_frame;
4183 } 4183 }
4184 4184
4185 LocalFrame* WebViewImpl::FocusedLocalFrameAvailableForIme() const { 4185 LocalFrame* WebViewImpl::FocusedLocalFrameAvailableForIme() const {
4186 return ime_accept_events_ ? FocusedLocalFrameInWidget() : nullptr; 4186 return ime_accept_events_ ? FocusedLocalFrameInWidget() : nullptr;
4187 } 4187 }
4188 4188
4189 } // namespace blink 4189 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698