| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 void SetDevToolsFrameId(const String& devtools_frame_id) override; | 224 void SetDevToolsFrameId(const String& devtools_frame_id) override; |
| 225 | 225 |
| 226 void AbortClientNavigation() override; | 226 void AbortClientNavigation() override; |
| 227 | 227 |
| 228 TextCheckerClient& GetTextCheckerClient() const override; | 228 TextCheckerClient& GetTextCheckerClient() const override; |
| 229 | 229 |
| 230 std::unique_ptr<WebURLLoader> CreateURLLoader() override; | 230 std::unique_ptr<WebURLLoader> CreateURLLoader() override; |
| 231 | 231 |
| 232 service_manager::InterfaceProvider* GetInterfaceProvider() override; | 232 service_manager::InterfaceProvider* GetInterfaceProvider() override; |
| 233 | 233 |
| 234 void AnnotatedRegionsChanged() override; |
| 235 |
| 234 private: | 236 private: |
| 235 explicit LocalFrameClientImpl(WebLocalFrameBase*); | 237 explicit LocalFrameClientImpl(WebLocalFrameBase*); |
| 236 | 238 |
| 237 bool IsLocalFrameClientImpl() const override { return true; } | 239 bool IsLocalFrameClientImpl() const override { return true; } |
| 238 WebDevToolsAgentImpl* DevToolsAgent(); | 240 WebDevToolsAgentImpl* DevToolsAgent(); |
| 239 | 241 |
| 240 // The WebFrame that owns this object and manages its lifetime. Therefore, | 242 // The WebFrame that owns this object and manages its lifetime. Therefore, |
| 241 // the web frame object is guaranteed to exist. | 243 // the web frame object is guaranteed to exist. |
| 242 Member<WebLocalFrameBase> web_frame_; | 244 Member<WebLocalFrameBase> web_frame_; |
| 243 | 245 |
| 244 String user_agent_; | 246 String user_agent_; |
| 245 }; | 247 }; |
| 246 | 248 |
| 247 DEFINE_TYPE_CASTS(LocalFrameClientImpl, | 249 DEFINE_TYPE_CASTS(LocalFrameClientImpl, |
| 248 LocalFrameClient, | 250 LocalFrameClient, |
| 249 client, | 251 client, |
| 250 client->IsLocalFrameClientImpl(), | 252 client->IsLocalFrameClientImpl(), |
| 251 client.IsLocalFrameClientImpl()); | 253 client.IsLocalFrameClientImpl()); |
| 252 | 254 |
| 253 } // namespace blink | 255 } // namespace blink |
| 254 | 256 |
| 255 #endif | 257 #endif |
| OLD | NEW |