Cheng Zhao
891b7434db
Separate the message parsing into a new function.
2014-07-11 23:03:42 +08:00
Cheng Zhao
e553e11226
Use shortcut way to create scoped_ptr.
2014-07-11 21:55:57 +08:00
Cheng Zhao
1fbeb11371
Send message ack to devtools.
2014-07-09 15:34:10 +08:00
Cheng Zhao
0a7b1fdd87
Add new devtools messages in Chrome 35.
2014-07-09 10:26:01 +08:00
Cheng Zhao
651ebdde65
views: Remember bounds of devtools window.
2014-07-09 10:26:01 +08:00
Cheng Zhao
1722532e6d
No need to remember dock state.
...
All devtools states are remembered by devtools itself now.
2014-07-09 10:24:10 +08:00
Cheng Zhao
2efeaa268f
Place DevTools WebContents underneath inspected WebContents.
...
This commit has this strategy implemented on Mac.
See https://code.google.com/p/chromium/issues/detail?id=318751 .
2014-07-09 10:24:10 +08:00
Adam Roben
5b788476a5
Update for move of string symbols into base::
2014-06-27 11:54:27 -04:00
Cheng Zhao
54060ed53d
Enable delegate to override SaveToFile and AppendToFile.
2014-04-05 09:21:47 +08:00
Cheng Zhao
d2ff5ad798
Provide a way to close devtools completely.
2014-03-20 09:26:21 +08:00
Cheng Zhao
5768ff6981
Enable delegate to change the dock side.
2014-03-04 19:47:33 +08:00
Cheng Zhao
e3aaaf2643
Add InspectableWebContentsDelegate.
2014-03-04 16:26:50 +08:00
Cheng Zhao
b080e5c52d
Rename IsDevToolsOpened to IsDevToolsViewShowing.
2013-12-10 18:38:35 -08:00
Cheng Zhao
de7892cd6e
Add API to get whether the devtools is opened.
2013-12-09 09:03:29 +00:00
Adam Roben
265076f19a
Update for changes to devtools in Chrome 31
...
browser/devtools_embedder_message_dispatcher.* came from
chrome/browser/devtools, and were modified just enough to compile within
brightray.
2013-12-02 13:00:39 -05:00
Adam Roben
d4ad45334f
Turn off build/include_what_you_use
...
Chromium doesn't seem to use this rule.
2013-11-17 18:42:15 -05:00
Adam Roben
784e270a4f
Fix cpplint errors in inspectable_web_contents_impl.cc
2013-11-17 18:08:34 -05:00
Cheng Zhao
f623ddf7fc
Cleanup unused headers, data members and functions.
2013-10-11 07:17:53 -04:00
Cheng Zhao
2cd6dd791e
Setup devtools in the correct phase.
...
* RegisterDevToolsClientHostFor should be called right after the agent_host and
the frontend host are created.
* SetupDevToolsFrontendClient should be called before the devtools window is
going to start navigation.
2013-10-11 07:17:03 -04:00
Cheng Zhao
9d29c8eb7c
Use the "chrome-devtools://" scheme to open devtools.
2013-10-10 16:56:52 -04:00
Adam Roben
8ae459e9fa
Work around http://crbug.com/279472 for devtools views
2013-10-10 14:17:30 -04:00
Adam Roben
aa4f991659
Add DevToolsFrontendHostDelegate indexing methods from Chrome 30
...
See http://src.chromium.org/viewvc/chrome?view=revision&revision=215622 .
2013-10-07 16:31:57 -04:00
Adam Roben
1e99ec9aed
Update #includes for moves of string-related headers
...
See http://src.chromium.org/viewvc/chrome?view=revision&revision=205050 .
2013-10-07 16:31:57 -04:00
Adam Roben
4946ec9081
Update for utf_string_conversions.h move in Chrome 29
2013-08-23 16:56:30 -04:00
Adam Roben
cf14f09228
Stub out InspectableWebContentsViewWin
...
This class doesn't implement any devtools behavior yet. Right now it's just a
glorified wrapper around a content::WebContents. But it's enough to show web
content on screen on Windows!
2013-05-22 16:57:32 -04:00
Adam Roben
12d01e4fd5
ifdef out a bunch of Mac-specific code
...
This is a hacky solution but helps us deal with other compiler/linker errors.
2013-05-22 13:55:56 -04:00
Cheng Zhao
082aa61870
InspectableWebContents should be able to accept existing WebContents.
2013-04-20 13:24:45 +08:00
Adam Roben
80cb76355c
Update to latest libchromiumcontent
...
* vendor/libchromiumcontent b6a0d85...0d607ee (3):
> Stop trying to compile SQLitePersistentCookieStore separately
> Update to latest Chromium trunk revision
> Merge pull request #4 from aroben/atom
2013-04-17 23:27:53 -04:00
Adam Roben
3c513d6ae8
Remember where the dev tools were docked between launches
2013-04-08 13:53:53 -04:00
Adam Roben
c22d1cca79
Support docking the devtools on the right side of the window
2013-03-27 11:20:21 -04:00
Adam Roben
001d0197de
Make the devtools close button work
2013-03-27 11:20:21 -04:00
Adam Roben
d20ecc0e2b
Merge InspectableWebContentsImpl and DevToolsFrontend
...
While this prevents clients from easily implementing their own devtools
windows, it gives us much easier control over the devtools experience.
2013-03-27 11:20:15 -04:00
Adam Roben
b2a79856ef
Add InspectableWebContents
...
This class can be used to create a content::WebContents that can be inspected
by the Chrome Dev Tools. This requires embedding applications to copy
content_shell.pak into their resource bundle.
Right now the dev tools are always docked to the bottom of the view; we don't
yet support undocking or changing the docked side.
Fixes #1 .
2013-03-14 09:05:42 -04:00