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

Side by Side Diff: chrome/browser/devtools/devtools_window.cc

Issue 1336993002: Straighten up includes of host_desktop.h/host_desktop_type.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@host_desktop_type
Patch Set: Build fixes for Windows and Mac Created 5 years, 3 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/devtools/devtools_window.h" 5 #include "chrome/browser/devtools/devtools_window.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/json/json_reader.h" 10 #include "base/json/json_reader.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 #include "content/public/browser/render_widget_host_view.h" 47 #include "content/public/browser/render_widget_host_view.h"
48 #include "content/public/browser/user_metrics.h" 48 #include "content/public/browser/user_metrics.h"
49 #include "content/public/browser/web_contents.h" 49 #include "content/public/browser/web_contents.h"
50 #include "content/public/common/content_client.h" 50 #include "content/public/common/content_client.h"
51 #include "content/public/common/url_constants.h" 51 #include "content/public/common/url_constants.h"
52 #include "net/base/escape.h" 52 #include "net/base/escape.h"
53 #include "third_party/WebKit/public/web/WebInputEvent.h" 53 #include "third_party/WebKit/public/web/WebInputEvent.h"
54 #include "ui/base/page_transition_types.h" 54 #include "ui/base/page_transition_types.h"
55 #include "ui/events/keycodes/keyboard_code_conversion.h" 55 #include "ui/events/keycodes/keyboard_code_conversion.h"
56 #include "ui/events/keycodes/keyboard_codes.h" 56 #include "ui/events/keycodes/keyboard_codes.h"
57 #include "ui/gfx/host_desktop_type.h"
57 58
58 using base::DictionaryValue; 59 using base::DictionaryValue;
59 using blink::WebInputEvent; 60 using blink::WebInputEvent;
60 using content::BrowserThread; 61 using content::BrowserThread;
61 using content::DevToolsAgentHost; 62 using content::DevToolsAgentHost;
62 using content::WebContents; 63 using content::WebContents;
63 64
64 namespace { 65 namespace {
65 66
66 typedef std::vector<DevToolsWindow*> DevToolsWindows; 67 typedef std::vector<DevToolsWindow*> DevToolsWindows;
(...skipping 1194 matching lines...) Expand 10 before | Expand all | Expand 10 after
1261 bool DevToolsWindow::ForwardKeyboardEvent( 1262 bool DevToolsWindow::ForwardKeyboardEvent(
1262 const content::NativeWebKeyboardEvent& event) { 1263 const content::NativeWebKeyboardEvent& event) {
1263 return event_forwarder_->ForwardEvent(event); 1264 return event_forwarder_->ForwardEvent(event);
1264 } 1265 }
1265 1266
1266 void DevToolsWindow::ReloadInspectedWebContents(bool ignore_cache) { 1267 void DevToolsWindow::ReloadInspectedWebContents(bool ignore_cache) {
1267 base::FundamentalValue ignore_cache_value(ignore_cache); 1268 base::FundamentalValue ignore_cache_value(ignore_cache);
1268 bindings_->CallClientFunction("DevToolsAPI.reloadInspectedPage", 1269 bindings_->CallClientFunction("DevToolsAPI.reloadInspectedPage",
1269 &ignore_cache_value, nullptr, nullptr); 1270 &ignore_cache_value, nullptr, nullptr);
1270 } 1271 }
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/ui/mobile_config_ui.cc ('k') | chrome/browser/devtools/remote_debugging_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698