mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
- Add developer tools support (issue #127).
- Send title change notifications generated after page content is done loading. - Restore windows and bring to the front in BrowserWebViewDelegate::show(). git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@168 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
27
libcef/browser_devtools_callargs.cc
Normal file
27
libcef/browser_devtools_callargs.cc
Normal file
@@ -0,0 +1,27 @@
|
||||
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "browser_devtools_callargs.h"
|
||||
|
||||
#include "base/logging.h"
|
||||
|
||||
// static
|
||||
int BrowserDevToolsCallArgs::calls_count_ = 0;
|
||||
|
||||
BrowserDevToolsCallArgs::BrowserDevToolsCallArgs(
|
||||
const WebKit::WebString& data)
|
||||
: data_(data) {
|
||||
++calls_count_;
|
||||
}
|
||||
|
||||
BrowserDevToolsCallArgs::BrowserDevToolsCallArgs(
|
||||
const BrowserDevToolsCallArgs& args)
|
||||
: data_(args.data_) {
|
||||
++calls_count_;
|
||||
}
|
||||
|
||||
BrowserDevToolsCallArgs::~BrowserDevToolsCallArgs() {
|
||||
--calls_count_;
|
||||
DCHECK(calls_count_ >= 0);
|
||||
}
|
Reference in New Issue
Block a user