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

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

Issue 2863853002: Introduce the class webLocalFrameBase anf make WebLocalFrameImpl derived it. (Closed)
Patch Set: Add WebLocalViewBase.h to the BUILD file. 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 1569 matching lines...) Expand 10 before | Expand all | Expand 10 after
1580 // detached after init() returns. 1580 // detached after init() returns.
1581 frame->Init(); 1581 frame->Init();
1582 return web_frame; 1582 return web_frame;
1583 } 1583 }
1584 1584
1585 WebLocalFrameImpl::WebLocalFrameImpl( 1585 WebLocalFrameImpl::WebLocalFrameImpl(
1586 WebTreeScopeType scope, 1586 WebTreeScopeType scope,
1587 WebFrameClient* client, 1587 WebFrameClient* client,
1588 blink::InterfaceProvider* interface_provider, 1588 blink::InterfaceProvider* interface_provider,
1589 blink::InterfaceRegistry* interface_registry) 1589 blink::InterfaceRegistry* interface_registry)
1590 : WebLocalFrame(scope), 1590 : WebLocalFrameBase(scope),
1591 local_frame_client_impl_(LocalFrameClientImpl::Create(this)), 1591 local_frame_client_impl_(LocalFrameClientImpl::Create(this)),
1592 frame_widget_(0), 1592 frame_widget_(0),
1593 client_(client), 1593 client_(client),
1594 autofill_client_(0), 1594 autofill_client_(0),
1595 input_events_scale_factor_for_emulation_(1), 1595 input_events_scale_factor_for_emulation_(1),
1596 interface_provider_(interface_provider), 1596 interface_provider_(interface_provider),
1597 interface_registry_(interface_registry), 1597 interface_registry_(interface_registry),
1598 web_dev_tools_frontend_(0), 1598 web_dev_tools_frontend_(0),
1599 input_method_controller_(new WebInputMethodControllerImpl(this)), 1599 input_method_controller_(new WebInputMethodControllerImpl(this)),
1600 text_checker_client_(new TextCheckerClientImpl(this)), 1600 text_checker_client_(new TextCheckerClientImpl(this)),
(...skipping 975 matching lines...) Expand 10 before | Expand all | Expand 10 after
2576 TextCheckerClient& WebLocalFrameImpl::GetTextCheckerClient() const { 2576 TextCheckerClient& WebLocalFrameImpl::GetTextCheckerClient() const {
2577 return *text_checker_client_; 2577 return *text_checker_client_;
2578 } 2578 }
2579 2579
2580 void WebLocalFrameImpl::SetTextCheckClient( 2580 void WebLocalFrameImpl::SetTextCheckClient(
2581 WebTextCheckClient* text_check_client) { 2581 WebTextCheckClient* text_check_client) {
2582 text_check_client_ = text_check_client; 2582 text_check_client_ = text_check_client;
2583 } 2583 }
2584 2584
2585 } // namespace blink 2585 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698