| OLD | NEW |
| 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 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 virtual void Activate() OVERRIDE; | 296 virtual void Activate() OVERRIDE; |
| 297 virtual void Deactivate() OVERRIDE; | 297 virtual void Deactivate() OVERRIDE; |
| 298 virtual void LostCapture() OVERRIDE; | 298 virtual void LostCapture() OVERRIDE; |
| 299 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 299 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 300 bool* is_keyboard_shortcut) OVERRIDE; | 300 bool* is_keyboard_shortcut) OVERRIDE; |
| 301 virtual void HandleKeyboardEvent( | 301 virtual void HandleKeyboardEvent( |
| 302 const NativeWebKeyboardEvent& event) OVERRIDE; | 302 const NativeWebKeyboardEvent& event) OVERRIDE; |
| 303 virtual void HandleMouseDown() OVERRIDE; | 303 virtual void HandleMouseDown() OVERRIDE; |
| 304 virtual void HandleMouseUp() OVERRIDE; | 304 virtual void HandleMouseUp() OVERRIDE; |
| 305 virtual void HandleMouseActivate() OVERRIDE; | 305 virtual void HandleMouseActivate() OVERRIDE; |
| 306 virtual void OnOpenColorChooser(unsigned color_chooser_id, |
| 307 const SkColor& color); |
| 308 virtual void OnEndColorChooser(unsigned color_chooser_id); |
| 309 virtual void OnSetSelectedColorInColorChooser(unsigned color_chooser_id, |
| 310 const SkColor& color); |
| 311 virtual void DidEndColorChooser() OVERRIDE; |
| 306 virtual void RunFileChooser( | 312 virtual void RunFileChooser( |
| 307 RenderViewHost* render_view_host, | 313 RenderViewHost* render_view_host, |
| 308 const content::FileChooserParams& params) OVERRIDE; | 314 const content::FileChooserParams& params) OVERRIDE; |
| 309 virtual void ToggleFullscreenMode(bool enter_fullscreen) OVERRIDE; | 315 virtual void ToggleFullscreenMode(bool enter_fullscreen) OVERRIDE; |
| 310 virtual bool IsFullscreenForCurrentTab() const OVERRIDE; | 316 virtual bool IsFullscreenForCurrentTab() const OVERRIDE; |
| 311 virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE; | 317 virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE; |
| 312 virtual void WebUISend(RenderViewHost* render_view_host, | 318 virtual void WebUISend(RenderViewHost* render_view_host, |
| 313 const GURL& source_url, | 319 const GURL& source_url, |
| 314 const std::string& name, | 320 const std::string& name, |
| 315 const base::ListValue& args) OVERRIDE; | 321 const base::ListValue& args) OVERRIDE; |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 646 // (full-page plugins for now only) permissions. | 652 // (full-page plugins for now only) permissions. |
| 647 int content_restrictions_; | 653 int content_restrictions_; |
| 648 | 654 |
| 649 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. | 655 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. |
| 650 content::ViewType view_type_; | 656 content::ViewType view_type_; |
| 651 | 657 |
| 652 DISALLOW_COPY_AND_ASSIGN(TabContents); | 658 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 653 }; | 659 }; |
| 654 | 660 |
| 655 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 661 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |