summaryrefslogtreecommitdiffstats
path: root/chrome/browser/web_contents.h
diff options
context:
space:
mode:
authormaruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-15 12:27:03 +0000
committermaruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-15 12:27:03 +0000
commit1eb89e8fbf2d31247f5ceb271d8887a63d4a2bcf (patch)
treeb78be07dbada3ac0f6d2435558e4a6aaba198ffc /chrome/browser/web_contents.h
parentea15e98a9353494df754a11fb49f0e4b8c0d4789 (diff)
downloadchromium_src-1eb89e8fbf2d31247f5ceb271d8887a63d4a2bcf.zip
chromium_src-1eb89e8fbf2d31247f5ceb271d8887a63d4a2bcf.tar.gz
chromium_src-1eb89e8fbf2d31247f5ceb271d8887a63d4a2bcf.tar.bz2
Large patch set (159 files total) to cleanup the includes.
- Slightly reduce the size of the generated .lib files ~3%. - Reduce the number of implicit and explicit atl and windows includes. hooray! - Help incremental build by reducing the number of unnecessary included files. - Split some template class in two, one base class for the common code and the specialization that inherits from the base class. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@937 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/web_contents.h')
-rw-r--r--chrome/browser/web_contents.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/chrome/browser/web_contents.h b/chrome/browser/web_contents.h
index 0ece47b..b61eb70 100644
--- a/chrome/browser/web_contents.h
+++ b/chrome/browser/web_contents.h
@@ -27,13 +27,11 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#ifndef CHROME_BROWSER_WEB_CONTENTS_H__
-#define CHROME_BROWSER_WEB_CONTENTS_H__
+#ifndef CHROME_BROWSER_WEB_CONTENTS_H_
+#define CHROME_BROWSER_WEB_CONTENTS_H_
#include <hash_map>
-#include "base/scoped_handle.h"
-#include "chrome/common/win_util.h"
#include "chrome/browser/fav_icon_helper.h"
#include "chrome/browser/printing/print_view_manager.h"
#include "chrome/browser/render_view_host_delegate.h"
@@ -152,7 +150,7 @@ class WebContents : public TabContents,
void SetDownloadShelfVisible(bool visible);
// Returns the SavePackage which manages the page saving job.
- inline SavePackage* get_save_package() const { return save_package_.get(); }
+ SavePackage* get_save_package() const { return save_package_.get(); }
// Whether or not the info bar is visible. This delegates to
// the ChromeFrame method InfoBarVisibilityChanged.
@@ -822,8 +820,7 @@ class WebContents : public TabContents,
// Non-null if we're displaying content for a web app.
scoped_refptr<WebApp> web_app_;
-
- DISALLOW_EVIL_CONSTRUCTORS(WebContents);
+ DISALLOW_COPY_AND_ASSIGN(WebContents);
};
-#endif // CHROME_BROWSER_WEB_CONTENTS_H__
+#endif // CHROME_BROWSER_WEB_CONTENTS_H_