| 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 void SetHasReceivedUserGesture(bool received_previously) override; | 222 void SetHasReceivedUserGesture(bool received_previously) override; |
| 223 | 223 |
| 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 void AnnotatedRegionsChanged() override; |
| 233 |
| 232 private: | 234 private: |
| 233 explicit LocalFrameClientImpl(WebLocalFrameBase*); | 235 explicit LocalFrameClientImpl(WebLocalFrameBase*); |
| 234 | 236 |
| 235 bool IsLocalFrameClientImpl() const override { return true; } | 237 bool IsLocalFrameClientImpl() const override { return true; } |
| 236 WebDevToolsAgentImpl* DevToolsAgent(); | 238 WebDevToolsAgentImpl* DevToolsAgent(); |
| 237 | 239 |
| 238 // The WebFrame that owns this object and manages its lifetime. Therefore, | 240 // The WebFrame that owns this object and manages its lifetime. Therefore, |
| 239 // the web frame object is guaranteed to exist. | 241 // the web frame object is guaranteed to exist. |
| 240 Member<WebLocalFrameBase> web_frame_; | 242 Member<WebLocalFrameBase> web_frame_; |
| 241 | 243 |
| 242 String user_agent_; | 244 String user_agent_; |
| 243 }; | 245 }; |
| 244 | 246 |
| 245 DEFINE_TYPE_CASTS(LocalFrameClientImpl, | 247 DEFINE_TYPE_CASTS(LocalFrameClientImpl, |
| 246 LocalFrameClient, | 248 LocalFrameClient, |
| 247 client, | 249 client, |
| 248 client->IsLocalFrameClientImpl(), | 250 client->IsLocalFrameClientImpl(), |
| 249 client.IsLocalFrameClientImpl()); | 251 client.IsLocalFrameClientImpl()); |
| 250 | 252 |
| 251 } // namespace blink | 253 } // namespace blink |
| 252 | 254 |
| 253 #endif | 255 #endif |
| OLD | NEW |