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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 2641403002: [refactor] - Move IsFocusedElementEditable() and ClearFocusedElement() from RenderViewHost to WebCo… (Closed)
Patch Set: Addressed sky@'s comment Created 3 years, 11 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_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <functional> 10 #include <functional>
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 const blink::WebFindOptions& options) override; 403 const blink::WebFindOptions& options) override;
404 void StopFinding(StopFindAction action) override; 404 void StopFinding(StopFindAction action) override;
405 bool WasRecentlyAudible() override; 405 bool WasRecentlyAudible() override;
406 void GetManifest(const GetManifestCallback& callback) override; 406 void GetManifest(const GetManifestCallback& callback) override;
407 void ExitFullscreen(bool will_cause_resize) override; 407 void ExitFullscreen(bool will_cause_resize) override;
408 void ResumeLoadingCreatedWebContents() override; 408 void ResumeLoadingCreatedWebContents() override;
409 void OnPasswordInputShownOnHttp() override; 409 void OnPasswordInputShownOnHttp() override;
410 void OnAllPasswordInputsHiddenOnHttp() override; 410 void OnAllPasswordInputsHiddenOnHttp() override;
411 void OnCreditCardInputShownOnHttp() override; 411 void OnCreditCardInputShownOnHttp() override;
412 void SetIsOverlayContent(bool is_overlay_content) override; 412 void SetIsOverlayContent(bool is_overlay_content) override;
413 bool IsFocusedElementEditable() override;
414 void ClearFocusedElement() override;
413 415
414 #if defined(OS_ANDROID) 416 #if defined(OS_ANDROID)
415 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override; 417 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override;
416 virtual WebContentsAndroid* GetWebContentsAndroid(); 418 virtual WebContentsAndroid* GetWebContentsAndroid();
417 void ActivateNearestFindResult(float x, float y) override; 419 void ActivateNearestFindResult(float x, float y) override;
418 void RequestFindMatchRects(int current_version) override; 420 void RequestFindMatchRects(int current_version) override;
419 service_manager::InterfaceProvider* GetJavaInterfaces() override; 421 service_manager::InterfaceProvider* GetJavaInterfaces() override;
420 #elif defined(OS_MACOSX) 422 #elif defined(OS_MACOSX)
421 void SetAllowOtherViews(bool allow) override; 423 void SetAllowOtherViews(bool allow) override;
422 bool GetAllowOtherViews() override; 424 bool GetAllowOtherViews() override;
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 SessionStorageNamespace* GetSessionStorageNamespace( 552 SessionStorageNamespace* GetSessionStorageNamespace(
551 SiteInstance* instance) override; 553 SiteInstance* instance) override;
552 SessionStorageNamespaceMap GetSessionStorageNamespaceMap() override; 554 SessionStorageNamespaceMap GetSessionStorageNamespaceMap() override;
553 double GetPendingPageZoomLevel() override; 555 double GetPendingPageZoomLevel() override;
554 FrameTree* GetFrameTree() override; 556 FrameTree* GetFrameTree() override;
555 void SetIsVirtualKeyboardRequested(bool requested) override; 557 void SetIsVirtualKeyboardRequested(bool requested) override;
556 bool IsVirtualKeyboardRequested() override; 558 bool IsVirtualKeyboardRequested() override;
557 bool IsOverridingUserAgent() override; 559 bool IsOverridingUserAgent() override;
558 bool IsJavaScriptDialogShowing() const override; 560 bool IsJavaScriptDialogShowing() const override;
559 bool HideDownloadUI() const override; 561 bool HideDownloadUI() const override;
560 bool IsFocusedElementEditable() override;
561 void ClearFocusedElement() override;
562 562
563 // NavigatorDelegate --------------------------------------------------------- 563 // NavigatorDelegate ---------------------------------------------------------
564 564
565 void DidStartNavigation(NavigationHandle* navigation_handle) override; 565 void DidStartNavigation(NavigationHandle* navigation_handle) override;
566 void DidRedirectNavigation(NavigationHandle* navigation_handle) override; 566 void DidRedirectNavigation(NavigationHandle* navigation_handle) override;
567 void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override; 567 void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override;
568 void DidFinishNavigation(NavigationHandle* navigation_handle) override; 568 void DidFinishNavigation(NavigationHandle* navigation_handle) override;
569 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, 569 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host,
570 const GURL& validated_url, 570 const GURL& validated_url,
571 bool is_error_page) override; 571 bool is_error_page) override;
(...skipping 944 matching lines...) Expand 10 before | Expand all | Expand 10 after
1516 // Adds/removes a callback called on creation of each new WebContents. 1516 // Adds/removes a callback called on creation of each new WebContents.
1517 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1517 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1518 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1518 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1519 1519
1520 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1520 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1521 }; 1521 };
1522 1522
1523 } // namespace content 1523 } // namespace content
1524 1524
1525 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1525 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/public/browser/render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698