OLD | NEW |
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 #include "content/browser/frame_host/frame_tree_node.h" | 5 #include "content/browser/frame_host/frame_tree_node.h" |
6 | 6 |
7 #include <queue> | 7 #include <queue> |
8 | 8 |
| 9 #include "base/macros.h" |
9 #include "base/profiler/scoped_tracker.h" | 10 #include "base/profiler/scoped_tracker.h" |
10 #include "base/stl_util.h" | 11 #include "base/stl_util.h" |
11 #include "content/browser/frame_host/frame_tree.h" | 12 #include "content/browser/frame_host/frame_tree.h" |
12 #include "content/browser/frame_host/navigation_request.h" | 13 #include "content/browser/frame_host/navigation_request.h" |
13 #include "content/browser/frame_host/navigator.h" | 14 #include "content/browser/frame_host/navigator.h" |
14 #include "content/browser/frame_host/render_frame_host_impl.h" | 15 #include "content/browser/frame_host/render_frame_host_impl.h" |
15 #include "content/browser/renderer_host/render_view_host_impl.h" | 16 #include "content/browser/renderer_host/render_view_host_impl.h" |
16 #include "content/common/frame_messages.h" | 17 #include "content/common/frame_messages.h" |
17 #include "content/common/site_isolation_policy.h" | 18 #include "content/common/site_isolation_policy.h" |
18 #include "content/public/browser/browser_thread.h" | 19 #include "content/public/browser/browser_thread.h" |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 render_manager_.Stop(); | 391 render_manager_.Stop(); |
391 return true; | 392 return true; |
392 } | 393 } |
393 | 394 |
394 void FrameTreeNode::DidFocus() { | 395 void FrameTreeNode::DidFocus() { |
395 last_focus_time_ = base::TimeTicks::Now(); | 396 last_focus_time_ = base::TimeTicks::Now(); |
396 FOR_EACH_OBSERVER(Observer, observers_, OnFrameTreeNodeFocused(this)); | 397 FOR_EACH_OBSERVER(Observer, observers_, OnFrameTreeNodeFocused(this)); |
397 } | 398 } |
398 | 399 |
399 } // namespace content | 400 } // namespace content |
OLD | NEW |