| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/instant/instant_loader.h" | 5 #include "chrome/browser/instant/instant_loader.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 #include "chrome/common/render_messages.h" | 32 #include "chrome/common/render_messages.h" |
| 33 #include "content/browser/renderer_host/render_view_host.h" | 33 #include "content/browser/renderer_host/render_view_host.h" |
| 34 #include "content/browser/renderer_host/render_widget_host.h" | 34 #include "content/browser/renderer_host/render_widget_host.h" |
| 35 #include "content/browser/renderer_host/render_widget_host_view.h" | 35 #include "content/browser/renderer_host/render_widget_host_view.h" |
| 36 #include "content/browser/tab_contents/navigation_details.h" | 36 #include "content/browser/tab_contents/navigation_details.h" |
| 37 #include "content/browser/tab_contents/navigation_entry.h" | 37 #include "content/browser/tab_contents/navigation_entry.h" |
| 38 #include "content/browser/tab_contents/provisional_load_details.h" | 38 #include "content/browser/tab_contents/provisional_load_details.h" |
| 39 #include "content/browser/tab_contents/tab_contents.h" | 39 #include "content/browser/tab_contents/tab_contents.h" |
| 40 #include "content/browser/tab_contents/tab_contents_delegate.h" | 40 #include "content/browser/tab_contents/tab_contents_delegate.h" |
| 41 #include "content/browser/tab_contents/tab_contents_view.h" | 41 #include "content/browser/tab_contents/tab_contents_view.h" |
| 42 #include "content/common/renderer_preferences.h" | |
| 43 #include "content/public/browser/notification_details.h" | 42 #include "content/public/browser/notification_details.h" |
| 44 #include "content/public/browser/notification_observer.h" | 43 #include "content/public/browser/notification_observer.h" |
| 45 #include "content/public/browser/notification_registrar.h" | 44 #include "content/public/browser/notification_registrar.h" |
| 46 #include "content/public/browser/notification_service.h" | 45 #include "content/public/browser/notification_service.h" |
| 47 #include "content/public/browser/notification_source.h" | 46 #include "content/public/browser/notification_source.h" |
| 48 #include "content/public/browser/notification_types.h" | 47 #include "content/public/browser/notification_types.h" |
| 49 #include "net/http/http_util.h" | 48 #include "net/http/http_util.h" |
| 50 #include "ui/base/l10n/l10n_util.h" | 49 #include "ui/base/l10n/l10n_util.h" |
| 51 #include "ui/gfx/codec/png_codec.h" | 50 #include "ui/gfx/codec/png_codec.h" |
| 52 | 51 |
| (...skipping 1035 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1088 host->Send(new ChromeViewMsg_SearchBoxResize( | 1087 host->Send(new ChromeViewMsg_SearchBoxResize( |
| 1089 host->routing_id(), GetOmniboxBoundsInTermsOfPreview())); | 1088 host->routing_id(), GetOmniboxBoundsInTermsOfPreview())); |
| 1090 } else { | 1089 } else { |
| 1091 host->Send(new ChromeViewMsg_SearchBoxChange( | 1090 host->Send(new ChromeViewMsg_SearchBoxChange( |
| 1092 host->routing_id(), user_text, verbatim, 0, 0)); | 1091 host->routing_id(), user_text, verbatim, 0, 0)); |
| 1093 } | 1092 } |
| 1094 | 1093 |
| 1095 frame_load_observer_.reset(new FrameLoadObserver( | 1094 frame_load_observer_.reset(new FrameLoadObserver( |
| 1096 this, preview_contents()->tab_contents(), user_text, verbatim)); | 1095 this, preview_contents()->tab_contents(), user_text, verbatim)); |
| 1097 } | 1096 } |
| OLD | NEW |