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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 631013003: Replacing the OVERRIDE with override and FINAL with final in content/browser/frame_host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 }; 86 };
87 // Helper function to determine whether the RFH state should contribute to the 87 // Helper function to determine whether the RFH state should contribute to the
88 // number of active frames of a SiteInstance or not. 88 // number of active frames of a SiteInstance or not.
89 static bool IsRFHStateActive(RenderFrameHostImplState rfh_state); 89 static bool IsRFHStateActive(RenderFrameHostImplState rfh_state);
90 90
91 static RenderFrameHostImpl* FromID(int process_id, int routing_id); 91 static RenderFrameHostImpl* FromID(int process_id, int routing_id);
92 92
93 virtual ~RenderFrameHostImpl(); 93 virtual ~RenderFrameHostImpl();
94 94
95 // RenderFrameHost 95 // RenderFrameHost
96 virtual int GetRoutingID() OVERRIDE; 96 virtual int GetRoutingID() override;
97 virtual SiteInstanceImpl* GetSiteInstance() OVERRIDE; 97 virtual SiteInstanceImpl* GetSiteInstance() override;
98 virtual RenderProcessHost* GetProcess() OVERRIDE; 98 virtual RenderProcessHost* GetProcess() override;
99 virtual RenderFrameHost* GetParent() OVERRIDE; 99 virtual RenderFrameHost* GetParent() override;
100 virtual const std::string& GetFrameName() OVERRIDE; 100 virtual const std::string& GetFrameName() override;
101 virtual bool IsCrossProcessSubframe() OVERRIDE; 101 virtual bool IsCrossProcessSubframe() override;
102 virtual GURL GetLastCommittedURL() OVERRIDE; 102 virtual GURL GetLastCommittedURL() override;
103 virtual gfx::NativeView GetNativeView() OVERRIDE; 103 virtual gfx::NativeView GetNativeView() override;
104 virtual void ExecuteJavaScript( 104 virtual void ExecuteJavaScript(
105 const base::string16& javascript) OVERRIDE; 105 const base::string16& javascript) override;
106 virtual void ExecuteJavaScript( 106 virtual void ExecuteJavaScript(
107 const base::string16& javascript, 107 const base::string16& javascript,
108 const JavaScriptResultCallback& callback) OVERRIDE; 108 const JavaScriptResultCallback& callback) override;
109 virtual void ExecuteJavaScriptForTests( 109 virtual void ExecuteJavaScriptForTests(
110 const base::string16& javascript) OVERRIDE; 110 const base::string16& javascript) override;
111 virtual RenderViewHost* GetRenderViewHost() OVERRIDE; 111 virtual RenderViewHost* GetRenderViewHost() override;
112 virtual ServiceRegistry* GetServiceRegistry() OVERRIDE; 112 virtual ServiceRegistry* GetServiceRegistry() override;
113 113
114 // IPC::Sender 114 // IPC::Sender
115 virtual bool Send(IPC::Message* msg) OVERRIDE; 115 virtual bool Send(IPC::Message* msg) override;
116 116
117 // IPC::Listener 117 // IPC::Listener
118 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 118 virtual bool OnMessageReceived(const IPC::Message& msg) override;
119 119
120 // BrowserAccessibilityDelegate 120 // BrowserAccessibilityDelegate
121 virtual void AccessibilitySetFocus(int acc_obj_id) OVERRIDE; 121 virtual void AccessibilitySetFocus(int acc_obj_id) override;
122 virtual void AccessibilityDoDefaultAction(int acc_obj_id) OVERRIDE; 122 virtual void AccessibilityDoDefaultAction(int acc_obj_id) override;
123 virtual void AccessibilityShowMenu(const gfx::Point& global_point) OVERRIDE; 123 virtual void AccessibilityShowMenu(const gfx::Point& global_point) override;
124 virtual void AccessibilityScrollToMakeVisible( 124 virtual void AccessibilityScrollToMakeVisible(
125 int acc_obj_id, const gfx::Rect& subfocus) OVERRIDE; 125 int acc_obj_id, const gfx::Rect& subfocus) override;
126 virtual void AccessibilityScrollToPoint( 126 virtual void AccessibilityScrollToPoint(
127 int acc_obj_id, const gfx::Point& point) OVERRIDE; 127 int acc_obj_id, const gfx::Point& point) override;
128 virtual void AccessibilitySetTextSelection( 128 virtual void AccessibilitySetTextSelection(
129 int acc_obj_id, int start_offset, int end_offset) OVERRIDE; 129 int acc_obj_id, int start_offset, int end_offset) override;
130 virtual bool AccessibilityViewHasFocus() const OVERRIDE; 130 virtual bool AccessibilityViewHasFocus() const override;
131 virtual gfx::Rect AccessibilityGetViewBounds() const OVERRIDE; 131 virtual gfx::Rect AccessibilityGetViewBounds() const override;
132 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) 132 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds)
133 const OVERRIDE; 133 const override;
134 virtual void AccessibilityHitTest(const gfx::Point& point) OVERRIDE; 134 virtual void AccessibilityHitTest(const gfx::Point& point) override;
135 virtual void AccessibilityFatalError() OVERRIDE; 135 virtual void AccessibilityFatalError() override;
136 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() OVERRIDE; 136 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override;
137 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() 137 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible()
138 OVERRIDE; 138 override;
139 virtual BrowserAccessibilityManager* AccessibilityGetChildFrame( 139 virtual BrowserAccessibilityManager* AccessibilityGetChildFrame(
140 int accessibility_node_id) OVERRIDE; 140 int accessibility_node_id) override;
141 virtual BrowserAccessibility* AccessibilityGetParentFrame() OVERRIDE; 141 virtual BrowserAccessibility* AccessibilityGetParentFrame() override;
142 142
143 // Creates a RenderFrame in the renderer process. Only called for 143 // Creates a RenderFrame in the renderer process. Only called for
144 // cross-process subframe navigations in --site-per-process. 144 // cross-process subframe navigations in --site-per-process.
145 bool CreateRenderFrame(int parent_routing_id); 145 bool CreateRenderFrame(int parent_routing_id);
146 146
147 // Returns whether the RenderFrame in the renderer process has been created 147 // Returns whether the RenderFrame in the renderer process has been created
148 // and still has a connection. This is valid for all frames. 148 // and still has a connection. This is valid for all frames.
149 bool IsRenderFrameLive(); 149 bool IsRenderFrameLive();
150 150
151 // Tracks whether the RenderFrame for this RenderFrameHost has been created in 151 // Tracks whether the RenderFrame for this RenderFrameHost has been created in
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 556
557 // NOTE: This must be the last member. 557 // NOTE: This must be the last member.
558 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 558 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
559 559
560 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 560 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
561 }; 561 };
562 562
563 } // namespace content 563 } // namespace content
564 564
565 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 565 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/popup_menu_helper_mac.h ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698